git: a603340c897a - main - security/u2f-devd: Add Nitrokey 3 bootloader mode support
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 18 May 2023 17:52:50 UTC
The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=a603340c897a77da894567f7a460c2b5a670a656 commit a603340c897a77da894567f7a460c2b5a670a656 Author: Thibault Payet <monwarez@gmail.com> AuthorDate: 2023-05-18 13:50:30 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2023-05-18 17:52:16 +0000 security/u2f-devd: Add Nitrokey 3 bootloader mode support PR: 271491 Signed-off-by: Thibault Payet <monwarez@gmail.com> --- security/u2f-devd/Makefile | 2 +- security/u2f-devd/files/u2f.conf | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/security/u2f-devd/Makefile b/security/u2f-devd/Makefile index 8619cb6bb310..bd4d3c861ccf 100644 --- a/security/u2f-devd/Makefile +++ b/security/u2f-devd/Makefile @@ -1,6 +1,6 @@ PORTNAME= u2f-devd PORTVERSION= 1.1.10 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= security MASTER_SITES= # DISTFILES= # diff --git a/security/u2f-devd/files/u2f.conf b/security/u2f-devd/files/u2f.conf index 1eea25ded39b..bd14914fc764 100644 --- a/security/u2f-devd/files/u2f.conf +++ b/security/u2f-devd/files/u2f.conf @@ -209,6 +209,21 @@ attach 100 { match "product" "0x42b2"; action "chgrp u2f /dev/$device-name; chmod g+rw /dev/$device-name"; }; +# Nitrokey 3 Bootloader mode +notify 100 { + match "system" "USB"; + match "subsystem" "DEVICE"; + match "type" "ATTACH"; + match "vendor" "0x20a0"; + match "product" "0x42dd"; + action "chgrp u2f /dev/$cdev; chmod g+rw /dev/$cdev"; +}; + +attach 100 { + match "vendor" "0x20a0"; + match "product" "0x42dd"; + action "chgrp u2f /dev/$device-name; chmod g+rw /dev/$device-name"; +}; # Google Titan U2F notify 100 {