-
Notifications
You must be signed in to change notification settings - Fork 705
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
Can't store key on Rutoken ECP 2.0 #931
Comments
Please attach a debug log! There aren't exactly many maintainers of the ru token, maybe @alonbl can help |
[pkcs15-init] card.c:720:sc_select_file: 'SELECT' error: -1201 (File not found) |
Seems very similar to #671 |
Indeed it does, but @viktorTarasov should have fixed the error in 0838520, which is included in 0.16.0. Could you try against a build of |
I'm using exactly Opensc-0.16.0. |
Master has been broken. |
Try commit 4ad838e, I think it fixes this issue |
@hexum could you please verify if the proposed patch fixes your problem? |
Master was built |
it's not yet in
|
Instruction doesn't work. Can you create a branch in your own repo and tell me it's name?
|
Use the existing repository
|
Right commands were
I've managed to make ebuild and install right version. (I do not know how to use opensc without installation, a lot of LD_LABRARY_PATH magick is needed).
Now I can store key. We can close the bug.
I'm really bored to be unpaid tester of products I paid for... |
@hexum, you certainly didn't pay me to do the project management. Next time if you're buying things, make sure to get the support package as well. And then, use your paid contact to do the problem clearing. @konstantinpersidskiy, do you think the listing of the old key is a related issue? |
You are definitely right. |
@hexum ,
You deleted private key and OpenSC lists public key - that's not a bug @frankmorgner , I suppose there's no issue with old key listing at all (at least, I couldn't find any) |
Really this time it works. And double CRUD test is passed. |
Can't store SSH key on Rutoken ECP.
ART: 3b:8b:01:52:75:74:6f:6b:65:6e:20:44:53:20:c1
Steps to reproduce
Opensc-0.16.0
Error: "Failed to store private key: Invalid arguments"
Subsequent repeating of the last operation produces error: "Failed to store private key: File already extsts"
Note
I do not want to generate key on the token. Key should be validated and backuped.
The text was updated successfully, but these errors were encountered: