On 2023-11-24 14:29, Marco Atzeri via Cygwin-apps wrote:
On 21.11.2023 07:58, ASSI via Cygwin-apps wrote:
Brian Inglis via Cygwin-apps writes:
After applying the attached patches, which add support for the newer
gpg2 from gnupg2 if installed, the attached log second chunk shows the
new keys verified by gpg2 added to lib/src_prep.cygpart
___gpg_verify().
Similar code has been added to lib/pkg_pkg.cygpart __pkg_srcpkg() for
check and definition and __gpg_sign() for use in gpg signing of Cygwin
patches and files.
We should just switch to gpg2 an require that, there is no point in
trying to use GPG 1.x anymore.
https://repo.or.cz/cygport/rpm-style.git/commitdiff/84279e484726a68cc8f08e7c9126bef13d9510d7
++1?
should I just retire gpg 1.x and stop having gpg2 as different binary name ?
Or obsolete 1 with 2 and add compatibility symlinks or scripts?
Keep names separate so easy to check.
$ for i in /usr/bin/gpg* ; do echo -n $i " : " ; cygcheck -f $i ; done
/usr/bin/gpg.exe : gnupg-1.4.23-1
/usr/bin/gpg2.exe : gnupg2-2.2.35-2
/usr/bin/gpg-agent.exe : gnupg2-2.2.35-2
/usr/bin/gpgconf.exe : gnupg2-2.2.35-2
/usr/bin/gpg-connect-agent.exe : gnupg2-2.2.35-2
/usr/bin/gpg-error.exe : libgpg-error-devel-1.47-1
/usr/bin/gpgme-config : libgpgme-devel-1.9.0-1
/usr/bin/gpgme-tool.exe : libgpgme-devel-1.9.0-1
/usr/bin/gpgparsemail.exe : gnupg2-2.2.35-2
/usr/bin/gpgrt-config : libgpg-error-devel-1.47-1
/usr/bin/gpgscm.exe : gnupg2-2.2.35-2
/usr/bin/gpgsm.exe : gnupg2-2.2.35-2
/usr/bin/gpgsplit.exe : gnupg-1.4.23-1
gnupg2-2.2.35-2
/usr/bin/gpgtar.exe : gnupg2-2.2.35-2
/usr/bin/gpgv.exe : gnupg-1.4.23-1
/usr/bin/gpgv2.exe : gnupg2-2.2.35-2
/usr/bin/gpg-wks-server.exe : gnupg2-2.2.35-2
/usr/bin/gpg-zip : gnupg-1.4.23-1
gpg-zip is only in 1, gpgsplit is in 1 *AND* 2, but likely 2 is installed over
1, and a lot of new stuff is in 2:
$ cygcheck -l gnupg | grep bin/
/usr/bin/gpg-zip
/usr/bin/gpg.exe
/usr/bin/gpgsplit.exe
/usr/bin/gpgv.exe
$ cygcheck -l gnupg2 | grep bin/
/usr/bin/dirmngr-client.exe
/usr/bin/dirmngr.exe
/usr/bin/gpg-agent.exe
/usr/bin/gpg-connect-agent.exe
/usr/bin/gpg-wks-server.exe
/usr/bin/gpg2.exe
/usr/bin/gpgconf.exe
/usr/bin/gpgparsemail.exe
/usr/bin/gpgscm.exe
/usr/bin/gpgsm.exe
/usr/bin/gpgsplit.exe
/usr/bin/gpgtar.exe
/usr/bin/gpgv2.exe
/usr/bin/kbxutil.exe
/usr/bin/watchgnupg.exe
/usr/sbin/addgnupghome
/usr/sbin/applygnupgdefaults
--
Take care. Thanks, Brian Inglis Calgary, Alberta, Canada
La perfection est atteinte Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut
-- Antoine de Saint-Exupéry