web interface: several problems
I have encountered several problems in the web interface, probably related to the fact that my key has expired.
- 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"}
- Trying to export (gpg, probably expired) key: edit -> export -> passphrase -> Error: 'Error: Failed to get and unlock your private key'
- 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'
Can you export it via the CLI? keybase pgp export --secret
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...
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?