-
Notifications
You must be signed in to change notification settings - Fork 8
node.forge and crypto #7
Comments
Yes, please always augment libp2p-crypto first rather than importing other crypto libraries. |
@diasdavid Rolling our own crypto is not recommened. libp2p-crypto should be a wrapper around crypto primitives. That said, PKCS 7 and 8 are not primitives and I agree with you. |
It is what it is currently and I'm just encouraging to continue to be just that. |
Keychain needs the following from a
It would be nice to have support for DSA, ECDSA, ed25519 key types. |
@diasdavid I've searched npmjs and only found two packages that support PKCS 8 with a password; jsrsasign and node-forge. "extracting PKCS 8 code" to add to |
|
node-forge is being used because it supports PKCS 7 and 8. One major drawback is that it only uses RSA private keys.
libp2p-crypto
should be enhanced to support PKCS 8 (encrypted private keys).The text was updated successfully, but these errors were encountered: