GnuPG: Extend Expire Key: Difference between revisions

From OnnoCenterWiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 7: Line 7:
  gpg --list-secret-keys
  gpg --list-secret-keys


Note your key ID (after the slash).
Note your key ID (after the slash).
* Start editing the key with
* Start editing the key with



Revision as of 12:35, 24 June 2022

Sumber: https://makandracards.com/makandra-orga/13644-what-to-do-when-your-gpg-pgp-key-expires


Suggested way: Extend your key expiry

  • Find the ID of the expiring key, e.g. with
gpg --list-secret-keys

Note your key ID (after the slash).

  • Start editing the key with
gpg --edit-key KEY_ID
  • View your selected key and subkeys with
list
  • Select the primary key with key
0
  • Interactively select a new expiry with expire. You'll probably have to unlock your key with its passphrase.
  • Select the primary subkey with key 1 and repeat step 5.
  • Inspect the resulting expiries with list.
  • Issue a save when you're done.
  • Publish your updated key (as described previously), e.g. gpg --keyserver keyserver.ubuntu.com --send-keys KEY_ID
  • commit your key as fallback to keys.makandra.de (see here)