ipfs/kubo

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

クローズ

#9,912 opened on 2023/05/31

 (6 件のコメント) (1 件のリアクション) (0 人の担当者)Go (2,725 件のフォーク)batch import
P2good first issuehelp wantedkind/bug

Repository metrics

Stars
 (13,906 個のスター)
PR merge metrics
 (平均マージ 4d 2h) (30d で 28 merged PRs)

説明

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

コントリビューターガイド