-
Notifications
You must be signed in to change notification settings - Fork 161
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
Readability of dumpASN1.js output #62
Comments
A user friendly representation of the keyUsage would be great.
Could look like
|
Main purpose was to have a way to dump the parsed data, in order to debug the parser itself.
Actually it has been there since (almost) the beginning… 🤣
I agree. the RFC does contain the name of the bits, and that could be done. Right now RFC parser is not decoding that, though.
I generally agree on this, especially on the "color change", a bit less so on the usage of parens instead of colons… but yes work can be done in that area. As per the first quote this dump might be useful for someone else, but main objective was to aid myself during the writing of the parser, so it needed to show more stuff than generally useful "for the end user". This kind of data should eventually end up in the browser (optionally), and then I expect this CLI tool the be much less important at the time. But this is no reason not to have it improve anyways, of course. |
In this case, coloring like in the UI and indention should make it a little bit more readable. Parent Or with single lines |
Single lines look good to me. 👍🏼 |
This is not a bug issue but a discussion thread regarding the readability of dumpASN1.js
In general it is much more readable than the asn1parse from openssl ;)
I'm not sure about the purpose of the dump functionality, but I expect it should be used to get information about the content of the ASN1 data.
Thus I would not include to much technical information. I would remove the following data (or maybe would hide them by default and only show them in a "detailed" mode:
The text was updated successfully, but these errors were encountered: