|
From: | John Lane |
Subject: | Re: [PATCH 5/5] Cryptomount support for hyphens in UUID |
Date: | Mon, 29 Jun 2015 15:52:13 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |