-
Notifications
You must be signed in to change notification settings - Fork 2
Description
This has been a wild day of chasing down rabbit holes (RSA, OpenSSL, different RFCs etc.) and my head is spinning. So forgive me if my interpretation of this is totally wrong:
I tried to write a test case (loosely) based on the example in this section here: https://www.rfc-editor.org/rfc/rfc9421.html#name-multiple-signatures
In that example the @authority component is derived from the host header as far as I understand. But there is also a forwarded header in the example. linzer delegates getting the @authority derived component to rack and rack uses the forwarded header to overwrite whatever is in host.
As a result linzer produces a different signature base than the example shows.
The question now is, did I do/get something wrong (totally possible 😅 ), is this a bug in linzer, is it a bug in rack or even a mistake in the RFC (I think I found another one, so again, quite possible)?