Package: gnupg2 Version: 2.1.9-1 Severity: wishlist Hi, I wanted to use gpg2 for "everything" like signing git tags, etc. Since these tools still invoke gpg directly I checked /etc/alternatives/gpg but did not find any so I went for:
cat <<EOF #!/bin/bash exec gpg2 "$*" in the path to invoke gpg2 instead of gpg Is that the recommended procedure in Debian atm or did I miss docs on that? I checked man gpg2 and /usr/share/doc/gnupg2/README.Debian but did not find any pointers on this issue. -- Guido (very likely missing something obvious) -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.1.0-2-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages gnupg2 depends on: ii dpkg 1.17.25 ii gnupg-agent 2.1.9-1 ii install-info 6.0.0.dfsg.1-3 ii libassuan0 2.4.0-1 ii libbz2-1.0 1.0.6-8 ii libc6 2.19-22 ii libgcrypt20 1.6.4-3 ii libgpg-error0 1.20-1 ii libksba8 1.3.3-1 ii libreadline6 6.3-8+b3 ii zlib1g 1:1.2.8.dfsg-2+b1 Versions of packages gnupg2 recommends: ii dirmngr 2.1.9-1 Versions of packages gnupg2 suggests: pn gnupg-doc <none> pn parcimonie <none> pn xloadimage <none> -- no debconf information