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

Where to get hmacKey from in createVerifyData #190

Open
brianorwhatever opened this issue Nov 8, 2024 · 2 comments
Open

Where to get hmacKey from in createVerifyData #190

brianorwhatever opened this issue Nov 8, 2024 · 2 comments

Comments

@brianorwhatever
Copy link

I am unable to complete step 3 of createVerifyData as I need the hmacKey however the previous step is calling parseDerivedProofValue which doesn't return an hmacKey. Am I missing something?

@dlongley
Copy link
Contributor

dlongley commented Nov 9, 2024

Ah, yes, instead step three should instead say:

Initialize labelMapFactoryFunction to the result of calling the "createLabelMapFunction" algorithm.

Like in the vc-di-ecdsa spec's createVerifyData. The parseDerivedProofValue function returns the labelMap to be used with that function.

@brianorwhatever
Copy link
Author

Thanks! this looks like it works great. I added a PR and since the function is in the ECDSA spec I linked there.

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

No branches or pull requests

3 participants