Skip to content
This repository has been 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
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

achingbrain
Copy link
Member

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

Fixes #205

@BigLep
Copy link

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
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

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
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