Mailing List Archive

[PATCH v2] g10: be --quiet about weak digests & rejected third-party key signatures
Let --quiet hide the output about weak digests and rejected third-party
key signatures.
gpg: Note: third-party key signatures using the %s algorithm are rejected
Note: signatures using the %s algorithm are rejected

This does not change actual behavior, it just omits the notes instead.
This is primarily intended to be used in automation.

Signed-off-by: Robin H. Johnson <>
g10/misc.c | 2 ++
1 file changed, 2 insertions(+)

diff --git g10/misc.c g10/misc.c
index 22ed47e7c..d46fa90b2 100644
--- g10/misc.c
+++ g10/misc.c
@@ -366,6 +366,8 @@ print_sha1_keysig_rejected_note (void)
static int shown;

+ if (opt.quiet)
+ return;
if (shown)


Gnupg-devel mailing list