Bug 242929 - security/u2f-devd: new entries for Trezor keys
Summary: security/u2f-devd: new entries for Trezor keys
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dmitry Marakasov
URL:
Keywords: security
Depends on:
Blocks:
 
Reported: 2019-12-27 23:38 UTC by robert.ayrapetyan
Modified: 2021-03-17 23:13 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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