mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-08 01:10:03 +01:00
PSID length is de-facto always 32 alphanumeric characters. Limit the read of PSID from keyfile to this limit (if not set by explicit size option). This eliminates mistakes when the keyfile contains EOL characters. Also, some OPAL drives accepts PSID with any suffix, this patch unifies processing (it works everywhere the same).
1.7 KiB
1.7 KiB