-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
CardConnection transmit error while generating RSA Keys longer than 64 bytes (SAM) #28
Comments
Hello, |
Turns out I was using outdated versions of pcscd and libccid because I'm using Ubuntu 16.04. I was using these versions: then we tested it on Debian (4.9.0) with these versions: It worked fine on Debian with those versions, even while trying to generate 256 byte keys (1 min approximately) Sorry for the inconvenience! |
Hello,
I'm trying to generate a RSA key pair using a SAM (Secure Access Module), I followed all instructions from the documentation, but if I try to generate keys larger than 64 bytes (i.e. 128/256 bytes) I get a weird error related to the PCSC driver.
This is the most detailed stack trace that I could get, using cyberflex:
Also, in the docs they said that this C-APDU execution takes a while (1 minute or so, for longer keys), when I tried generating 64 byte keys or less it didn't took as much (barely 1 or 2 seconds), but when generating larger keys it starts computing for about 3-5 seconds, and then this error happens. I thought that maybe there was a timer/timeout callback, but couldn't find anything related, even so, maybe that extra bit of information helps.
Thanks in advance!
The text was updated successfully, but these errors were encountered: