keybase / keybase/keybase-issues

Cannot update public key

Open
#2,415 7 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

I'm currently having difficulties logging in on the command line on Ubuntu Linux:

```
klee@gonzales:~$ keybase login
Your keybase username or email address: oliverklee
▶ WARNING Skipping expired primary key 0D6E 837E 3CF5 7FE1 E1FC DFA5 10BF A4E2 14FE BC9E
▶ WARNING Skipping expired primary key E056 1231 E431 EF9A BD30 CF8D 33F8 5189 AEB2 6CAA
In order to authorize this installation, keybase needs to sign this installation
with your GPG secret key E23F5ADDCA379BFE.

You have two options.

(1) Keybase can use GPG commands to sign the installation.

(2) Keybase can export your secret key from GPG and save it to keybase's local encrypted
keyring. This way, it can be used in 'keybase pgp sign' and 'keybase pgp decrypt'
going forward.
Which do you prefer?: 1
Enter a public name for this device: gonzales
▶ ERROR Could not open key: no valid primary key self-signature (error 905)
```

If I understood this correctly, this is related to the GPG key on Keybase being expired (I had added one year to the key expiry in the meantime, but not updated it at Keybase). So I logged in to the Keybase web front end and tried to update my GPG key:
1. surf to https://keybase.io/oliverklee
2. click on my key > Edit
3. click on "Update my key (I edited it elsewhere)"
4. copy'n'paste my ASCII-armored public key into the box and click on "Submit"
5. select the option "command line with [bash + GPG + cURL]" (because "in the browser" is "unavailable for you", and "command line with keybase" does not work because I cannot log in to the command line (see above)
6. in "Okay, hardcore mode", copy the command line command
7. paste it in my command line (and ignore the warning about pasting 195.978 characters)
8. press enter
9. enter my GPG passphrase

Error message:
bash: /usr/bin/curl: Die Argumentliste ist zu lang (the argument list is too long)

So I have a catch-22 here: I cannot update my key on keybase because I cannot log in, and I cannot log in because I cannot update my key on keybase.

What can I do? Please help.

Contributor guide

No contributing guide indexed for this repository

Research direction

No repository files or tests are named. Start by reproducing the `keybase login` flow on Ubuntu Linux and the web-generated bash + GPG + cURL update command; done would require resolving the reported expired-key login failure and the command's argument-list error.

Written by the indexing model from the issue text.

Assessment

Tech stack
bash, linux, ubuntu
Domain
authentication, cli, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.