- if defined, enables LAIKA_BOX obfuscation for variables
- new macros (LAIKA_BOX_SKID_START & LAIKA_BOX_SKID_END), become no-ops if LAIKA_OBFUSCATE is undefined
- TODO: use cmake to automate the generation of lboxconfig.h
- laikaP_iterList for iterating over pollList
- laikaS_consumeRead for throwing away padding or otherwise unneeded bytes
in the socket's inbuffer
- incremented minor version
- LAIKAPKT_HANDSHAKE_REQ now only sends the bot's pub key
a shared key is generated using the other peer's pub key,
allowing for fully encrypted packet bodies, (packet ID is
left in plain-text)
- laikaS_startOutPacket(), laikaS_endOutPacket(),
laikaS_startInPacket() & laikaS_endInPacket() have been
added.
- laikaS_setSecure() has been added to turn on/off encrypted packets.
- genKey now generates kx keypairs
- major refactoring for relevant packet handlers
- variadic packets have been temporarily disabled
- keys can now be passed per-build passing -DLAIKA_PUBKEY=[pubkey] & -LAIKA_PRIVKEY=[pubkey] to `cmake -B`
- if those definitions aren't passed, the default public & private key will be used (for quick testing)