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

Uses native crypto APIs #276

Merged
merged 3 commits into from
May 19, 2022
Merged

Uses native crypto APIs #276

merged 3 commits into from
May 19, 2022

Conversation

camsjams
Copy link
Contributor

Fixes #264

Uses native crypto module in Node and native crypto/SubtleCrypto in web browser. The advantage here aside from performance would be using native tools built into environment with more strict security and maintenance routines.

The encrypt and decrypt functions in keystore are now asynchronous (they were not before).

Noting that wallet-manager already used these functions as Promises.

@camsjams camsjams self-assigned this May 16, 2022
@camsjams camsjams changed the title Feature/issue 264 Uses native crypto APIs May 16, 2022
Copy link
Member

@luizstacio luizstacio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. One question only

@adlerjohn adlerjohn requested a review from luizstacio May 18, 2022 19:30
@camsjams camsjams merged commit 6c8ce48 into master May 19, 2022
@camsjams camsjams deleted the feature/issue-264 branch May 19, 2022 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Remove AES-js and use native crypto libs on browser and node
2 participants