summaryrefslogtreecommitdiff
path: root/security/monkeysphere/files/patch-src_share_common
diff options
context:
space:
mode:
authorVinícius Zavam <egypcio@FreeBSD.org>2022-02-28 22:12:47 +0000
committerVinícius Zavam <egypcio@FreeBSD.org>2022-02-28 22:12:47 +0000
commit5ea1e5b4bbefd1ac2eef64f71f70ffe3ceaab55e (patch)
tree4401fc085611c3c6c25a3006276a2826cedb9862 /security/monkeysphere/files/patch-src_share_common
parentwww/firefox-esr: update to 91.7.0 (rc1) (diff)
security/monkeysphere: update 0.42 to 0.43
* Depend on a modern version of GnuPG (>= 2.1.11) for --export-ssh-key * Depend on OpenSSH's ssh-keygen directly for most SSH fingerprints * Depend on OpenSSH >= 6.0 for ed25519 and "sshd -T" * Use runuser instead of su * Support Ed25519 authentication-capable subkeys for users * Use https for all outbound links * Clean up spelling * Use 3072 bits for RSA keys everywhere by default * Provide clearer error message for PEM2OPENPGP_NEWKEY * Avoid locking out users unnecessarily https://github.com/dkg/monkeysphere/tree/monkeysphere_0.43
Diffstat (limited to 'security/monkeysphere/files/patch-src_share_common')
-rw-r--r--security/monkeysphere/files/patch-src_share_common69
1 files changed, 0 insertions, 69 deletions
diff --git a/security/monkeysphere/files/patch-src_share_common b/security/monkeysphere/files/patch-src_share_common
deleted file mode 100644
index 1c2b501f5de0..000000000000
--- a/security/monkeysphere/files/patch-src_share_common
+++ /dev/null
@@ -1,69 +0,0 @@
---- src/share/common.orig 2018-10-16 16:24:55 UTC
-+++ src/share/common
-@@ -495,7 +495,7 @@ gpg2ssh() {
-
- keyID="$1"
-
-- gpg --export --no-armor "$keyID" | openpgp2ssh "$keyID" 2>/dev/null
-+ gpg2 --export --no-armor "$keyID" | openpgp2ssh "$keyID" 2>/dev/null
- }
-
- # output known_hosts line from ssh key
-@@ -601,7 +601,7 @@ gpg2authorized_keys() {
-
- # script to determine if gpg version is equal to or greater than specified version
- is_gpg_version_greater_equal() {
-- local gpgVersion=$(gpg --version | head -1 | awk '{ print $3 }')
-+ local gpgVersion=$(gpg2 --version | head -1 | awk '{ print $3 }')
- local latest=$(printf '%s\n%s\n' "$1" "$gpgVersion" \
- | tr '.' ' ' | sort -g -k1 -k2 -k3 \
- | tail -1 | tr ' ' '.')
-@@ -622,7 +622,7 @@ gpg_fetch_userid() {
-
- log verbose " checking keyserver $KEYSERVER... "
- foundkeyids="$(echo | \
-- gpg --quiet --batch --with-colons \
-+ gpg2 --quiet --batch --with-colons \
- --command-fd 0 --keyserver "$KEYSERVER" \
- --search ="$userID" 2>/dev/null)"
- returnCode="$?"
-@@ -637,7 +637,7 @@ $foundkeyids
- foundkeyids="$(printf "%s" "$foundkeyids" | grep '^pub:' | cut -f2 -d: | sed 's/^/0x/')"
- log verbose " Found keyids on keyserver: $(printf "%s" "$foundkeyids" | tr '\n' ' ')"
- if [ -n "$foundkeyids" ]; then
-- echo | gpg --quiet --batch --with-colons \
-+ echo | gpg2 --quiet --batch --with-colons \
- --command-fd 0 --keyserver "$KEYSERVER" \
- --recv-keys $foundkeyids &>/dev/null
- returnCode="$?"
-@@ -693,7 +693,7 @@ process_user_id() {
- gpg_fetch_userid "$userID"
-
- # output gpg info for (exact) userid and store
-- gpgOut=$(gpg --list-key --fixed-list-mode --with-colons \
-+ gpgOut=$(gpg2 --list-key --fixed-list-mode --with-colons \
- --with-fingerprint --with-fingerprint \
- ="$userID" 2>/dev/null) || returnCode="$?"
-
-@@ -962,8 +962,8 @@ list_primary_fingerprints() {
- rm -rf "$fake"
- }
- trap cleanup EXIT
-- GNUPGHOME="$fake" gpg --no-tty --quiet --import --ignore-time-conflict 2>/dev/null
-- GNUPGHOME="$fake" gpg --with-colons --fingerprint --list-keys | \
-+ GNUPGHOME="$fake" gpg2 --no-tty --quiet --import --ignore-time-conflict 2>/dev/null
-+ GNUPGHOME="$fake" gpg2 --with-colons --fingerprint --list-keys | \
- awk -F: '/^fpr:/{ if (ok) { print $10 } ; ok=0 } /^pub:/{ ok=1 }'
- trap - EXIT
- cleanup
-@@ -981,8 +981,8 @@ get_cert_info() {
- fi
- rm -rf "$fake"
- }
-- GNUPGHOME="$fake" gpg --no-tty --quiet --import --ignore-time-conflict 2>/dev/null
-- GNUPGHOME="$fake" gpg --with-colons --fingerprint --fixed-list-mode --list-keys "$1"
-+ GNUPGHOME="$fake" gpg2 --no-tty --quiet --import --ignore-time-conflict 2>/dev/null
-+ GNUPGHOME="$fake" gpg2 --with-colons --fingerprint --fixed-list-mode --list-keys "$1"
- trap - EXIT
- cleanup
- }