keybase / keybase/client

PGP key import error: 'no valid primary key self-signature'

Open
#24,222 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
9.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

Hi all,

I'm running the latest version of Mac OS and am repeatedly getting this error when I try to import my PGP key via terminal command "keybase pgp select."

▶ ERROR key generation error: no valid primary key self-signature or key(s) have expired (Signature failure in packet 1: rejecting insecure hash SHA1 (**[REDACTED KEY]**)) (error 905)

(Yes, I redacted my key above. That's not actually in the message.)
Anybody else having this issue? PGP import used to work for me, but then I got a new email address and needed to change it. Now I can't import it at all.

Thanks!

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure on macOS using the terminal command `keybase pgp select` and capture the reported primary-key self-signature and SHA1 errors. Check the issue's behavior when importing a PGP key after changing its email address; done means identifying a reproducible cause and restoring or clearly documenting successful import behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos
Domain
cryptography, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.