From: Brian Inglis <Brian.Inglis@SystematicSW.ab.ca>
To: cygwin-apps@cygwin.com
Cc: "Brian Inglis" <Brian.Inglis@SystematicSW.ab.ca>
Subject: [PATCH] cygport/lib/src_prep.cygpart: use gpgv2 not gpg2 --verify
Date: Tue, 30 Apr 2024 16:55:32 -0600 [thread overview]
Message-ID: <20240430225613.33505-2-Brian.Inglis@SystematicSW.ab.ca> (raw)
From: "Brian Inglis" <Brian.Inglis@SystematicSW.ab.ca>
Utility gpgv2 is the gpg2 release of gpgv, a lighter, script friendly,
single operation gpg verification helper designed for use in scripts
instead of gpg2 --verify: see 'info gpg2 helper gpgv'
__gpg_verify(): use gpgv2 not gpg2 --verify
Signed-off-by: Brian Inglis <Brian.Inglis@SystematicSW.ab.ca>
---
lib/src_prep.cygpart | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/lib/src_prep.cygpart 2024-01-15 05:09:23.000000000 -0700
+++ b/lib/src_prep.cygpart 2024-04-30 01:49:54.294030400 -0600
@@ -181,7 +181,7 @@ __gpg_verify() {
local _filetype=${2};
local _sigext=${3:-sig};
- if ! check_prog gpg2
+ if ! check_prog gpgv2
then
# display notice only once
if ! defined _gpg_not_found_
@@ -196,7 +196,7 @@ __gpg_verify() {
if [ -f ${_file}.${_sigext} ]
then
inform "${_filetype} signature follows:";
- gpg2 --verify ${_file}.${_sigext} ${_file} || true;
+ gpgv2 ${_file}.${_sigext} ${_file} || true;
fi
}
next reply other threads:[~2024-04-30 22:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-30 22:55 Brian Inglis [this message]
2024-05-01 5:50 ` ASSI
2024-05-01 16:12 ` Brian Inglis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240430225613.33505-2-Brian.Inglis@SystematicSW.ab.ca \
--to=brian.inglis@systematicsw.ab.ca \
--cc=cygwin-apps@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).