1
0
mirror of https://github.com/CPunch/Laika.git synced 2024-11-22 04:50:06 +00:00

Updated Keypairs (markdown)

cpunk 2022-09-20 13:29:38 -05:00
parent e49161bbaa
commit bf2b8374f0

@ -2,8 +2,8 @@ Each build of Laika (cnc, bot && shell) is tied to a 'central keypair.' This key
There is a default keypair used for testing/"first build" purposes. They're defined as There is a default keypair used for testing/"first build" purposes. They're defined as
- LAIKA_PUBKEY : `"40d5534aca77d1f5ec2bbe79dd9d0f52a78148918f95814404cefe97c34c5c27"` - LAIKA_PUBKEY : `40d5534aca77d1f5ec2bbe79dd9d0f52a78148918f95814404cefe97c34c5c27`
- LAIKA_PRIVKEY : `"90305aa77023d1c1e03265c3b6af046eb58d6ec8ba650b0dffed01379feab8cc"` - LAIKA_PRIVKEY : `90305aa77023d1c1e03265c3b6af046eb58d6ec8ba650b0dffed01379feab8cc`
Please do ***NOT*** deploy public-facing cnc servers with these. Since the keys are public in these docs, anyone can trivially connect and deploy commands. Please do ***NOT*** deploy public-facing cnc servers with these. Since the keys are public in these docs, anyone can trivially connect and deploy commands.
@ -35,6 +35,6 @@ $ rm -rf bin build
Now re-build Laika, but passing your keypair to cmake Now re-build Laika, but passing your keypair to cmake
```sh ```sh
$ cmake -B build -DLAIKA_PUBKEY="997d026d1c65deb6c30468525132be4ea44116d6f194c142347b67ee73d18814" -DLAIKA_PRIVKEY="1dbd33962f1e170d1e745c6d3e19175049b5616822fac2fa3535d7477957a841" -DCMAKE_BUILD_TYPE=MinSizeRel &&\ $ cmake -B build -DLAIKA_PUBKEY=997d026d1c65deb6c30468525132be4ea44116d6f194c142347b67ee73d18814 -DLAIKA_PRIVKEY=1dbd33962f1e170d1e745c6d3e19175049b5616822fac2fa3535d7477957a841 -DCMAKE_BUILD_TYPE=MinSizeRel &&\
cmake --build build cmake --build build
``` ```