Enable SoloKeys by default

This commit is contained in:
Anthony Rose 2020-01-14 17:10:51 +00:00
parent d6666e674a
commit 38c43422ac
5 changed files with 37 additions and 0 deletions

View file

@ -0,0 +1,19 @@
# Notify ModemManager this device should be ignored
ACTION!="add|change|move", GOTO="mm_usb_device_blacklist_end"
SUBSYSTEM!="usb", GOTO="mm_usb_device_blacklist_end"
ENV{DEVTYPE}!="usb_device", GOTO="mm_usb_device_blacklist_end"
ATTRS{idVendor}=="0483", ATTRS{idProduct}=="a2ca", ENV{ID_MM_DEVICE_IGNORE}="1"
LABEL="mm_usb_device_blacklist_end"
# Solo bootloader + firmware access
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="a2ca", TAG+="uaccess"
SUBSYSTEM=="tty", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="a2ca", TAG+="uaccess"
# ST DFU access
SUBSYSTEM=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11", TAG+="uaccess"
# U2F Zero
SUBSYSTEM=="hidraw", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="8acf", TAG+="uaccess"

View file

@ -4,3 +4,4 @@
when: gui == true when: gui == true
- include: modules.yml - include: modules.yml
- include: ssh.yml - include: ssh.yml
- include: solokeys.yml

View file

@ -0,0 +1,15 @@
---
- name: install solokeys udev rule
become: true
copy:
src: 70-solokeys-access.rules
dest: /etc/udev/rules.d/70-solokeys-access.rules
register: solokeys_copy
- name: reload udevadm rules
become: true
command: udevadm control --reload-rules
when: solokeys_copy.changed
- name: trigger udevadm
become: true
command: udevadm trigger
when: solokeys_copy.changed

View file

@ -9,4 +9,5 @@ user_pref("general.smoothScroll", false);
user_pref("media.peerconnection.enabled", false); user_pref("media.peerconnection.enabled", false);
user_pref("network.security.ports.banned.override", "6697"); user_pref("network.security.ports.banned.override", "6697");
user_pref("privacy.resistFingerprinting", true); user_pref("privacy.resistFingerprinting", true);
user_pref("security.webauth.u2f", true);
user_pref("signon.rememberSignons", false); user_pref("signon.rememberSignons", false);

View file

@ -18,6 +18,7 @@
- dnsutils - dnsutils
- git - git
- gnupg - gnupg
- libu2f-udev
- lldb - lldb
- mc - mc
- nmap - nmap