LUKS2 AES-GCM-random erroring with key size issue.

vinay paduru <[email protected]>
Newsgroups gmane.linux.kernel.device-mapper.dm-crypt
Message-ID <BYAPR05MB57499A41368A360FF8271AB8E3EB0@BYAPR05MB5749.namprd05.prod.outlook.com>
Hello Team,

I am trying to encrypt a volume with LUKS2 AES-GCM-Random cipher and I am seeing an error saying “key size 256 bits” not available. I tried changing the key size but same error repeats for whatever the key size we give.

Could you please help us solve this problem.



# cryptsetup --verbose luksFormat --type luks2 --cipher aes-gcm-random --integrity aead /dev/sdb2


WARNING!

========

This will overwrite data on /dev/sdb2 irrevocably.


Are you sure? (Type 'yes' in capital letters): YES

Enter passphrase for /dev/sdb2:

Verify passphrase:

Cipher aes-gcm-random (key size 256 bits) is not available.



Regards,
Vinay

_______________________________________________
dm-crypt mailing list
[email protected]
https://www.saout.de/mailman/listinfo/dm-crypt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.