keybase / keybase/keybase-issues

Better messaging for multiple primary keys

Open
#136 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
899
Forks
40
PR merge metrics
No merged PRs in 30d

Description

When uploading a public key, the suggested command, "gpg --armor --export you@site.com", will generate multiple keys for some users. If you paste in the result, Keybase says:

"Whoa: Error: cannot have 2 primary keys"

Instead the error should provide guidance on how to fix, e.g.:

"Whoa: Error: cannot have 2 primary keys. To export just one, try `gpg -K; gpg --armor --export ABCD1234'"

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is named. Start by locating the code that emits the “cannot have 2 primary keys” message and inspect how public-key upload errors are tested. Done means the error explains how to identify one key and export it, with coverage for the multiple-primary-key case.

Written by the indexing model from the issue text.

Assessment

Domain
cryptography
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.