This differential implements method to sign a message using private ed25519 key of an olm account. Counterpart method to verify signature is implemented as well
Details
Details
- Reviewers
tomek atul bartek kamil - Commits
- rCOMMa91b1a96bd3e: Implement method to sign message
In CommCoreModule call this method on cryptoModule attribute on some data. Copy returned signature. Pass this signatur back to verify method, ensure app does not crash.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
native/cpp/CommonCpp/CryptoTools/CryptoModule.cpp | ||
---|---|---|
337 ↗ | (On Diff #22874) | Should this be an "olm error" + empty string? |
native/cpp/CommonCpp/CryptoTools/CryptoModule.cpp | ||
---|---|---|
337 ↗ | (On Diff #22874) | Thanks for catching! This is definitely a mistake, we should extract last error from utility object as we do from account in signMessage method. I will change it. |