arades79 / hyperdome

the safest place to reach out
Other
27 stars 1 forks source link

Chat e2 ee #65

Closed arades79 closed 4 years ago

arades79 commented 4 years ago

Summary

This PR adds end-to-end encryption of chat messages using a signal-like protocol, utilizing ephemeral X448 key exchanges per chat session, with hash-based key rotation for unique symmetric keys on every message. Symmetric encryption is handled by Fernet, which uses AES 128 CBC with HMACs for strong authenticated encryption of messages.

This PR fixes issue #64

This PR also introduces methods for producing and signing with Ed448 keys targeted for use in authenticating counselors without passwords sometime in the future.

Checklist