bc4f71dd66ef5c8bf5d83c588d582b65882f9204
Tech/GnuPGKeyManagement.md
| ... | ... | @@ -624,8 +624,8 @@ Export only one subkey (e.g. to a mobile device). |
| 624 | 624 | # export public key, secret sub encrypt as a file |
| 625 | 625 | gpg -a --export $MASTER_KEY_ID > master.pub |
| 626 | 626 | |
| 627 | -# export enc subkey as a file encrypted with an OTP |
|
| 628 | -gpg -a --export-secret-subkeys $SIGNING_SUBKEY_ID | gpg --armor --symmetric --output encryption-subkey.asc |
|
| 627 | +# export subkeys as a file encrypted with an OTP |
|
| 628 | +gpg -a --export-secret-subkeys $SIGNING_SUBKEY_ID $ENCRYPTION_SUBKEY_ID | gpg --armor --symmetric --output mobile-subkeys.asc |
|
| 629 | 629 | ``` |
| 630 | 630 | |
| 631 | 631 | * transfer to device |