Split presigned signature verification + fix conditions #735

Merged
lx merged 6 commits from fix-presigned into main 2024-02-28 11:38:01 +00:00
Owner

The objective of this PR is to split code paths for regular signature verification, and verification of pre-signed URLs. The idea behind this is that we want a clearer view of what is verified upon signature verification, because it isn't exactly the same thing for both (we have to check with the official docs). Also we want to check that the correct set of headers is signed, I don't think we do it now but Amazon says that all x-amz-* headers must be included in the signedheaders list if they are to be used.

The objective of this PR is to split code paths for regular signature verification, and verification of pre-signed URLs. The idea behind this is that we want a clearer view of what is verified upon signature verification, because it isn't exactly the same thing for both (we have to check with the official docs). Also we want to check that the correct set of headers is signed, I don't think we do it now but Amazon says that all x-amz-* headers must be included in the signedheaders list if they are to be used.
lx changed title from [fix-presigned] WIP: try to split presigned/normal signature verification to WIP: split presigned signature verification + fix checks 2024-02-27 22:02:20 +00:00
lx changed title from WIP: split presigned signature verification + fix checks to WIP: split presigned signature verification + fix conditions 2024-02-27 22:02:30 +00:00
lx changed title from WIP: split presigned signature verification + fix conditions to Split presigned signature verification + fix conditions 2024-02-28 10:44:03 +00:00
lx force-pushed fix-presigned from e610e16abb to 90cab5b8f2 2024-02-28 11:24:38 +00:00 Compare
lx merged commit 10031a3a91 into main 2024-02-28 11:38:01 +00:00
lx deleted branch fix-presigned 2024-02-28 11:38:02 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Deuxfleurs/garage#735
No description provided.