summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2026-11-22 15:29:32 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2026-11-22 15:29:32 +0100
commit6e5673e23844d8c674992dfa79702ce15703b165 (patch)
tree935c80c83bc5e3e4b89b0e7fe87576b42997798a
parent57d7a14da892fd95c030f521a7a816621411289d (diff)
downloadconfig-6e5673e23844d8c674992dfa79702ce15703b165.tar.gz
config-6e5673e23844d8c674992dfa79702ce15703b165.zip
Update setup script with bank security key workaroundHEADmaster
Diffstat (limited to '')
-rwxr-xr-x.config/alpine-packages1
-rwxr-xr-xscripts/setup-config-alpine13
2 files changed, 14 insertions, 0 deletions
diff --git a/.config/alpine-packages b/.config/alpine-packages
index 846228f..fc4aaa9 100755
--- a/.config/alpine-packages
+++ b/.config/alpine-packages
@@ -21,6 +21,7 @@ kbd # For console keyboard configuration
21zip rsync syncthing fzf sfeed yt-dlp mblaze msmtp isync oath-toolkit-oathtool 21zip rsync syncthing fzf sfeed yt-dlp mblaze msmtp isync oath-toolkit-oathtool
22lynx 22lynx
23efibootmgr 23efibootmgr
24fido2 # security keys
24 25
25# Development tools 26# Development tools
26build-base git git-email gdb valgrind clang20 python3 rust cargo hare 27build-base git git-email gdb valgrind clang20 python3 rust cargo hare
diff --git a/scripts/setup-config-alpine b/scripts/setup-config-alpine
index 7debb39..58fe77d 100755
--- a/scripts/setup-config-alpine
+++ b/scripts/setup-config-alpine
@@ -147,6 +147,19 @@ doas rc-update add syncthing
147doas rc-service syncthing start 147doas rc-service syncthing start
148 148
149 149
150print_log "Setting up workaround for security key"
151
152doas adduser sebastiano plugdev
153tmp_eudev_file=$(mktemp)
154cat <<EOF > "$tmp_eudev_file"
155# SafeNet eToken Fusion (Gemalto/Thales) 08e6:34d2
156KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="08e6", ATTRS{idProduct}=="34d2", TAG+="uaccess", GROUP="plugdev", MODE="0660"
157LABEL="fido_end"
158EOF
159doas mkdir -p /etc/udev/rules.d
160doas mv "$tmp_eudev_file" /etc/udev/rules.d/70-fido-etoken-fusion.rules
161
162
150print_log "Creating mail directory" 163print_log "Creating mail directory"
151 164
152mkdir -p mail 165mkdir -p mail

Generated with cgit - Back to sebastiano.tronto.net