Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 157954 Details for
Bug 186469
pkcs11 / smartcard support for openssh
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
A script to get the smart card recognized by ssh-agent, to be ran from ~/.bashrc or .profile.
ssh-card-init (text/plain), 980 bytes, created by
Todd Denniston
on 2007-06-26 20:33:07 UTC
(
hide
)
Description:
A script to get the smart card recognized by ssh-agent, to be ran from ~/.bashrc or .profile.
Filename:
MIME Type:
Creator:
Todd Denniston
Created:
2007-06-26 20:33:07 UTC
Size:
980 bytes
patch
obsolete
># -*- ksh -*- #make this script use ksh syntax mode in XEmacs. >#purpose: Cause ssh-agent to recognize a card that is in the reader as a ># source for keys. ># $Id: ssh-card-init,v 1.2 2007/06/26 19:27:17 tdennist Exp tdennist $ > >SSH_ADD_BIN=ssh-add >LIB_COOLKEY=/usr/lib/pkcs11/libcoolkeypk11.so > >#setup which applet to use when we need to get the pin. >$SSH_ADD_BIN --pkcs11-ask-pin /usr/libexec/openssh/gnome-ssh-askpass > >#setup which libpkcs11 we want to use and the mode we want to use. >$SSH_ADD_BIN --pkcs11-add-provider --pkcs11-provider $LIB_COOLKEY \ > --pkcs11-protected-authentication --pkcs11-sign-mode 1 > >#run a discovery of ids on the card, and then add all of them to >#the list which ssh-agent can use to respond. >for i in `$SSH_ADD_BIN --pkcs11-show-ids --pkcs11-provider $LIB_COOLKEY | \ > grep "Serialized id:" |awk '{print $3}'`; \ >do \ > $SSH_ADD_BIN --pkcs11-add-id --pkcs11-id "$i" ; \ >done > > ># LocalWords: ksh init tdennist COOLKEY pkcs libpkcs awk
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 186469
:
157950
|
157951
|
157952
|
157953
| 157954 |
157955