Add test vectors for GBS SPKI hash calculation #4061

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

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.
exarkun added the
unknown
normal
defect
n/a
labels 2023-08-22 12:15:11 +00:00
exarkun added this to the undecided milestone 2023-08-22 12:15:11 +00:00
Author

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).
exarkun self-assigned this 2023-08-22 12:18:10 +00:00
GitHub <noreply@github.com> commented 2023-09-05 13:55:40 +00:00
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
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#4061
No description provided.