Bug#953672: "hot dump" should be cleverer about its representation of User Attributes

Daniel Kahn Gillmor dkg at fifthhorseman.net
Thu Mar 12 04:25:38 GMT 2020


Package: hopenpgp-tools
Version: 0.22-2+b1
Severity: wishlist

gpg --export B65D085B94117B813160B659ED34CEABE27BAABC | hot dump

produces:

…
user-attribute: [ image-attribute imghdr v1 JPEG [ 255
, 216
, 255
, 224
, 0
, 16
, 74
, 70
, 73
…

and so on, for over 4K lines (one line per byte)

seems like there might be a better representation for the jpeg in this
situation.

For example, representing it as a string with W×H and file size and digest like so:

    user-attribute: [ image-attribute imghdr v1 JPEG [ 120×144 4097B sha256:61334e84c081e441dc4bd8b7c025502c378195d765546c807c2d4c928c345df2 ] ]

would probably be more useful and less noisy.

      --dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-maintainers/attachments/20200312/9afd3517/attachment.sig>


More information about the Pkg-haskell-maintainers mailing list