diff options
author | Justus Winter <justus@g10code.com> | 2016-04-04 17:05:50 +0200 |
---|---|---|
committer | Justus Winter <justus@g10code.com> | 2016-04-04 17:53:03 +0200 |
commit | abb352de51bc964c06007fce43ed6f6caea87c15 (patch) | |
tree | 2086813d191c3387e1cf295adcfa7a85ae0a261d /doc/gpgv.texi | |
parent | tests: Fix default key test. (diff) | |
download | gnupg2-abb352de51bc964c06007fce43ed6f6caea87c15.tar.xz gnupg2-abb352de51bc964c06007fce43ed6f6caea87c15.zip |
g10: Support armored keyrings in gpgv.
* doc/gpgv.texi: Document the feature.
* g10/Makefile.am (gpgv2_SOURCES): Add dearmor.c.
* g10/dearmor.c (dearmor_file): Add sink argument.
* g10/gpg.c (main): Adapt accordingly.
* g10/gpgv.c (make_temp_dir): New function.
(main): De-armor keyrings.
* g10/main.h (dearmor_file): Adapt prototype.
GnuPG-bug-id: 2290
Signed-off-by: Justus Winter <justus@g10code.com>
Diffstat (limited to 'doc/gpgv.texi')
-rw-r--r-- | doc/gpgv.texi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/gpgv.texi b/doc/gpgv.texi index 280966bf8..fcaffbc39 100644 --- a/doc/gpgv.texi +++ b/doc/gpgv.texi @@ -100,6 +100,9 @@ are replaced by the HOME directory. If the filename does not contain a slash, it is assumed to be in the home-directory ("~/.gnupg" if --homedir is not used). +If @var{file} ends in @code{.asc} then it is assumed to be an armored +keyring produced e.g. by @code{gpg --export}. + @item --status-fd @var{n} @opindex status-fd Write special status strings to the file descriptor @var{n}. See the |