derecalliance / cryptography

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

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

Closed diptimahamuni closed 1 month ago

diptimahamuni commented 1 month 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 1 month ago

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