derecalliance / cryptography

cryptography primitives (secret sharing, secure channel) for implementing the DeRec protocol
Apache License 2.0
6 stars 0 forks source link

Encrypt, Decrypt, Sign, and Verify functionality not supported #25

Closed diptimahamuni closed 4 months ago

diptimahamuni commented 4 months ago

For pairing messages, we need the functionality to encrypt, decrypt, sign, and verify separately. Without implementation of these functions, a library would not be able to support pairing.

For the Pair Request message, the receiver needs to decrypt (but not verify initially) then parse the message, and then verify using the signature in the decrypted message. The cryptography library should provide separate decrypt() and verify() functions. Additionally, sign() and encrypt() functions would be needed as well.

rsinha commented 4 months ago

Closed by https://github.com/derecalliance/cryptography/pull/27