ymarcus93 / gallisto

A Go implementation of the Callisto protocol
ISC License
5 stars 0 forks source link

Use libsodium's defined asymmetric encryption scheme instead of RSA #22

Open ymarcus93 opened 4 years ago

ymarcus93 commented 4 years ago

Currently, we use the RSA library provided by the standard library in Go. However, the Callisto paper mentions using libsodium for doing asymmetric encryption with the DLOCs and LOCs. Details of the scheme used can be found here: https://libsodium.gitbook.io/doc/public-key_cryptography/authenticated_encryption

Transitioning to this scheme would require instantiating a public DH value for the client, as well as the DLOCs and LOCs.

ymarcus93 commented 4 years ago

Alternatively, use the sealed box approach so that Client does not need to manage private DH secrets