From: Peter Korsgaard <peter@korsgaard.com>
To: Jean Delvare <jdelvare@suse.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Revert "firmware: dmi_scan: Use lowercase letters for UUID"
Date: Thu, 06 Dec 2018 10:22:18 +0100 [thread overview]
Message-ID: <87a7ljyppx.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <1544086444.5492.1.camel@suse.com> (Jean Delvare's message of "Thu, 06 Dec 2018 09:54:04 +0100")
>>>>> "Jean" == Jean Delvare <jdelvare@suse.com> writes:
> On Wed, 2018-12-05 at 22:13 +0100, Peter Korsgaard wrote:
>> This reverts commit 712ff25450bd01366301eef81c33e865d901e7b7.
>>
>> The output of dmi_save_uuid() is exposed to user space as
>> /sys/devices/virtual/dmi/id/*_uuid, so this breaks backwards compatibility,
>> E.G. I have systems that include the content of dmi/id/product_uuid as part
>> of the keyphrase for cryptsetup luksOpen.
>>
>> As the change was purely cosmetical, revert it to fix such breakage.
> The change is not "cosmetical". The change was done to comply with RFC
> 4122:
> https://tools.ietf.org/html/rfc4122
> The hexadecimal values "a" through "f" are output as
> lower case characters and are case insensitive on input.
I get that - but it changes the content of sysfs entries, breaking real
systems - E.G. a user space ABI regression.
It is a cosmetic code change in the sense that no known software was
broken with the upper case characters.
> If "cryptsetup luksOpen" does not lowercase digits before computing its
> key passphrase, then it's not RFC 4122-compliant and should be fixed.
cryptsetup naturally doesn't know anything about RFC 4122. It just reads
a disk encryption keyphrase which happen to include the content of
id/product_uuid because of my scripts.
> Nak. This is too late. Changing it again would just add confusion.
Please reconsider. 4.17 is from June, and 4.19 has only recently become
LTS.
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2018-12-06 9:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-05 21:13 Peter Korsgaard
2018-12-05 21:36 ` Peter Korsgaard
2018-12-06 8:54 ` Jean Delvare
2018-12-06 9:22 ` Peter Korsgaard [this message]
2018-12-06 10:28 ` Jean Delvare
2018-12-06 15:46 ` Peter Korsgaard
2018-12-11 12:06 ` Peter Korsgaard
2018-12-11 13:49 ` Jean Delvare
2018-12-11 14:36 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a7ljyppx.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.com \
--cc=jdelvare@suse.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®