Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to retrieve cryptographic material - bad link in Proof Serialization section? #108

Open
wip-abramson opened this issue Jan 31, 2025 · 1 comment
Assignees

Comments

@wip-abramson
Copy link

The proof serialization section - https://www.w3.org/TR/vc-di-eddsa/#proof-serialization-eddsa-jcs-2022

States:

Let privateKeyBytes be the result of retrieving the private key bytes associated with the options.verificationMethod value as described in the Data Integrity [VC-DATA-INTEGRITY] specification, Section 4: Retrieving Cryptographic Material.

However the section referenced - Retrieving Cryptographic Material - does not seem to exist in the Data Integrity specification as far as I can tell.

@dlongley
Copy link
Contributor

dlongley commented Jan 31, 2025

Yeah, I think this spec didn't get the same update that removed that now moved / removed reference (but the ecdsa one did). So we just need a PR to clean that up so it looks like the other spec (in the following sections):

https://w3c.github.io/vc-di-ecdsa/#proof-serialization-ecdsa-rdfc-2019
https://w3c.github.io/vc-di-ecdsa/#proof-verification-ecdsa-rdfc-2019

cc: @Wind4Greg

Also, note that this is about the private key bytes (or a signing interface), which isn't related to retrieving public key material anyway. How the private key interface is provided is implementation specific. The public key bit just needs to point at the CID spec now where the reference moved (see second link above).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants