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

Review rule for "kid MUST be present in the protected header" #365

Closed
sandrask opened this issue Aug 5, 2020 · 2 comments · Fixed by #476
Closed

Review rule for "kid MUST be present in the protected header" #365

sandrask opened this issue Aug 5, 2020 · 2 comments · Fixed by #476
Assignees
Labels
Milestone

Comments

@sandrask
Copy link
Contributor

sandrask commented Aug 5, 2020

There is discrepancy between spec "kid MUST be present in the protected header" and reference implementation that expects only one 'alg' header. If I implement spec version interop tests are failing.

https://github.com/decentralized-identity/sidetree/blob/0dbf2c8ce6ef8981ebc6735066841bce39e2648f/lib/core/versions/latest/util/Jws.ts#L40

// TODO: There is discrepancy between spec "kid MUST be present in the protected header"

// TODO: There is discrepancy between spec "kid MUST be present in the protected header"

@troyronda
Copy link
Contributor

@sandrask
Copy link
Contributor Author

The spec was changed to "kid MAY be present in the protected header" - will remove commented out code and issue reference from the code.

@sandrask sandrask self-assigned this Nov 15, 2020
@sandrask sandrask added the chore label Nov 15, 2020
@sandrask sandrask added this to the 0.1.5 milestone Nov 15, 2020
sandrask added a commit to sandrask/sidetree-core-go that referenced this issue Nov 15, 2020
Spec has been updated to "kid MAY be present in the protected headers". Remove commented out code.

Closes trustbloc#365

Signed-off-by: Sandra Vrtikapa <sandra.vrtikapa@securekey.com>
sandrask added a commit to sandrask/sidetree-core-go that referenced this issue Nov 15, 2020
Spec has been updated to "kid MAY be present in the protected headers". Remove commented out code.

Closes trustbloc#365

Signed-off-by: Sandra Vrtikapa <sandra.vrtikapa@securekey.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants