systemd-cryptenroll does not support PKCS#11 tokens
Bug #1983758 reported by
jean-christophe manciot
This bug affects 6 people
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| systemd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
linux 5.19.0-13-generic #13-Ubuntu SMP PREEMPT_DYNAMIC Thu Jul 28 15:28:43 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
systemd 249.11-0ubuntu3.4
ykman piv keys generate --algorithm ECCP256 9a pubkey.pem
Enter a management key [blank to use default key]:
ykman piv certificates generate --subject "PKCS#11" 9a pubkey.pem
Enter a management key [blank to use default key]:
Enter PIN: ******
systemd-cryptenroll --pkcs11-
PKCS#11 tokens not supported on this build.
where /dev/sda5 is luks-encrypted.
To post a comment you must log in.

Same issue if I use the slot 9d instead of 9a.