Skip to main content
Topic: Possible to unlock LUKS drive with YubiKey? (Read 652 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Possible to unlock LUKS drive with YubiKey?

Hey,

i have used arch since a few months and set it up to use systemd-cryptenroll to unlock my root and home drive with my yubikey.

I'm currently testing Artix in a VM and like it so far. Currently this is the only thing missing  *for me*.

Are there any viable alternatives for that or will this likely never be a thing outside of systemd?


Thanks!

Re: Possible to unlock LUKS drive with YubiKey?

Reply #1
no systemd dependency just build from aur?

yubikey-personalization is in galaxy

crypsetup has inits in artix

Cat Herders of Linux

Re: Possible to unlock LUKS drive with YubiKey?

Reply #2

Code: [Select]
yay yubikey-personalization
5 aur/yubikey-personalization-gui-git 3.1.24.r3.g99fc66d-1 (+28 0.00)
    Yubico YubiKey Personalization GUI - git checkout
4 aur/yubikey-personalization-git 1.17.3.r20.g74d0873-1 (+34 0.00)
    Yubico YubiKey Personalization library and tool - git checkout
3 community/yubikey-personalization-gui 3.1.25-2 (616.7 KiB 1.3 MiB)
    Yubico YubiKey Personalization GUI
2 community/yubikey-personalization 1.20.0-3 (65.8 KiB 210.3 KiB)
    Yubico YubiKey Personalization library and tool
1 galaxy/yubikey-personalization 1.20.0-3.1 (64.9 KiB 214.6 KiB)
    Yubico YubiKey Personalization library and tool
==> Paquets à installer (ex. 1 2 3, 1-3 or ^4)

Quote
crypsetup has inits in artix

Code: [Select]
$ pacman -Ss cryptsetup
system/cryptsetup 2.4.3-2 [installé]
    Userspace setup tool for transparent encryption of block devices using
    dm-crypt
system/cryptsetup-dinit 20211025-1 (dinit-system)
    dinit stage1 script for cryptsetup
system/cryptsetup-openrc 20211126-1 (openrc-system) [installé]
    OpenRC cryptsetup init script
system/cryptsetup-s6 20220124-1 (s6-system)
    s6-rc service scripts for cryptsetup
world/cryptsetup-runit 20220428-1 (runit-system)
    runit stage1 script for cryptsetup
universe/cryptsetup-suite66 20220607-1 (suite66-system)
    66 script for cryptsetup


Re: Possible to unlock LUKS drive with YubiKey?

Reply #3
Great Thank you!