Difference between revisions of "GnuPG: Extend Expire Key"
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
| Onnowpurbo (talk | contribs)  (Created page with "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....") | Onnowpurbo (talk | contribs)  | ||
| (2 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
| Suggested way: Extend your key expiry | Suggested way: Extend your key expiry | ||
| − | * Find the ID of the expiring key, e.g. with gpg --list-secret-keys | + | * Find the ID of the expiring key, e.g. with | 
| − | * Start editing the key with gpg --edit-key KEY_ID | + | |
| − | * View your selected key and subkeys with list | + |  gpg --list-secret-keys | 
| − | * Select the primary key with key 0 | + | |
| − | * Interactively select a new expiry with expire | + | 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. | ||
Latest revision as of 19:42, 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.