Bug 242929

Summary: security/u2f-devd: new entries for Trezor keys
Product: Ports & Packages Reporter: robert.ayrapetyan
Component: Individual Port(s)Assignee: Dmitry Marakasov <amdmi3>
Status: Closed FIXED    
Severity: Affects Only Me Keywords: security
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description robert.ayrapetyan 2019-12-27 23:38:11 UTC
Based on https://github.com/trezor/trezor-firmware/blob/68a3094b0a8e36b588b1bcb58c34a2c9eafc0dca/common/udev/51-trezor.rules: 

# Trezor (One and T models)
notify 100 {
	match "system"		"USB";
	match "subsystem"	"DEVICE";
	match "type"		"ATTACH";
	match "vendor"		"(0x534c|0x1209)";
	match "product"		"(0x0001|0x53c0|0x53c1)";
	action "chgrp u2f /dev/$cdev; chmod g+rw /dev/$cdev";
};

attach 100 {
	match "vendor"		"(0x534c|0x1209)";
	match "product"		"(0x0001|0x53c0|0x53c1)";
	action "chgrp u2f /dev/$device-name; chmod g+rw /dev/$device-name";
};
Comment 1 Rene Ladan freebsd_committer freebsd_triage 2020-10-05 17:22:02 UTC
Maintainer reset.
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-03-17 23:13:37 UTC
A commit references this bug:

Author: amdmi3
Date: Wed Mar 17 23:13:08 UTC 2021
New revision: 568695
URL: https://svnweb.freebsd.org/changeset/ports/568695

Log:
  - Add USB IDs for Trezor One and T models

  PR:		242929
  Submitted by:	robert.ayrapetyan@gmail.com

Changes:
  head/security/u2f-devd/files/u2f.conf