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

Remove internal, unused RandomBuffer #1593

Merged
merged 3 commits into from Feb 9, 2023

Conversation

larabr
Copy link
Collaborator

@larabr larabr commented Feb 8, 2023

Used for secure randomness generation before crypto.getRandomValues was made available to WebWorkers, requiring generating randomness in the main thread.

As a result of the change, the internal getRandomBytes() and some functions that use it are no longer async.
The changes do not affect the public API.

Used for secure randomness generation before `crypto.getRandomValues`
was made available to WebWorkers, requiring generating randomness in the main thread.
@larabr larabr requested a review from twiss February 8, 2023 14:36
@larabr larabr merged commit 126ab53 into openpgpjs:main Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants