keybase / keybase/keybase-issues
Error when trying to add my private key
- Dominant language
- No language data
- Stars
- 899
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I'm trying to add a private key but I get this error when pasting the key
```
Error: unknown s2k gnu protection mode: 1002
```
Some info:
```
$ keybase version
Client: 1.0.17-20160915160045+02da352
Service: 1.0.17-20160915160045+02da352
$ keybase --version
keybase version 1.0.17-20160915160045+02da352
$ gpg2 --export-secret-key 62A267D40C7BF678 | gpg --list-packets | grep S2K
iter+salt S2K, algo: 7, SHA1 protection, hash: 2, salt: 492e04b4c0427f80
gnu-divert-to-card S2K, algo: 0, simple checksum, hash: 0
gnu-divert-to-card S2K, algo: 0, simple checksum, hash: 0
gnu-divert-to-card S2K, algo: 0, simple checksum, hash: 0
```
The private key is on my Yubikey Neo.
If you need more, let me know.
Regards,
F.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the import with the supplied gpg2 export and packet-inspection commands, then compare the reported GNU S2K protection mode with the formats the client accepts. Trace the private-key import path that emits “unknown s2k gnu protection mode: 1002,” including the YubiKey-backed case. Done means the key imports successfully or the compatibility limitation is documented with a confirmed cause.
Written by the indexing model from the issue text.
Assessment
- Domain
- cryptography, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100