Files
pkgsrc-ng/security/keychain/patches/patch-keychain
2016-01-21 23:41:46 +01:00

19 lines
777 B
Plaintext

$NetBSD: patch-keychain,v 1.1 2015/05/04 21:02:59 roy Exp $
Add OpenSSH 6.8+ support.
--- keychain.orig 2015-05-04 20:56:00.000000000 +0000
+++ keychain
@@ -812,6 +812,11 @@ extract_fingerprints() {
# 1024 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 /home/barney/.ssh/id_dsa (DSA)
echo "$ef_line" | cut -f2 -d' '
;;
+ *\ MD5:[0-9a-zA-Z\+\/=]*|*\ SHA256:[0-9a-zA-Z\+\/=]*)
+ # The new OpenSSH 6.8+ format,
+ # 1024 SHA256:mVPwvezndPv/ARoIadVY98vAC0g+P/5633yTC4d/wXE /home/barney/.ssh/id_dsa (DSA)
+ echo "$ef_line" | cut -f2 -d' '
+ ;;
*)
# Fall back to filename. Note that commercial ssh is handled
# explicitly in ssh_l and ssh_f, so hopefully this rule will