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

What's difference between COSE_Sign COSE_Sign0 COSE_Sign1 #191

Open
hjian2017 opened this issue Oct 18, 2018 · 6 comments
Open

What's difference between COSE_Sign COSE_Sign0 COSE_Sign1 #191

hjian2017 opened this issue Oct 18, 2018 · 6 comments

Comments

@hjian2017
Copy link

Hi,
I can find the difference between COSE_Sign and COSE_Sign1. But don't know what is COSE_Sign0.
Thanks.
Best.

@LudwigSeitz
Copy link

I think you found a typo. COSE_Sign0 is only mentioned once (in section 3.1) and i strongly suspect it should have been COSE_Sign1.

@hjian2017
Copy link
Author

Hi @LudwigSeitz , thx so much for your reply. It confused me for a long time.
I can't believe it's a typo even I really agree on you.

@LudwigSeitz
Copy link

Since you found it I would let you take the credit if you want: https://www.rfc-editor.org/errata.php

@hjian2017
Copy link
Author

Thanks :)

@jimsch
Copy link
Contributor

jimsch commented Oct 18, 2018

It is a typo. THe structure was originally called COSE_Sign0 to match the encrypt and mac structures. I decided that this was not right since we are defining one signer here and renamed the structure to COSE_Sign1. I missed a spot.

@hjian2017
Copy link
Author

Cool. "COSE_Sign1" makes sense. Unfortunately, most of opensource library still use "COSE_Sign0". @jimsch @mottigondabi

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