Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssh/dist Amend whitelisted filesyste...



details:   https://anonhg.NetBSD.org/src/rev/8dfb27dbdab1
branches:  trunk
changeset: 320526:8dfb27dbdab1
user:      sevan <sevan%NetBSD.org@localhost>
date:      Tue Jul 10 22:12:08 2018 +0000

description:
Amend whitelisted filesystem paths ssh-agent will look for PKCS11 related
libraries so that things work out of the box with pkgsrc without having to
explicitly whitelist things.

ok christos

diffstat:

 crypto/external/bsd/openssh/dist/ssh-agent.1 |  4 ++--
 crypto/external/bsd/openssh/dist/ssh-agent.c |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 25ff3490ab2c -r 8dfb27dbdab1 crypto/external/bsd/openssh/dist/ssh-agent.1
--- a/crypto/external/bsd/openssh/dist/ssh-agent.1      Tue Jul 10 20:48:54 2018 +0000
+++ b/crypto/external/bsd/openssh/dist/ssh-agent.1      Tue Jul 10 22:12:08 2018 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: ssh-agent.1,v 1.12 2017/04/18 18:41:46 christos Exp $
+.\"    $NetBSD: ssh-agent.1,v 1.13 2018/07/10 22:12:08 sevan Exp $
 .\" $OpenBSD: ssh-agent.1,v 1.64 2016/11/30 06:54:26 jmc Exp $
 .\"
 .\"
@@ -131,7 +131,7 @@
 option to
 .Xr ssh-add 1 .
 The default is to allow loading PKCS#11 libraries from
-.Dq /usr/lib/*,/usr/local/lib/* .
+.Dq /usr/lib/*,/usr/pkg/lib/* .
 PKCS#11 libraries that do not match the whitelist will be refused.
 See PATTERNS in
 .Xr ssh_config 5
diff -r 25ff3490ab2c -r 8dfb27dbdab1 crypto/external/bsd/openssh/dist/ssh-agent.c
--- a/crypto/external/bsd/openssh/dist/ssh-agent.c      Tue Jul 10 20:48:54 2018 +0000
+++ b/crypto/external/bsd/openssh/dist/ssh-agent.c      Tue Jul 10 22:12:08 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ssh-agent.c,v 1.22 2018/04/06 18:59:00 christos Exp $  */
+/*     $NetBSD: ssh-agent.c,v 1.23 2018/07/10 22:12:08 sevan Exp $     */
 /* $OpenBSD: ssh-agent.c,v 1.228 2018/02/23 15:58:37 markus Exp $ */
 /*
  * Author: Tatu Ylonen <ylo%cs.hut.fi@localhost>
@@ -36,7 +36,7 @@
  */
 
 #include "includes.h"
-__RCSID("$NetBSD: ssh-agent.c,v 1.22 2018/04/06 18:59:00 christos Exp $");
+__RCSID("$NetBSD: ssh-agent.c,v 1.23 2018/07/10 22:12:08 sevan Exp $");
 
 #include <sys/param.h> /* MIN MAX */
 #include <sys/types.h>
@@ -82,7 +82,7 @@
 #endif
 
 #ifndef DEFAULT_PKCS11_WHITELIST
-# define DEFAULT_PKCS11_WHITELIST "/usr/lib*/*,/usr/local/lib*/*"
+# define DEFAULT_PKCS11_WHITELIST "/usr/lib*/*,/usr/pkg/lib*/*"
 #endif
 
 /* Maximum accepted message length */



Home | Main Index | Thread Index | Old Index