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

[Feature request] Display more infos about the ehc_msg #4

Closed
Cqoicebordel opened this issue Jul 9, 2021 · 4 comments
Closed

[Feature request] Display more infos about the ehc_msg #4

Cqoicebordel opened this issue Jul 9, 2021 · 4 comments

Comments

@Cqoicebordel
Copy link
Contributor

Right now, the only info about the ehc COSE message displayed is the payload.

Having access to the signature and, more generally, what is available outside of the payload would be very welcome.

Note that I'm not sure of anything at this point. I don't know what is actually accessible in the ehc qr code itself. That's why I love your script, as it allows me to follow by "hand" what is done to verify an ehc.
Except for the signature part, that's why I filing this FR :)

@panzi
Copy link
Owner

panzi commented Jul 9, 2021

I think the only other info in the COSE message is the signature algorithm, which I think should be always the same as in the certificate public key? Well, I just added printing that.

@panzi
Copy link
Owner

panzi commented Jul 9, 2021

Ok, there is the signature itself. But that's a bit long and would kinda overflow the output. Maybe I can add an option for that.

@Cqoicebordel
Copy link
Contributor Author

Yeah, that's what I thought : the certificate (as in certs) had to validate… something in the ehc, and that something wasn't visible anywhere. So that was a piece of the puzzle missing. I guessed it would be a signature, but wasn't sure if only that.

In any case, yeah, if you are willing, an option would be good for that. Even outputing to a file would be good :)

@panzi
Copy link
Owner

panzi commented Jul 19, 2021

I'm displaying more now (though the x509 certificate extensions in not really a nice way).

@panzi panzi closed this as completed Jul 19, 2021
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

2 participants