Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite RSpec matchers so that they rely on GnuPG's machine-readable output #16

Open
skalee opened this issue Aug 20, 2018 · 0 comments

Comments

@skalee
Copy link
Collaborator

skalee commented Aug 20, 2018

Moved from riboseinc/enmail#63.

GnuPG output is intended to be human readable, not to be interpreted by computers. Its format is unstable, so do exit codes.

At riboseinc/enmail#57 I was wrong. GnuPG produces machine readable output when the --status-file <file> option is passed to the GnuPG executable. The format is easy to parse, and keyword synopsis are preserved across versions. Full description is in doc/DETAILS file of GnuPG.

On the other hand, the machine readable output misses some information which is otherwise printed to stderr, or at least it is not easy to obtain. Notably recipient user ids of encrypted message are missing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant