diff options
author | David C. Bradley <david@dbradley771.com> | 2019-08-07 16:14:02 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-07 16:14:02 -0500 |
commit | 399127c43d8b0c846e6c3c8e1c5e08fa3dc2d537 (patch) | |
tree | b30c7fdf0ea25e249988910e7b7ff9fb2e86c444 /README.md | |
parent | Merge pull request #118 from anoadragon453/patch-1 (diff) | |
download | YubiKey-Guide-399127c43d8b0c846e6c3c8e1c5e08fa3dc2d537.tar.gz |
Move output option to earlier in command
The output option dosen't seem to work on Windows when it is at the end of the command. Moving it to earlier in the command fixes this issue.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -666,9 +666,9 @@ $ gpg --armor --export-secret-subkeys $KEYID > $GNUPGHOME/sub.key On Windows, note that using any extension other than `.gpg` or attempting IO redirection to a file will garble the secret key, making it impossible to import it again at a later date: ```console -$ gpg --armor --export-secret-keys $KEYID -o \path\to\dir\mastersub.gpg +$ gpg -o \path\to\dir\mastersub.gpg --armor --export-secret-keys $KEYID -$ gpg --armor --export-secret-subkeys $KEYID -o \path\to\dir\sub.gpg +$ gpg -o \path\to\dir\sub.gpg --armor --export-secret-subkeys $KEYID ``` # Backup @@ -841,7 +841,7 @@ $ gpg --armor --export $KEYID | sudo tee /mnt/public/$KEYID-$(date +%F).txt Windows: ```console -$ gpg --armor --export $KEYID -o \path\to\dir\pubkey.gpg +$ gpg -o \path\to\dir\pubkey.gpg --armor --export $KEYID ``` **Optional** Upload the public key to a [public keyserver](https://debian-administration.org/article/451/Submitting_your_GPG_key_to_a_keyserver): |