Bugzilla – Attachment 2392 Details for
Bug 2187
ssh-add unnecessarily prompts for PKCS#11 pin when removing key
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
openssh-6.3p1-ssh-add.patch
file_2187.txt (text/plain), 646 bytes, created by
jay
on 2013-12-18 09:21:35 AEDT
(
hide
)
Description:
openssh-6.3p1-ssh-add.patch
Filename:
MIME Type:
Creator:
jay
Created:
2013-12-18 09:21:35 AEDT
Size:
646 bytes
patch
obsolete
>--- openssh-6.3p1.orig/ssh-add.c 2013-11-18 17:42:31.000000000 -0600 >+++ openssh-6.3p1/ssh-add.c 2013-11-18 17:55:40.000000000 -0600 >@@ -331,12 +331,17 @@ > static int > update_card(AuthenticationConnection *ac, int add, const char *id) > { >- char *pin; >+ char *pin = NULL; > int ret = -1; > >- pin = read_passphrase("Enter passphrase for PKCS#11: ", RP_ALLOW_STDIN); >+ if (add) >+ pin = read_passphrase("Enter passphrase for PKCS#11: ", RP_ALLOW_STDIN); >+ else >+ pin = xstrdup(""); >+ > if (pin == NULL) > return -1; >+ > > if (ssh_update_card(ac, add, id, pin, lifetime, confirm)) { > fprintf(stderr, "Card %s: %s\n",
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 2187
:
2392
|
2393
|
2624