-
Notifications
You must be signed in to change notification settings - Fork 72
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
Extracting RSA or ECDSA Public Key from card #13
Comments
Hi, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I noticed that there is no APDU command specifically meant to extract a particular Public Key from the card except during private key generation procedure. One alternative would probably be to store the public key into the ISO filesystem after key generation but this would be a problem if between different programs, they need to use a shared private key. One use case is an email signing program would generate the keypair but this private key would also be used for secure remote login program. The lack of ability to read the public key with a dedicated APDU command would mean that programs would need to traverse the entire filesystem or need to know the format of the public key stored into the ISO filesystem to be able to use the key in the card.
I hope consideration into a dedicate GET_PUBLIC_KEY command can be created for this purpose to allow all programs relying on IsoApplet to access the public keys in a uniform manner.
The text was updated successfully, but these errors were encountered: