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
- Branch
- marcin/eng-2901
- Lint
No Lint Coverage - Unit
No Test Coverage
Event Timeline
native/cpp/CommonCpp/CryptoTools/CryptoModule.cpp | ||
---|---|---|
337 | Should this be an "olm error" + empty string? |
native/cpp/CommonCpp/CryptoTools/CryptoModule.cpp | ||
---|---|---|
337 | 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. |