diff options
author | Werner Koch <[email protected]> | 2017-01-23 09:12:18 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2017-01-23 09:13:26 +0000 |
commit | 953d4ec6afd1b42feb7465ee57e48d72f033019a (patch) | |
tree | e780e1c959be23492920d65b2ad76f1b4b2574b8 /doc/gpg.texi | |
parent | scd: Fix INTERRUPT transfer. (diff) | |
download | gnupg-953d4ec6afd1b42feb7465ee57e48d72f033019a.tar.gz gnupg-953d4ec6afd1b42feb7465ee57e48d72f033019a.zip |
gpg: New export and import options "backup" and "restore".
* g10/export.c (parse_export_options): Add "backup" and its alias
"export-backup".
(do_export_one_keyblock): Export ring trust packets in backup mode.
* g10/import.c (parse_import_options): Add "restore" and its alias
"import-restore".
(read_block): Import ring trust packets.
--
These options are intended to, well, backup and restore keys between
GnuPG implementations. These options may eventually be enhanced to
backup and restore all public key related information.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | doc/gpg.texi | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi index 044ba3761..8e1a5e6fc 100644 --- a/doc/gpg.texi +++ b/doc/gpg.texi @@ -2283,6 +2283,12 @@ opposite meaning. The options are: the most recent self-signature on each user ID. This option is the same as running the @option{--edit-key} command "minimize" after import. Defaults to no. + + @item restore + @itemx import-restore + Import in key restore mode. This imports all data which is usually + skipped during import; including all GnuPG specific data. All other + contradicting options are overridden. @end table @item --import-filter @code{@var{name}=@var{expr}} @@ -2393,6 +2399,13 @@ opposite meaning. The options are: @c when the exported subkey is to be used on an unattended machine where @c a passphrase doesn't necessarily make sense. Defaults to no. + @item backup + @itemx export-backup + Export for use as a backup. The exported data includes all data + which is needed to restore the key or keys later with GnuPG. The + format is basically the OpenPGP format but enhanced with GnuPG + specific data. All other contradicting options are overridden. + @item export-clean Compact (remove all signatures from) user IDs on the key being exported if the user IDs are not usable. Also, do not export any |