Skip to content

Commit 606b9b0

Browse files
authored
add atkey pid and 7 relative vid (#17234)
1 parent 3697bdc commit 606b9b0

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

interfaces/builtin/u2f_devices.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ type u2fDevice struct {
4242

4343
// https://github.com/Yubico/libu2f-host/blob/master/70-u2f.rules
4444
var u2fDevices = []u2fDevice{
45+
{
46+
Name: "Authentrend ATKey",
47+
VendorIDPattern: "31bb",
48+
ProductIDPattern: "0620|0621|0622|0625|0635|0711|0713",
49+
},
4550
{
4651
Name: "Tokey 3 FIDO",
4752
VendorIDPattern: "0d7a",

interfaces/builtin/u2f_devices_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ func (s *u2fDevicesInterfaceSuite) TestUDevSpec(c *C) {
9393
c.Assert(err, IsNil)
9494
spec := udev.NewSpecification(appSet)
9595
c.Assert(spec.AddConnectedPlug(s.iface, s.plug, s.slot), IsNil)
96-
c.Assert(spec.Snippets(), HasLen, 37)
96+
c.Assert(spec.Snippets(), HasLen, 38)
9797
c.Assert(spec.Snippets(), testutil.Contains, `# u2f-devices
9898
# Yubico YubiKey
9999
SUBSYSTEM=="hidraw", KERNEL=="hidraw*", ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0113|0114|0115|0116|0120|0121|0200|0402|0403|0406|0407|0410", TAG+="snap_consumer_app"`)

0 commit comments

Comments
 (0)