Bugzilla – Attachment 2664 Details for
Bug 2427
ssh keygen is trying to read uninitialized slots on smart card (and is failing)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ignore uninitialized slots
file_2427.txt (text/plain), 577 bytes, created by
Jakub Jelen
on 2015-07-14 17:48:55 AEST
(
hide
)
Description:
ignore uninitialized slots
Filename:
MIME Type:
Creator:
Jakub Jelen
Created:
2015-07-14 17:48:55 AEST
Size:
577 bytes
patch
obsolete
>diff --git a/ssh-pkcs11.c b/ssh-pkcs11.c >index e074175..dfa6e31 100644 >--- a/ssh-pkcs11.c >+++ b/ssh-pkcs11.c >@@ -631,6 +631,10 @@ pkcs11_add_provider(char *provider_id, char *pin, struct sshkey ***keyp) > error("C_GetTokenInfo failed: %lu", rv); > continue; > } >+ if (!(token->flags & CKF_TOKEN_INITIALIZED)) { >+ debug("token in slot %d not initialized, skipping ...", i); >+ continue; >+ } > rmspace(token->label, sizeof(token->label)); > rmspace(token->manufacturerID, sizeof(token->manufacturerID)); > rmspace(token->model, sizeof(token->model));
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 2427
: 2664