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 01:16:27 -05:00
parent 26085e97f8
commit d9041b03d8

@ -1,5 +1,12 @@
Each build of Laika (cnc, bot && shell) is tied to a 'central keypair.' This keypair is used by the cnc server to authenticate themselves with each bot. The keypair is defined as a macro in `lib/include/lconfig.h.in`.
There is a default keypair used for testing/"first build" purposes. They're defined as
- LAIKA_PUBKEY : `"40d5534aca77d1f5ec2bbe79dd9d0f52a78148918f95814404cefe97c34c5c27"`
- LAIKA_PRIVKEY : `"90305aa77023d1c1e03265c3b6af046eb58d6ec8ba650b0dffed01379feab8cc"`
Please do ***NOT*** deploy public-facing cnc server's with these. Since the keys are public in these docs, anyone can trivially connect and deploy commands.
## Generating keypairs
[After compiling the target](Compiling), an output binary called `genKey` will be produced. This is a simple wrapper for libsodium to generate [keypairs](https://doc.libsodium.org/key_exchange/).