You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25-29Lines changed: 25 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -367,16 +367,16 @@ When Subkeys expire, they may still be used to decrypt with GnuPG and authentica
367
367
368
368
Subkeys must be renewed or rotated using the Certify key - see [Updating keys](#updating-keys).
369
369
370
-
Set the expiration date to two years:
370
+
Set the Subkeys expiration to a specific date:
371
371
372
372
```console
373
-
export EXPIRATION=2y
373
+
export EXPIRATION=2027-05-01
374
374
```
375
375
376
-
Or set the expiration date to a specific date to schedule maintenance:
376
+
The expiration date may also be relative, for example set to two years:
377
377
378
378
```console
379
-
export EXPIRATION=2026-05-01
379
+
export EXPIRATION=2y
380
380
```
381
381
382
382
## Passphrase
@@ -444,16 +444,14 @@ An alternative would be to have distinct keys but you would then require multipl
444
444
- if you have different email addresses for professional versus personal use cases, having distinct keys allow you to disassociate the identities
445
445
- if you are also using the YubiKey as a U2F or FIDO2 device, having multiple YubiKeys is generally recommended as a backup measure
446
446
447
-
## Steps
448
-
449
-
Define an array containing additional user IDs. As this is bash syntax, each array element should be surrounded by quotes and each element should be separated by a space:
447
+
Define an array containing additional user IDs. Each array element must be wrapped in quotes and each element must be space-delimited:
Use the following command to generate Signature, Encryption and Authentication Subkeys using the previously configured key type, passphrase and expiration:
477
+
Generate Signature, Encryption and Authentication Subkeys using the previously configured key type, passphrase and expiration:
480
478
481
479
```console
482
480
for SUBKEY in sign encrypt auth ; do \
@@ -496,12 +494,12 @@ gpg -K
496
494
The output will display **[C]ertify, [S]ignature, [E]ncryption and [A]uthentication** keys:
0 commit comments