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

Add documentation for PKCS15 *.profile files #1833

Closed
majkrzak opened this issue Oct 23, 2019 · 0 comments · Fixed by #3132
Closed

Add documentation for PKCS15 *.profile files #1833

majkrzak opened this issue Oct 23, 2019 · 0 comments · Fixed by #3132

Comments

@majkrzak
Copy link
Contributor

In current release there are plenty of *.profile files, but there is no single documentation for it. Man page is very descriptive: https://github.com/OpenSC/OpenSC/blob/master/doc/files/pkcs15-profile.5.xml

Some syntatic information can be extracted from the https://github.com/OpenSC/OpenSC/blob/master/src/pkcs15init/profile.c file, but semantic one are almost impossible to figure out.

For someone who is trying to customize the card it is really painful to do it, especially when he is comparing them with PKCS#15 https://www.foo.be/docs/opensst/ref/pkcs/pkcs-15/pkcs-15v11d1.pdf

Also according to existing files themselves, they are formatted in terribly inconsistent way (even in single file there spaces/tabs mixed indents). Another case are magic numbers spreded everywhere.

@viktorTarasov @frankmorgner @okirch I would be grateful if you will do something with that.

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

Successfully merging a pull request may close this issue.

2 participants