From owner-svn-ports-all@freebsd.org Thu Oct 22 13:24:48 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4B772448C01; Thu, 22 Oct 2020 13:24:48 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CH7Pr1GmZz3cfD; Thu, 22 Oct 2020 13:24:48 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 103A417173; Thu, 22 Oct 2020 13:24:48 +0000 (UTC) (envelope-from lwhsu@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 09MDOlDb087518; Thu, 22 Oct 2020 13:24:47 GMT (envelope-from lwhsu@FreeBSD.org) Received: (from lwhsu@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 09MDOlQD087517; Thu, 22 Oct 2020 13:24:47 GMT (envelope-from lwhsu@FreeBSD.org) Message-Id: <202010221324.09MDOlQD087517@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: lwhsu set sender to lwhsu@FreeBSD.org using -f From: Li-Wen Hsu Date: Thu, 22 Oct 2020 13:24:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r552975 - in head/security/u2f-devd: . files X-SVN-Group: ports-head X-SVN-Commit-Author: lwhsu X-SVN-Commit-Paths: in head/security/u2f-devd: . files X-SVN-Commit-Revision: 552975 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Oct 2020 13:24:48 -0000 Author: lwhsu Date: Thu Oct 22 13:24:47 2020 New Revision: 552975 URL: https://svnweb.freebsd.org/changeset/ports/552975 Log: security/u2f-devd: Add Nitrokey FIDO 2 Support PR: 250524 Submitted by: Henrik Rosenke Modified: head/security/u2f-devd/Makefile head/security/u2f-devd/files/u2f.conf Modified: head/security/u2f-devd/Makefile ============================================================================== --- head/security/u2f-devd/Makefile Thu Oct 22 13:21:44 2020 (r552974) +++ head/security/u2f-devd/Makefile Thu Oct 22 13:24:47 2020 (r552975) @@ -3,6 +3,7 @@ PORTNAME= u2f-devd PORTVERSION= 1.1.10 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= # DISTFILES= # Modified: head/security/u2f-devd/files/u2f.conf ============================================================================== --- head/security/u2f-devd/files/u2f.conf Thu Oct 22 13:21:44 2020 (r552974) +++ head/security/u2f-devd/files/u2f.conf Thu Oct 22 13:24:47 2020 (r552975) @@ -178,6 +178,22 @@ attach 100 { action "chgrp u2f /dev/$device-name; chmod g+rw /dev/$device-name"; }; +# Nitrokey FIDO 2 +notify 100 { + match "system" "USB"; + match "subsystem" "DEVICE"; + match "type" "ATTACH"; + match "vendor" "0x20a0"; + match "product" "0x42b1"; + action "chgrp u2f /dev/$cdev; chmod g+rw /dev/$cdev"; +}; + +attach 100 { + match "vendor" "0x20a0"; + match "product" "0x42b1"; + action "chgrp u2f /dev/$device-name; chmod g+rw /dev/$device-name"; +}; + # Google Titan U2F notify 100 { match "system" "USB";