1
0
mirror of https://github.com/CPunch/Laika.git synced 2024-11-10 08:10:04 +00:00
Commit Graph

12 Commits

Author SHA1 Message Date
e3b1cf586b Sanity check to shellS_getPeer, visual improvements 2022-03-21 19:47:18 -05:00
192bf22225 Shell: improved looks, added colored output 2022-03-21 17:47:46 -05:00
30f7ffb73b Added lsodium.c, laikaK_loadKeys, laikaK_genKeys 2022-03-21 15:24:05 -05:00
26a1977609 Fixed Windows Shell detection for shell closing
- updated demo.gif
2022-03-18 17:46:28 -05:00
e2537efb3f Added LAIKA_CNC_IP & LAIKA_CNC_PORT to cmake config 2022-03-15 13:05:11 -05:00
f8ac74881e updated README, minor CMake improvements 2022-02-18 15:26:29 -06:00
574afdda16 Updated README 2022-02-17 18:21:29 -06:00
49a992c70a Added panel-specific packets
- laikaP_iterList for iterating over pollList
- laikaS_consumeRead for throwing away padding or otherwise unneeded bytes
	in the socket's inbuffer
- incremented minor version
2022-02-10 16:56:40 -06:00
dd173ee422 Key exchange refactoring!
- 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
2022-02-03 16:25:49 -06:00
6cab9107bb minor laikaM_rmvarray refactoring, removed 'type' parameter 2022-01-31 15:54:39 -06:00
282516797e Minor lpeer refactoring
- Packets are now dispatched based on a packet function handler map which is passed to laikaS_newPeer()
2022-01-30 19:10:10 -06:00
6fb8aa9b8a Refactored how CMake passes version & settings info
- 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)
2022-01-30 01:15:51 -06:00