summaryrefslogtreecommitdiff
path: root/doc/guix-cookbook.texi
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-07-26 15:53:00 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2023-08-17 00:01:45 -0400
commite80e082be1a85ca3ff17797ceda4e2346ea77b38 (patch)
tree66f1921a2b74bfc37d947e28d9f736ebadee09ef /doc/guix-cookbook.texi
parent55f1c1c8a17daf1a578e6c99e2634254a5c785ed (diff)
doc: cookbook: Document how to disable the Yubikey OTP application.
* doc/guix-cookbook.texi (Using security keys) <Disabling OTP code generation for a Yubikey>: New subsection. Reviewed-by: John Kehayias <john.kehayias@protonmail.com>
Diffstat (limited to 'doc/guix-cookbook.texi')
-rw-r--r--doc/guix-cookbook.texi24
1 files changed, 21 insertions, 3 deletions
diff --git a/doc/guix-cookbook.texi b/doc/guix-cookbook.texi
index aa3d6debbd6..87430b741a8 100644
--- a/doc/guix-cookbook.texi
+++ b/doc/guix-cookbook.texi
@@ -21,7 +21,7 @@ Copyright @copyright{} 2020 Brice Waegeneire@*
21Copyright @copyright{} 2020 André Batista@* 21Copyright @copyright{} 2020 André Batista@*
22Copyright @copyright{} 2020 Christine Lemmer-Webber@* 22Copyright @copyright{} 2020 Christine Lemmer-Webber@*
23Copyright @copyright{} 2021 Joshua Branson@* 23Copyright @copyright{} 2021 Joshua Branson@*
24Copyright @copyright{} 2022 Maxim Cournoyer@* 24Copyright @copyright{} 2022, 2023 Maxim Cournoyer@*
25Copyright @copyright{} 2023 Ludovic Courtès 25Copyright @copyright{} 2023 Ludovic Courtès
26 26
27Permission is granted to copy, distribute and/or modify this document 27Permission is granted to copy, distribute and/or modify this document
@@ -127,7 +127,7 @@ System Configuration
127* Dynamic DNS mcron job:: Job to update the IP address behind a DuckDNS host name. 127* Dynamic DNS mcron job:: Job to update the IP address behind a DuckDNS host name.
128* Connecting to Wireguard VPN:: Connecting to a Wireguard VPN. 128* Connecting to Wireguard VPN:: Connecting to a Wireguard VPN.
129* Customizing a Window Manager:: Handle customization of a Window manager on Guix System. 129* Customizing a Window Manager:: Handle customization of a Window manager on Guix System.
130* Running Guix on a Linode Server:: Running Guix on a Linode Server. Running Guix on a Linode Server. 130* Running Guix on a Linode Server:: Running Guix on a Linode Server.
131* Setting up a bind mount:: Setting up a bind mount in the file-systems definition. 131* Setting up a bind mount:: Setting up a bind mount in the file-systems definition.
132* Getting substitutes from Tor:: Configuring Guix daemon to get substitutes through Tor. 132* Getting substitutes from Tor:: Configuring Guix daemon to get substitutes through Tor.
133* Setting up NGINX with Lua:: Configuring NGINX web-server to load Lua modules. 133* Setting up NGINX with Lua:: Configuring NGINX web-server to load Lua modules.
@@ -1574,7 +1574,7 @@ reference.
1574* Dynamic DNS mcron job:: Job to update the IP address behind a DuckDNS host name. 1574* Dynamic DNS mcron job:: Job to update the IP address behind a DuckDNS host name.
1575* Connecting to Wireguard VPN:: Connecting to a Wireguard VPN. 1575* Connecting to Wireguard VPN:: Connecting to a Wireguard VPN.
1576* Customizing a Window Manager:: Handle customization of a Window manager on Guix System. 1576* Customizing a Window Manager:: Handle customization of a Window manager on Guix System.
1577* Running Guix on a Linode Server:: Running Guix on a Linode Server. Running Guix on a Linode Server. 1577* Running Guix on a Linode Server:: Running Guix on a Linode Server.
1578* Setting up a bind mount:: Setting up a bind mount in the file-systems definition. 1578* Setting up a bind mount:: Setting up a bind mount in the file-systems definition.
1579* Getting substitutes from Tor:: Configuring Guix daemon to get substitutes through Tor. 1579* Getting substitutes from Tor:: Configuring Guix daemon to get substitutes through Tor.
1580* Setting up NGINX with Lua:: Configuring NGINX web-server to load Lua modules. 1580* Setting up NGINX with Lua:: Configuring NGINX web-server to load Lua modules.
@@ -2134,6 +2134,24 @@ security key'' menu. If it works, congratulations, your security key is
2134ready to be used with applications supporting two-factor authentication 2134ready to be used with applications supporting two-factor authentication
2135(2FA). 2135(2FA).
2136 2136
2137@subsection Disabling OTP code generation for a Yubikey
2138@cindex disabling yubikey OTP
2139If you use a Yubikey security key and are irritated by the spurious OTP
2140codes it generates when inadvertently touching the key (e.g. causing you
2141to become a spammer in the @samp{#guix} channel when discussing from
2142your favorite IRC client!), you can disable it via the following
2143@command{ykman} command:
2144
2145@example
2146guix shell python-yubikey-manager -- ykman config usb --force --disable OTP
2147@end example
2148
2149Alternatively, you could use the @command{ykman-gui} command provided by
2150the @code{yubikey-manager-qt} package and either wholly disable the
2151@samp{OTP} application for the USB interface or, from the
2152@samp{Applications -> OTP} view, delete the slot 1 configuration, which
2153comes pre-configured with the Yubico OTP application.
2154
2137@node Dynamic DNS mcron job 2155@node Dynamic DNS mcron job
2138@section Dynamic DNS mcron job 2156@section Dynamic DNS mcron job
2139 2157