[pkg-gnupg-maint] Bug#933575: gpg: more easily parsable status output

Ansgar ansgar at debian.org
Wed Jul 31 18:32:00 BST 2019


Package: gnupg
Version: 2.2.17-3
Severity: wishlist

I think it would be nice if gpg had a more easily parsable status
output (the one from --status-fd=X).  In my experience many applications
use the current output incorrectly.

I'll use signatures as an example as I mostly care about that.
Currently one would need to handle `NEWSIG`, `GOODSIG`, `VALIDSIG`, and
other status codes.  Applications currently might only use one of these
and end up with unexpected results (such as trusting signatures with
`VALIDSIG`, but that come from a revoked key).

Having a single, extendable output for a signature (such as a JSON
dict) would probably make it easier to do the right thing compared to
the current status output.

Ansgar



More information about the pkg-gnupg-maint mailing list