-
Notifications
You must be signed in to change notification settings - Fork 6
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
add js-waku encryption guide #145
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
}; | ||
``` | ||
|
||
## Restoring encryption keys |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure this is necessary//useful.
However, do feel free to use https://github.com/waku-org/js-waku-examples/tree/master/examples/eth-pm/src/key_pair_handling as an example on how to save/restore key information from local storage using proper security (Subtle Crypto)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added the key_pair_handling
example, but I still think the bytesToHex
and hexToBytes
examples are helpful for some key exporting use cases. Let me know what you think about the update
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left one comment, otherwise looks great to me!
Tackles some of the tasks in #125
preview: https://docs-waku-org-git-js-encryption-acidinfo.vercel.app/guides/js-waku/message-encryption
pending:
verifySignature()