-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Problems with downloading a public RSA key to a SSD with Delegate Management #29
Comments
Hi, The problem can be the key version parameters: "-keyver 0 -newkeyver 2" keyver 0 is indicating the default version, usually used during mutual authentication to take the first available one. Maybe you have to use different values here, e.g. "-keyver 1 -newkeyver 1" to overwrite key set version 1 with new values. Original comment by: kaoh |
Thanks for the answer! 0 to 0 :
0 to 1:
1 to 1:
1 to 2:
2 to 2:
But any combination comes with errors. Can it is necessary somehow on special to create SSD with DM or to use any other algorithm for generation of RSA keys? Original comment by: grv333 |
Are there any ideas, what could be the problem? Original comment by: *anonymous |
No, the combination 0,0 seems not bad, but the error sounds like an encoding problem of the transmitted data of the PUT_KEY command, it would be necessary to have a look into the manual how the data has to be sent. Usually the manufacturers do not provide a manual or hide it under NDAs. I'm also not sure if during the creation of a security domain any data must be passed for an inital key set for DM. Otherwise a default key must be used or the SD is not functional. Original comment by: kaoh |
Is this problem solved? I cannot see the comments except kaoh's and the solution to this question. |
Most likely not, the bug is from a long time ago and a new bug description is needed. Since I also have no cards not the card type is mentioned to reproduce this, it is unlikely to going to be fixed without funding. |
I encountered problems when I tried to put the public RSA key on the Supplementary Security Domain (SSD) with the Delegate Management(DM) privs to smart card using the GPShell utility. What I do:
I generate a private key using the options:
Based on it, I generate a public key:
I create on the smart card a domain with Delegated Management privs with the help of Global Platform Pro:
Reuslt:
I install the keys MAC, ENC and DEK (By Global Platform Pro):
Domain became PERSONALIZED:
With the help of GPShell I try to put the public RSA key to the domain:
Gives out the error parameters P1, P2, but I can not understand what the problem is and what I'm doing wrong. It is possible that the length of the password or the key, or their appearance, does not. Is it possible to somehow load keys with the help of Global Platform Pro or is it possible only with the help of GPShell?
Reported by: grv333
The text was updated successfully, but these errors were encountered: