ipfs/kubo

secp256k1 key support is missing pem-pkcs8-cleartext import/export

Open

#9912 aperta il 31 mag 2023

Vedi su GitHub
 (6 commenti) (1 reazione) (0 assegnatari)Go (2725 fork)batch import
P2good first issuehelp wantedkind/bug

Metriche repository

Star
 (13.906 star)
Metriche merge PR
 (Merge medio 9g 4h) (27 PR mergiate in 30 g)

Descrizione

Seems https://github.com/ipfs/kubo/pull/9830 was missing a test for --format :)

cc @Jorropo @imthe1

Installation method

built from source

Version

0.20.0-dev

Description

$ ipfs key gen --type=secp256k1 key_secp256k1
$ ipfs key export key_secp256k1 -f pem-pkcs8-cleartext --output key.pem
Error: marshalling key to PKCS8 format: x509: unknown key type while marshaling PKCS#8: *crypto.Secp256k1PrivateKey

Guida contributor