This revised patch uses a compare function. It doesn't modify the input supplied by the user.
There are 3 places where UUIDs are compared: 1. when a crypto disk is referenced as a (cryptouuid/...) #cryotodisk.c grub_cryptodisk_open 2. when the -u argument is given to cryptomount it checks by the uuid that the device isn't already mounted #cryptodisk.c grub_cryptodisk_get_by_uuid 3. when locating a device by uuid it compares the given uuid with the LUKS header #luks.c configure_ciphers _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel