Add test vectors for GBS SPKI hash calculation #4061

Closed
opened 2023-08-22 12:15:11 +00:00 by exarkun · 2 comments
exarkun commented 2023-08-22 12:15:11 +00:00
Owner

GBS uses the SPKI hash of the server's certificate as the self-authentication mechanism for NURLs.

The calculation of this hash must remain stable and consistent over time. Add some test vectors to try to catch any changes before they make it in.

GBS uses the SPKI hash of the server's certificate as the self-authentication mechanism for NURLs. The calculation of this hash must remain stable and consistent over time. Add some test vectors to try to catch any changes before they make it in.
tahoe-lafs added the
unknown
normal
defect
n/a
labels 2023-08-22 12:15:11 +00:00
tahoe-lafs added this to the undecided milestone 2023-08-22 12:15:11 +00:00
exarkun commented 2023-08-22 12:18:02 +00:00
Author
Owner

There's one such test vector in HTTPSNurlTests. I plan to add a couple more certificates with their expected results and also intermediate SPKI bytes (pre-hashing).

There's one such test vector in HTTPSNurlTests. I plan to add a couple more certificates with their expected results and also intermediate SPKI bytes (pre-hashing).
GitHub <noreply@github.com> commented 2023-09-05 13:55:40 +00:00
Author
Owner

In fbd3831/trunk:

Merge pull request #1331 from exarkun/4061.spki-hash-test-vectors

Add more SPKI Fingerprint test vectors

Fixes ticket:4061
In [fbd3831/trunk](/tahoe-lafs/trac-2024-07-25/commit/fbd383105c3346bcf1a7cb02b0e6224b62079d99): ``` Merge pull request #1331 from exarkun/4061.spki-hash-test-vectors Add more SPKI Fingerprint test vectors Fixes ticket:4061 ```
tahoe-lafs added the
fixed
label 2023-09-05 13:55:40 +00:00
GitHub <noreply@github.com> closed this issue 2023-09-05 13:55:40 +00:00
Sign in to join this conversation.
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: tahoe-lafs/trac-2024-07-25#4061
No description provided.