From 59d6f7b097ab67b8353db96dfcb1907fce7f5bc6 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 1 Dec 2020 14:23:38 +0100 Subject: [PATCH] man: drop comment about ECC vs. RSA and Yubikey The comment is pointless, ECC systematically doesn't allow encryption/decryption directly, only RSA does that. If you want to use ECC for asymmetric encryption/decryption you have to combine it with key exchange scheme and symmetric scheme. This all is not a limitation of the Yubikey, hence don't claim so. It's just how ECC is. --- man/crypttab.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/man/crypttab.xml b/man/crypttab.xml index 04695f626f..93c0ec01e4 100644 --- a/man/crypttab.xml +++ b/man/crypttab.xml @@ -568,7 +568,6 @@ external /dev/sda3 keyfile:LABEL=keydev keyfile-timeout=10s,cipher=xchac A few notes on the above: - We use RSA (and not ECC), since Yubikeys support PKCS#11 Decrypt() only for RSA keys We use RSA2048, which is the longest key size current Yubikeys support LUKS key size must be shorter than 2048bit due to RSA padding, hence we use 128 bytes We use Yubikey key slot 9d, since that's apparently the keyslot to use for decryption purposes,