keybase / client

Keybase Go Library, Client, Service, OS X, iOS, Android, Electron
BSD 3-Clause "New" or "Revised" License
8.88k stars 1.23k forks source link

Unable to pull PGP private key: Can't get TLF private key for key generation 2 #15103

Open call-a3 opened 5 years ago

call-a3 commented 5 years ago
keybase pgp pull-private --all
PLEASE READ THIS CAREFULLY -- PRIVATE KEYS ARE AT STAKE!

  This command will import PGP private keys from KBFS
  (found in .keys/pgp), and export them to the local GnuPG keychain. They might have been
  put there via keybase pgp push-private. After this
  operation, these keys will be available for local GnuPG operations.

Really pull your PGP private key from KBFS? (type 'YES' to confirm): YES
▶ ERROR Can't get TLF private key for key generation 2
maxtaco commented 5 years ago

Cc @strib

strib commented 5 years ago

@call-a3 please run keybase log send and report the resulting log ID here so we can take a look.

call-a3 commented 5 years ago

Log id: c120eb9676839ba375b9081c

strib commented 5 years ago

Thanks. Looks like you're getting fed stale info from a cache, which makes it look like the folder hasn't been rekeyed for your new device yet, even though it has. This will be fixed in a release coming out later this week. In the meantime, you can force it to refresh by doing this:

Let me know if that fixes things for you.

alexindigo commented 5 years ago

I'm seeing something similar:

$ keybase pgp pull-private --all
PLEASE READ THIS CAREFULLY -- PRIVATE KEYS ARE AT STAKE!

  This command will import PGP private keys from KBFS
  (found in .keys/pgp), and export them to the local GnuPG keychain. They might have been
  put there via keybase pgp push-private. After this
  operation, these keys will be available for local GnuPG operations.

Really pull your PGP private key from KBFS? (type 'YES' to confirm): YES
▶ ERROR admit-define doesn't exist