Skip to content

Commit 6011325

Browse files
committed
Don't recommend to export unnecessary and redundant data.
The public key data is contained in the private key data. Using --export-options export-minimal excludes signatures from other persons Thanks to Peter Lebbing for pointing this out.
1 parent beb6a64 commit 6011325

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ Designed to backup ASCII-armored GnuPG and SSH key files and ciphertext.
88
###### Backup
99

1010
```
11-
gpg2 --armor --export "User Name" >key.asc
12-
gpg2 --armor --export-secret-key "User Name" >>key.asc
11+
gpg2 --armor --export-options export-minimal --export-secret-key "User Name" >key.asc
1312
paperbackup.py key.asc
1413
paperrestore.sh key.asc.pdf | diff key.asc -
1514
lpr key.asc.pdf

0 commit comments

Comments
 (0)