From abb352de51bc964c06007fce43ed6f6caea87c15 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Mon, 4 Apr 2016 17:05:50 +0200 Subject: 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 --- doc/gpgv.texi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc') 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 -- cgit v1.2.3