Jan Schaumann on Nostr: Why yes, I'm once again finding myself battling #gpg, because of course "--quiet" ...
Why yes, I'm once again finding myself battling #gpg, because of course "--quiet" does not actually make it quiet, so if I want to suppress "everything's peachy" messages, but still see any other potential errors, I end up with
gpg -q --verify foo.asc 2>&1 | egrep -i -v "signature (made|from)" >&2
JFC.
Published at
2024-08-26 21:16:12Event JSON
{
"id": "9a5f909e05fb4cd56d5c644ff4d792764906f5e8097a1cb1c1be57f97557cae1",
"pubkey": "b3087ccfbff4c2e2e16a3af148b6a3a27fe07bb1e7628b714a11e5f26711f263",
"created_at": 1724706972,
"kind": 1,
"tags": [
[
"t",
"GPG"
],
[
"proxy",
"https://mstdn.social/users/jschauma/statuses/113030396149740975",
"activitypub"
]
],
"content": "Why yes, I'm once again finding myself battling #gpg, because of course \"--quiet\" does not actually make it quiet, so if I want to suppress \"everything's peachy\" messages, but still see any other potential errors, I end up with\n\ngpg -q --verify foo.asc 2\u003e\u00261 | egrep -i -v \"signature (made|from)\" \u003e\u00262\n\nJFC.\n\nhttps://media.mstdn.social/media_attachments/files/113/030/394/754/580/264/original/b4873d5447c58e0a.png",
"sig": "34aaeba849fa880cb72c12ba81ebdf6e5bd02b242081dc965daddf32a1e1bd72e8897daafd8518dc4dda2aa92d944411038259ecfe9bafaa743e816a59e90fbc"
}