[Pkg-rust-maintainers] Bug#1077170: Please add a machine-readable (json?) output

Enrico Zini enrico at debian.org
Fri Jul 26 10:34:34 BST 2024


Package: sq
Version: 0.27.0-2+b1
Severity: wishlist

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

-- System Information:
Debian Release: 12.6
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf, arm64

Kernel: Linux 6.1.0-22-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), LANGUAGE=en_IE:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages sq depends on:
ii  libbz2-1.0   1.0.8-5+b1
ii  libc6        2.36-9+deb12u7
ii  libgcc-s1    12.2.0-14
ii  libgmp10     2:6.2.1+dfsg1-1.1
ii  libhogweed6  3.8.1-2
ii  libnettle8   3.8.1-2
ii  libssl3      3.0.13-1~deb12u1

sq recommends no packages.

sq suggests no packages.

-- no debconf information



More information about the Pkg-rust-maintainers mailing list