You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to publish a IPNS record using a ed25519 key after seeing that support for ed25519 and secp256k1 keys was added here. I know that peer-id has to be changed to account for different key types, but I still decided to give it a try.
After trying, I concluded that js-ipfs calls crypto.keys.import and fails because the import method assumes only RSA keys.
I can make a PR that adds support for ed25519 and secp256k1 keys by first extracting the private key info stored in the pem and react accordingly.
Hello!
I was trying to publish a IPNS record using a
ed25519key after seeing that support fored25519andsecp256k1keys was added here. I know that peer-id has to be changed to account for different key types, but I still decided to give it a try.After trying, I concluded that
js-ipfscallscrypto.keys.importand fails because the import method assumes only RSA keys.I can make a PR that adds support for
ed25519andsecp256k1keys by first extracting the private key info stored in the pem and react accordingly.