From b1c25809fa4bf429b721dda8ccc4aef2e81d874d Mon Sep 17 00:00:00 2001 From: cpunk Date: Tue, 20 Sep 2022 01:08:53 -0500 Subject: [PATCH] Updated CNC setup (markdown) --- CNC-setup.md | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/CNC-setup.md b/CNC-setup.md index f1b2c12..7e39a55 100644 --- a/CNC-setup.md +++ b/CNC-setup.md @@ -1,20 +1,4 @@ While testing, sometimes it's nice to try it in a more 'real' environment (or you're using this project for red-teaming). Before deploying the default LaikaCNC target to a public-facing VPS, we'll need to make some changes. -## Generating a keypair - -Generate a keypair using the `./bin/genKey` binary. Just run it like: - -```sh -$ ./bin/genKey -``` -> Make sure you've previously [compiled the project](Compiling) - -These keypairs will then need to be passed back to cmake, you'll need to re-build the whole target using these keys. This looks something like: - -```sh -$ rm -rf bin build &&\ - cmake -B build -DLAIKA_PUBKEY=997d026d1c65deb6c30468525132be4ea44116d6f194c142347b67ee73d18814 -DLAIKA_PRIVKEY=1dbd33962f1e170d1e745c6d3e19175049b5616822fac2fa3535d7477957a841 -DCMAKE_BUILD_TYPE=MinSizeRel &&\ - cmake --build build -``` - -## Update the keys in server.ini & shell.ini \ No newline at end of file +- [generate a build with a keypair](Keypairs) +- update the keys in server.ini & shell.ini \ No newline at end of file