Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Nov 2020 23:36:49 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r555524 - head/security/openssh-portable
Message-ID:  <202011162336.0AGNanuQ055045@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Mon Nov 16 23:36:48 2020
New Revision: 555524
URL: https://svnweb.freebsd.org/changeset/ports/555524

Log:
  - Add and enable FIDO/U2F support for security keys by default.
    This feature came in 8.2, is enabled by default on OpenBSD,
    and suggested to be enabled by default for packages.

Modified:
  head/security/openssh-portable/Makefile

Modified: head/security/openssh-portable/Makefile
==============================================================================
--- head/security/openssh-portable/Makefile	Mon Nov 16 23:33:43 2020	(r555523)
+++ head/security/openssh-portable/Makefile	Mon Nov 16 23:36:48 2020	(r555524)
@@ -3,7 +3,7 @@
 
 PORTNAME=	openssh
 DISTVERSION=	8.4p1
-PORTREVISION=	0
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	security
 MASTER_SITES=	OPENBSD/OpenSSH/portable
@@ -40,8 +40,8 @@ gssapi_PKGNAMESUFFIX=		-portable-gssapi
 
 OPTIONS_DEFINE=		DOCS PAM TCP_WRAPPERS LIBEDIT BSM \
 			HPN KERB_GSSAPI \
-			LDNS NONECIPHER XMSS
-OPTIONS_DEFAULT=	LIBEDIT PAM TCP_WRAPPERS LDNS
+			LDNS NONECIPHER XMSS FIDO_U2F
+OPTIONS_DEFAULT=	LIBEDIT PAM TCP_WRAPPERS LDNS FIDO_U2F
 .if ${FLAVOR:U} == hpn
 OPTIONS_DEFAULT+=	HPN NONECIPHER
 .endif
@@ -60,6 +60,7 @@ HEIMDAL_BASE_DESC=	Heimdal Kerberos (base)
 MIT_DESC=		MIT Kerberos (security/krb5)
 NONECIPHER_DESC=	NONE Cipher support
 XMSS_DESC=		XMSS key support (experimental)
+FIDO_U2F_DESC=		FIDO/U2F support (security/libfido2)
 
 OPTIONS_SUB=		yes
 
@@ -83,6 +84,10 @@ TCP_WRAPPERS_CONFIGURE_WITH=	tcp-wrappers
 LIBEDIT_CONFIGURE_WITH=	libedit
 LIBEDIT_USES=		libedit
 BSM_CONFIGURE_ON=	--with-audit=bsm
+
+FIDO_U2F_LIB_DEPENDS=	libfido2.so:security/libfido2
+FIDO_U2F_CONFIGURE_ON=	--with-security-key-builtin
+FIDO_U2F_CONFIGURE_OFF=	--disable-security-key
 
 ETCDIR?=		${PREFIX}/etc/ssh
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011162336.0AGNanuQ055045>