Skip to content

feat!: keychain and configurable crypto#1041

Draft
achingbrain wants to merge 3 commits into
mainfrom
feat/configurable-crypto
Draft

feat!: keychain and configurable crypto#1041
achingbrain wants to merge 3 commits into
mainfrom
feat/configurable-crypto

Conversation

@achingbrain
Copy link
Copy Markdown
Member

Adds a configuration option to allow dynamically loading crypto implementations on-demand.

Ships with only webcrypto-supported crypto implementations (e.g. Ed25519, RSA), anything else (e.g. secp256k1, ECDSA) must be configured separately.

Imports ipns code into @helia/ipns for ease of maintenance.

Removes @libp2p/keychain dep and adds a .keychain property to Helia for securely storing private keys.

BREAKING CHANGE: secp256k1 and ECDSA support have been removed from the default bundle, they must now be configured separately

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation if necessary (this includes comments as well)
  • I have added tests that prove my fix is effective or that my feature works

Adds a configuration option to allow dynamically loading crypto
implementations on-demand.

Ships with only webcrypto-supported crypto implementations (e.g.
`Ed25519`, `RSA`), anything else (e.g. `secp256k1`, `ECDSA`) must
be configured separately.

BREAKING CHANGE: `secp256k1` and `ECDSA` support have been removed from the default bundle, they must now be configured separately
@achingbrain achingbrain changed the title feat!: configurable crypto and keychain feat!: keychain and configurable crypto May 15, 2026
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.

1 participant