I’m trying to get Onlykey to with with full-disk encryption, using dm-crypt and LUKS. Of course, it is trivial to simply have Onlykey enter a password, but I would very much like to use some of the higher-entropy options available to Yubikey users.
In crypttab(5), they have an example using an RSA-key stored on a yubikey accessed through PKCS#11. I was able to get to the point where I have a key saved on my unlocked onlykey, but when I run p11tool --list
, my Onlykey is nowhere to be found.
Is there some other method I can use, or is there a way to get the method described in the man pages working with Onlykey?