#1077170 Please add a machine-readable (json?) output

Package:
sq
Source:
sq
Description:
OpenPGP command-line tool from Sequoia
Submitter:
Enrico Zini
Date:
2024-07-27 07:45:02 UTC
Severity:
normal
#1077170#5
Date:
2024-07-26 09:34:34 UTC
From:
To:
Hello,

I'm eagerly exploring sequoia as a stateless, useable replacement for
gnupg on several use cases. One simple task I need to do is to get the
fingerprint of a key, and `sq inspect` would neatly do it.

However: the output of `sq inspect` is clearly intended to be human
readable, and machine-parsing it seems very error prone and likely to
break on a future version of sq.

Would it be possible to add something trivially machine-readable, like a
--json option that makes sq output JSON?


Thanks,

Enrico

#1077170#10
Date:
2024-07-27 07:36:09 UTC
From:
To:
Machine-readable output is on our wishlist, but we wont get this done in
sq 1.0 which we'll release this summer.  We'll likely start working on
it next year, but no promises.

Relevant issues:

https://gitlab.com/sequoia-pgp/sequoia-sq/-/issues/?sort=created_date&state=opened&search=json&first_page_size=20

Best,
Justus