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

[SDK-3606] Describe the types of key returned by generateRandomKey #1320

Conversation

lawrence-forooghian
Copy link
Collaborator

My understanding of the intended use case of this method is that it allows a user to generate a key which they can then share with other parties through some side channel in order to establish encrypted communication with those parties. Hence, the output of generateRandomKey should not be an opaque value — the user needs to know how to interact with this value so that they can serialise it.

Resolves #1296 (this commit was originally included in #1299, why is why that PR claimed to resolve this issue, but I accidentally dropped this commit from that PR at some point).

My understanding of the intended use case of this method is that it
allows a user to generate a key which they can then share with other
parties through some side channel in order to establish encrypted
communication with those parties. Hence, the output of generateRandomKey
should not be an opaque value — the user needs to know how to interact
with this value so that they can serialise it.

Resolves #1296.
@lawrence-forooghian lawrence-forooghian merged commit 07d8c90 into integration/v2 Jun 12, 2023
@lawrence-forooghian lawrence-forooghian deleted the 1296-document-generateRandomKey-return-type branch June 12, 2023 12:04
@hayleynewton hayleynewton changed the title Describe the types of key returned by generateRandomKey [SDK-3606] Describe the types of key returned by generateRandomKey Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants