Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

at_c: replace md5checksum implemented for pubKeyCS #424

Open
murali-shris opened this issue Oct 14, 2024 · 0 comments
Open

at_c: replace md5checksum implemented for pubKeyCS #424

murali-shris opened this issue Oct 14, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@murali-shris
Copy link
Member

Is your feature request related to a problem? Please describe.

metadata.pubKeyCS used md5 checksum which is outdated.
Replace md5 with sha512 and replace pubKeyCS with pubKeyHash

Describe the solution you'd like

  • When a key is shared, replace the call to generate md5 checksum of sharedWith public key. set medata.pubKeyHash
  • during decryption, verify whether currentAtSignPublicKey's checksum is same as medata.pubKeyHash. Add backward compatibility if pubKeyCS is set using md5 for old data.

Describe alternatives you've considered

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants