npm.io
1.0.2 • Published 3 months ago

@ipshipyard/keychain

Licence
Apache-2.0 OR MIT
Version
1.0.2
Deps
6
Size
391 kB
Vulns
0
Weekly
0

@ipshipyard/keychain

codecov CI

Generate and securely store private keys at rest

About

A WebCrypto-first keychain implementation for use with Helia and libp2p.

Configuring additional implementations

ECDSA, Ed25519 and RSA keys are supported out of the box but other schemes are configurable by passing a CryptoLoader that can return Crypto instances.

Install

$ npm i @ipshipyard/keychain

Browser <script> tag

Loading this module through a script tag will make its exports available as IpshipyardKeychain in the global namespace.

<script src="https://unpkg.com/@ipshipyard/keychain/dist/index.min.js"></script>

API Docs

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.