Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Yubikey core error: no yubikey present" at boot #94

Open
kolompar12 opened this issue Mar 11, 2024 · 0 comments
Open

"Yubikey core error: no yubikey present" at boot #94

kolompar12 opened this issue Mar 11, 2024 · 0 comments

Comments

@kolompar12
Copy link

Hello!

I found an issue related to identifying Yubikey when I'm trying to open a LUKS disk at boot.
When I add more entries to fstab I will get "Yubikey core error: no yubikey present" error message.

The issue happens with:

fstab

/dev/mapper/luks        /               ext4	errors=remount-ro   	0	1
UUID=XXXXX              /boot           ext4	defaults	        	0	2
UUID=YYYYY              /boot/efi       vfat	umask=0077	            0	1
UUID=ZZZZZ              /mnt/disk1      ext4	defaults,nofail,noatime	0	2
/dev/mapper/cryptodisk  /mnt/disk2     ext4	defaults,nofail,noatime	0	2

crypttab
cryptodisk UUID=WWWWW none luks,discard,keyscript=/usr/share/yubikey-luks/ykluks-keyscript

The issue solved by commenting out external disks:
fstab

/dev/mapper/luks        /               ext4	errors=remount-ro   	0	1
UUID=XXXXX              /boot           ext4	defaults	        	0	2
UUID=YYYYY              /boot/efi       vfat	umask=0077	            0	1
#UUID=ZZZZZ              /mnt/disk1      ext4	defaults,nofail,noatime	0	2
#/dev/mapper/cryptodisk  /mnt/disk2     ext4	defaults,nofail,noatime	0	2

OS: Debian GNU/Linux 12 (bookworm)
Kernel: 6.1.0-18-amd64
Package: 0.5.1+29.g5df2b95-6.1

Could you help to fix this please?
Thank you!

Have a nice day!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant