Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Oct 2022 13:12:24 GMT
From:      Nuno Teixeira <eduardo@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0674c92121aa - main - security/u2f-devd: Add support for Nitrokey 3
Message-ID:  <202210261312.29QDCOlZ087279@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0674c92121aa41f60b82c3a8ebf15503b85538c1

commit 0674c92121aa41f60b82c3a8ebf15503b85538c1
Author:     Thibault Payet <monwarez@mailoo.org>
AuthorDate: 2022-10-26 13:10:43 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2022-10-26 13:12:12 +0000

    security/u2f-devd: Add support for Nitrokey 3
    
     - submitter becomes maintainer
    
    PR:             267337
---
 security/u2f-devd/Makefile       |  4 ++--
 security/u2f-devd/files/u2f.conf | 16 ++++++++++++++++
 2 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/security/u2f-devd/Makefile b/security/u2f-devd/Makefile
index dcf7e088e144..8619cb6bb310 100644
--- a/security/u2f-devd/Makefile
+++ b/security/u2f-devd/Makefile
@@ -1,11 +1,11 @@
 PORTNAME=	u2f-devd
 PORTVERSION=	1.1.10
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	security
 MASTER_SITES=	#
 DISTFILES=	#
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	monwarez@mailoo.org
 COMMENT=	Devd hotplug rules for Universal 2nd Factor (U2F) tokens
 
 LICENSE=	BSD2CLAUSE
diff --git a/security/u2f-devd/files/u2f.conf b/security/u2f-devd/files/u2f.conf
index bde74fd6bf7a..1eea25ded39b 100644
--- a/security/u2f-devd/files/u2f.conf
+++ b/security/u2f-devd/files/u2f.conf
@@ -194,6 +194,22 @@ attach 100 {
 	action "chgrp u2f /dev/$device-name; chmod g+rw /dev/$device-name";
 };
 
+# Nitrokey 3
+notify 100 {
+	match "system"		"USB";
+	match "subsystem"	"DEVICE";
+	match "type"		"ATTACH";
+	match "vendor"		"0x20a0";
+	match "product"		"0x42b2";
+	action "chgrp u2f /dev/$cdev; chmod g+rw /dev/$cdev";
+};
+
+attach 100 {
+	match "vendor"		"0x20a0";
+	match "product"		"0x42b2";
+	action "chgrp u2f /dev/$device-name; chmod g+rw /dev/$device-name";
+};
+
 # Google Titan U2F
 notify 100 {
 	match "system"		"USB";



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