firepear / petrel

It's like SQLite, but for networking
MIT License
20 stars 1 forks source link

Add HMAC support #46

Closed firepear closed 8 years ago

firepear commented 8 years ago

Petrel should have optional HMAC support. This, along with message length limits, will complete the planned security features.

firepear commented 8 years ago

This may require some parallelism in the networking code. It might be too messy to handle as if statements. Since netcode is getting refactored on this pass anyway, it's not a big deal no matter which way things go.

firepear commented 8 years ago

Things are pretty clean now that network reads/writes are consolidated and isolated.

HMAC implementations are in for both reads and writes. Just need to do some testing now.

firepear commented 8 years ago

Tested and done.