ipfs/kubo

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

已关闭

#9,912 创建于 2023年5月31日

 (6 条评论) (1 个反应) (0 位负责人)Go (2,725 个派生)batch import
P2good first issuehelp wantedkind/bug

仓库指标

星标
 (13,906 个星标)
PR 合并指标
 (平均合并 4天 2小时) (30 天内合并 28 个 PR)

描述

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

贡献者指南