client icon indicating copy to clipboard operation
client copied to clipboard

web interface: several problems

Open aanno opened this issue 3 years ago • 3 comments

I have encountered several problems in the web interface, probably related to the fact that my key has expired.

  1. Trying to delete (gpg, probably expired) key: edit -> delete -> delete -> Are you sure? -> Error: {"code":100,"desc":"missing non-optional field kid","fields":{"kid":"missing non-optional field kid"},"name":"INPUT_ERROR"}
  2. Trying to export (gpg, probably expired) key: edit -> export -> passphrase -> Error: 'Error: Failed to get and unlock your private key'
  3. Trying to change password: settings -> account -> new passphrase, old passphrase -> save -> Error: 'Error In Update: no valid primary key self-signature or key(s) have expired'

aanno avatar Apr 05 '22 17:04 aanno

Can you export it via the CLI? keybase pgp export --secret

ad8-bdl avatar Apr 06 '22 07:04 ad8-bdl

It was possible to export the key with

keybase pgp export --secret -o keybase.export 

After that I imported the key into my keyring

gpg --import keybase.export

and then changed the expired date(s) in line with https://superuser.com/questions/813421/can-you-extend-the-expiration-date-of-an-already-expired-gpg-key

$ gpg2 --list-sigs <id> 
pub   rsa2048 2018-06-14 [SC] [verfällt: 2023-04-06]
      <id>
uid        [ unbekannt ] <name_and_email>
sig 3        <id2> 2018-06-14  <name_and_email>
sig 3        <id2> 2022-04-06  <name_and_email>
sub   rsa2048 2018-06-14 [E] [verfällt: 2023-04-06]
sig          <id2> 2022-04-06  <name_and_email>

After that I exported it from keyring with

gpg --export-secret-key -a <id>

In the keybase web interface, it tried to update the key (key -> edit -> update -> (paste key) -> (x) update in browser). However, I get this error: 'Error: Your private key appears corrupted (no valid primary key self-signature or key(s) have expired)'

Hence I not sure if this is a progress...

aanno avatar Apr 06 '22 08:04 aanno

I realize you think this error message means something. I'm getting it but it means absolutely nothing to me.

What am I even supposed to do to fix it?

n4rky avatar Aug 31 '22 08:08 n4rky