W3C home > Mailing lists > Public > ietf-http-wg@w3.org > October to December 2022

Re: signatures vs sf-date

From: Justin Richer <jricher@mit.edu>
Date: Fri, 2 Dec 2022 20:58:16 +0000
To: Julian Reschke <julian.reschke@gmx.de>
CC: HTTP Working Group <ietf-http-wg@w3.org>
Message-ID: <714A974B-2A87-4010-B415-C85F6B788175@mit.edu>
>>> 2) When signing parts of a SF shaped field, should it support RFC
>>> 8941bis in some way?
>> That should “just work”. If you’re doing SF fields using the SF-bit or anything else that uses strict serialization rules, and your system needs and supports the SFbis definitions, then it should just work. Otherwise if someone sends you something that you can’t parse, well, then you need to figure out how to parse it, right?
>> I don’t think there’s any change that needs to be made for that. If SFbis gets out the door first (or even has an RFC number first), we can change the reference and call it a day. Or a @DATE. :)
> Hmm.
> If the sender sends something with an sf-date and signs that part,
> signature validation will fail on the recipient unless it also has SFBIS
> support, right?
> So, rephrasing this in a more generic way: once SFBIS is out, do we
> expect everybody to update their libraries? And if so, what does this
> man for what we say in the signatures spec?

I think this is going to be the problem with any upgrade that adds any new features to any system, isn’t it? If the signer is sending something in sf-date but the verifier can’t process sf-date … then that field value isn’t going to be processed correctly anyway, is it? Since the receiver wouldn’t be able to handle the sf-date field.

You have to upgrade your libraries and code to support new features. That is unsurprising and hardly unique to this current situation.

The question is what we should do about it here — and I’d argue we shouldn’t do anything about it in particular. 

 — Justin

Received on Friday, 2 December 2022 20:58:37 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 28 January 2023 21:29:47 UTC