Failure to import P-512 ECC keys
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 9.2k
- Forks
- 1.3k
- Avg merge
- 12h 58m
- Merged PRs (30d)
- 56
Description
Error:
▶ ERROR openpgp: unsupported feature: invalid oid length: 9
Example key used:
-----BEGIN PGP PRIVATE KEY BLOCK-----
Version: GnuPG v2
lgAAAQYEVkI7HxMJKyQDAwIIAQENBAMEP6LxOxGClZdyOEMZNRklliZ1wRo9ZyXF
fAFtsFkEe4eLhuOJA2q3jkVFyMJyk/7ZaXLY15WLuDxrnUDW2wF09A2JuNlEW1Oc
5kRmYkg8oTGYA2t4Qu0ELwgiad/lDWeI+1qTPD0hp6X+bSFC9h3/+PxzBJv3FGn2
etdbZYv/dO3+BwMCSmmKAxW2dp3rjJAGZkoiQsiykYMvbmPyEF1zBgb+74q60fex
mCYcuX0WbyjVaOkoOfMVHdH51WhW5wCpni2/C8NQ8iHt/BYGBB8CGInxImCCP+DJ
mbysA4lqfl+vyD0T2UcCOmU7rwYZLKIOit02tBlUZXN0IEtleSA8dGVzdEB0ZXN0
LnRlc3Q+iLkEExMKACEFAlZCOx8CGwMFCwkIBwIGFQgJCgsCBBYCAwECHgECF4AA
CgkQF0L6wsR8pVIsJgH9EXzEyfRMtUYWKibi00e8wAkyKS9/0Zxo5ExAVWv9QR4k
718z5QkMJgBxq33MeeSK+3gPdIqa3WflWNofTXxhTwH7Bbhkqlztqeifqe5/zBJ8
bZNJDSHlfedUz4RURWn8r5nc0oqlzQi8ISfo6kcbuvBDCn5rGeJjUkxkuDhzDzp1
9Z4AAAEKBFZCOx8SCSskAwMCCAEBDQQDBFVlAC1pwM1XHUqPq9GaG61JAfK2jsLM
Bmn3W7+k4uE34jkXrvTA8uaoX4IrMiKRl1Agqib9SaeaGENr3nWByxoC4OrXgrGR
ciFIcMFNeQcbUQmc/X5aKfZ9S2QVB3LCYJZb5fV59v2kAWq2tUAYEkevNd033Pc4
bKztotwTW0TJAwEKCf4HAwLmy/d3wx04huua/i2zcfQmb6d0gLctQRHKQQzyzWZ4
kju1qBE9e4HLXMlA2sWi/XkVzjW2zlhOhYETSSU/P4/VBccyJ4+wKwymdKkXKQRn
sR1loAgugPrzMWesof0AAfspkQmbI9qYBASdp8cXB8aIoQQYEwoACQUCVkI7HwIb
DAAKCRAXQvrCxHylUsdpAf9v/1yGYO6jfa+CNE9w9oZ7kRIO3Sq+6QrBgYTFZcR3
Nfs+EXgOUmZhMjEhOoHJwklW9rzn/pWvChjBH6I4lrY3AfwJUuXKxiJH7UfBWPjP
gSTjbqpwq4lPbT5VtGz+FRajwn9BlCOmnS2e4d7NOKOxpUcYu7GYK5+0W7bdiNbg
CxZM
=ECaI
-----END PGP PRIVATE KEY BLOCK-----
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is identified in the issue. Start by reproducing the import with the provided P-512 private key and trace the Go OpenPGP import path that reports “invalid oid length: 9”; done means the example key imports without that error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cryptography
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100