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

SecureContext serializaition/deserialization #5

Open
syakunin opened this issue Oct 7, 2021 · 0 comments
Open

SecureContext serializaition/deserialization #5

syakunin opened this issue Oct 7, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@syakunin
Copy link
Collaborator

syakunin commented Oct 7, 2021

SecureContext can be serialized/deserialized for future use. For example, a user might want to do a backup of SecureContext in case of application crash or user wants to restore SecureContext on another device.

  1. SecureContext must be serialized with symmetric encryption (AES-GCM). Encryption key is optional and may be provided to the serialization function or if not passed then the function will generate one and return it with encrypted data.
  2. Encrypted data will be deserialized by using provided encryption key and restore the SecureContext in-memory.
@syakunin syakunin added the enhancement New feature or request label Dec 3, 2021
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

1 participant