Skip to content
This repository was archived by the owner on Jul 21, 2023. It is now read-only.

feat: use @noble/hashes instead of node-forge for keys#255

Draft
achingbrain wants to merge 1 commit into
masterfrom
feat/use-noble-hashes-for-pbdkf2
Draft

feat: use @noble/hashes instead of node-forge for keys#255
achingbrain wants to merge 1 commit into
masterfrom
feat/use-noble-hashes-for-pbdkf2

Conversation

@achingbrain
Copy link
Copy Markdown
Member

Use @noble/hashes instead of node-forge for keys

Fixes #205

@BigLep
Copy link
Copy Markdown

BigLep commented Sep 13, 2022

2022-09-13 conversation: we'd prioritize this if it would actually let us get rid of node-forge. If we were to merge it now the bundle size would increase.

@paulmillr
Copy link
Copy Markdown
Contributor

@BigLep

it would actually let us get rid of node-forge

I have just checked and the PR actually throws node-forge out. It is not included.

Can you explain what you mean by bundle size increase?

@ljharb
Copy link
Copy Markdown

ljharb commented May 15, 2023

@paulmillr in that one file, but not out of the entire package, i believe https://github.com/search?q=repo%3Alibp2p%2Fjs-libp2p-crypto%20node-forge&type=code

@paulmillr
Copy link
Copy Markdown
Contributor

@ljharb ah, thought the pr is complete. Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use noble-hashes for pbkdf2, sha, hmac

4 participants