From what I understood, the change to openssh listed in: rpm -q --changelog openssh |less as: "* Wed Jun 20 2007 Tomas Mraz tmraz@redhat.com - 4.5p1-7 - experimental NSS keys support - correctly setup context when empty level requested (#234951) " was supposed to allow the Common Access Card (CAC) to work with the shipped Fedora 8 ssh.
As per NSS usual, everything is undocumented, i.e., `ssh-add --help` does not help at all, and `man ssh-add` points to `ssh-add -s reader` # ssh-add -s 0 Enter passphrase for smartcard: SSH_AGENT_FAILURE Could not add card: 0 # ssh-add -s 1 Enter passphrase for smartcard: SSH_AGENT_FAILURE Could not add card: 1
So does anyone know how to use the possible functionality, or are we reduced to reading the source?
* Todd Denniston (Todd.Denniston@ssa.crane.navy.mil) wrote:
From what I understood, the change to openssh listed in: rpm -q --changelog openssh |less as: "* Wed Jun 20 2007 Tomas Mraz tmraz@redhat.com - 4.5p1-7
- experimental NSS keys support
- correctly setup context when empty level requested (#234951)
" was supposed to allow the Common Access Card (CAC) to work with the shipped Fedora 8 ssh.
As per NSS usual, everything is undocumented, i.e., `ssh-add --help` does not help at all, and `man ssh-add` points to `ssh-add -s reader` # ssh-add -s 0 Enter passphrase for smartcard: SSH_AGENT_FAILURE Could not add card: 0 # ssh-add -s 1 Enter passphrase for smartcard: SSH_AGENT_FAILURE Could not add card: 1
So does anyone know how to use the possible functionality, or are we reduced to reading the source?
-- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
There is a link:
http://www.nabble.com/ssh-and-CAC-t2483281.html
with some information.
You have the SmartCard setup working under Linux?
What reader are you using? I've tried the ActiveCard v2.0 USB to no avail. Actually, this is known not to work, but I had to try anyway :)
I should have an Athena USB reader coming my way soon. Hopefully that will allow use with FireFox.
Jeff Krebs
Jeff Krebs wrote, On 12/04/2007 08:00 PM:
- Todd Denniston (Todd.Denniston@ssa.crane.navy.mil) wrote:
From what I understood, the change to openssh listed in: rpm -q --changelog openssh |less as: "* Wed Jun 20 2007 Tomas Mraz tmraz@redhat.com - 4.5p1-7
- experimental NSS keys support
- correctly setup context when empty level requested (#234951)
" was supposed to allow the Common Access Card (CAC) to work with the shipped Fedora 8 ssh.
As per NSS usual, everything is undocumented, i.e., `ssh-add --help` does not help at all, and `man ssh-add` points to `ssh-add -s reader` # ssh-add -s 0 Enter passphrase for smartcard: SSH_AGENT_FAILURE Could not add card: 0 # ssh-add -s 1 Enter passphrase for smartcard: SSH_AGENT_FAILURE Could not add card: 1
So does anyone know how to use the possible functionality, or are we reduced to reading the source?
There is a link:
Look at the next to the last email in that thread... yep that's me.
with some information.
You have the SmartCard setup working under Linux?
Yes, well _had_ in FC[1457]. https://bugzilla.redhat.com/show_bug.cgi?id=186469#c8
But Red Hat believes that known to be working (and documented) solutions are bad: https://bugzilla.redhat.com/show_bug.cgi?id=186469#c11 so they tried to put their buggered up (my opinion) NSS solution in FC8 ssh instead. (I will comment more on this when I get done doing minimal testing on Alon's patches to http://www.openvpn.net http://gnupg-pkcs11.sourceforge.net/ As we (DoD) need all of these to work, and apparently Alon has had them working for over a year now, considering the date on the mail you pointed to. At least the twists they did to pam_pkcs11 worked, even if they did not update the documentation to explain how to make it work. I was fortunately on another mailing list where someone had posted a quick how to get it to sort of work.)
My real problem here is that I am trying to work with what the distribution has (RH's NSS), instead of dropping back and punting Alon and my patches into yet another version of the distro which would mean I have to support it each time a new fedora ssh patch is released.
What reader are you using? I've tried the ActiveCard v2.0 USB to no avail. Actually, this is known not to work, but I had to try anyway :)
SCM SCR331 firmware 5.18 there is newer firmware that makes the SCR331 perform full length CCID transfers (needed for the PIV applet), and I intend to update the whole batch we have after I test a few.
BTW IIRC the ActiveCard v2.0 USB can be updated with the SCR firmware to effectively make it act as an SCR, or so I have read, YMMV. I highly suggest researching the change before doing it though, and I think at ~$20 a new SCRx31 or gemplus reader are easier to deal with. (So I suppose if you consider the ActiveCard reader a door stop anyway, you would not loose anything if you burn it out in the attempt to update the firmware).
I should have an Athena USB reader coming my way soon. Hopefully that will allow use with FireFox.
Assuming Athena USB reader is CCID Compliant http://pcsclite.alioth.debian.org/ccid.html#CCID_compliant then at least the CAC, through pcscd and CoolKey can be made to work with pam_pkcs11 and Mozilla products.
Hope this helps you.
* Todd Denniston (Todd.Denniston@ssa.crane.navy.mil) wrote:
Jeff Krebs wrote, On 12/04/2007 08:00 PM:
- Todd Denniston (Todd.Denniston@ssa.crane.navy.mil) wrote:
From what I understood, the change to openssh listed in: rpm -q --changelog openssh |less as: "* Wed Jun 20 2007 Tomas Mraz tmraz@redhat.com - 4.5p1-7
- experimental NSS keys support
- correctly setup context when empty level requested (#234951)
" was supposed to allow the Common Access Card (CAC) to work with the shipped Fedora 8 ssh.
As per NSS usual, everything is undocumented, i.e., `ssh-add --help` does not help at all, and `man ssh-add` points to `ssh-add -s reader` # ssh-add -s 0 Enter passphrase for smartcard: SSH_AGENT_FAILURE Could not add card: 0 # ssh-add -s 1 Enter passphrase for smartcard: SSH_AGENT_FAILURE Could not add card: 1
So does anyone know how to use the possible functionality, or are we reduced to reading the source?
There is a link:
Look at the next to the last email in that thread... yep that's me.
with some information.
You have the SmartCard setup working under Linux?
Yes, well _had_ in FC[1457]. https://bugzilla.redhat.com/show_bug.cgi?id=186469#c8
But Red Hat believes that known to be working (and documented) solutions are bad: https://bugzilla.redhat.com/show_bug.cgi?id=186469#c11 so they tried to put their buggered up (my opinion) NSS solution in FC8 ssh instead. (I will comment more on this when I get done doing minimal testing on Alon's patches to http://www.openvpn.net http://gnupg-pkcs11.sourceforge.net/ As we (DoD) need all of these to work, and apparently Alon has had them working for over a year now, considering the date on the mail you pointed to. At least the twists they did to pam_pkcs11 worked, even if they did not update the documentation to explain how to make it work. I was fortunately on another mailing list where someone had posted a quick how to get it to sort of work.)
My real problem here is that I am trying to work with what the distribution has (RH's NSS), instead of dropping back and punting Alon and my patches into yet another version of the distro which would mean I have to support it each time a new fedora ssh patch is released.
What reader are you using? I've tried the ActiveCard v2.0 USB to no avail. Actually, this is known not to work, but I had to try anyway :)
SCM SCR331 firmware 5.18 there is newer firmware that makes the SCR331 perform full length CCID transfers (needed for the PIV applet), and I intend to update the whole batch we have after I test a few.
BTW IIRC the ActiveCard v2.0 USB can be updated with the SCR firmware to effectively make it act as an SCR, or so I have read, YMMV. I highly suggest researching the change before doing it though, and I think at ~$20 a new SCRx31 or gemplus reader are easier to deal with. (So I suppose if you consider the ActiveCard reader a door stop anyway, you would not loose anything if you burn it out in the attempt to update the firmware).
I should have an Athena USB reader coming my way soon. Hopefully that will allow use with FireFox.
Assuming Athena USB reader is CCID Compliant http://pcsclite.alioth.debian.org/ccid.html#CCID_compliant then at least the CAC, through pcscd and CoolKey can be made to work with pam_pkcs11 and Mozilla products.
Hope this helps you.
-- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Thank you for the helpful response.
I just need to hit DoD sites... As long as I can use the PKI certificates, I should be good to go. The Athena is CCID compliant, so there should be no issues. I also built an RPM of the Athena-provided driver, so either way I should be covered.
My ActiveCard Reader "brick" is a really old model, and it's only mine to use, not to modify. You mentioned the SCM readers for ~$20... Where? That's a damn good price!
Jeff Krebs
Jeff Krebs wrote, On 12/05/2007 11:35 AM:
My ActiveCard Reader "brick" is a really old model, and it's only mine to use, not to modify. You mentioned the SCM readers for ~$20... Where? That's a damn good price!
Jeff Krebs
http://www.google.com/search?hl=en&q=scr.331&btnG=Google+Search and in the adds Google provides http://www.scbsolutions.com/express/product_info.php?cPath=25&products_i... $23.75 http://www.envoydata.com/security_products/scm/scr331.htm?gclid=CJqNzfnZkZAC... $35.00
then in the links... http://www.nextag.com/scr331-smart-card-reader/search-html $20-$62 and the list goes on.
and where I normally shop for these kinds of things (looks cdw they don't stock scm products) http://www.cdw.com/shop/search/results.aspx?key=gemplus&platform=All&... $25-$50
I figured they would be down more than this, IIRC we got some last year for $25 each.
Todd Denniston wrote, On 12/04/2007 04:52 PM:
From what I understood, the change to openssh listed in: rpm -q --changelog openssh |less as: "* Wed Jun 20 2007 Tomas Mraz tmraz@redhat.com - 4.5p1-7
- experimental NSS keys support
- correctly setup context when empty level requested (#234951)
" was supposed to allow the Common Access Card (CAC) to work with the shipped Fedora 8 ssh.
As per NSS usual, everything is undocumented, i.e., `ssh-add --help` does not help at all, and `man ssh-add` points to `ssh-add -s reader` # ssh-add -s 0 Enter passphrase for smartcard: SSH_AGENT_FAILURE Could not add card: 0 # ssh-add -s 1 Enter passphrase for smartcard: SSH_AGENT_FAILURE Could not add card: 1
So does anyone know how to use the possible functionality, or are we reduced to reading the source?
After a bit of RTFS, I found README.nss which is installed to /usr/share/doc/openssh-4.7p1/ in FC8.
Trying to use the info in that document gets me: # ssh -o 'UseNSS yes' otherhost Failed to initialize NSS library Permission denied (publickey,keyboard-interactive). # ssh-add -n Failed to initialize NSS library # ssh-keygen -n Failed to initialize NSS library cannot find public key in NSS
no idea what 'NSS Token My PKCS11 Token' 'My PKCS11 Token' or 'My Key ID' are supposed to be set to (how do I match that up with "use the cac card" or "my common name is"?).
drop back and punt[1] has been called. [1] https://bugzilla.redhat.com/show_bug.cgi?id=186469#c8
On Mon, 2024-09-16 at 20:25 +0000, Jack Hicks wrote:
- Try Updating the System
Fedora 8 is quite old, and some experimental features might not have been fully supported or stable at the time.
Serious understatement... 17 years old
On 9/17/24 12:07 AM, Tim via users wrote:
On Mon, 2024-09-16 at 20:25 +0000, Jack Hicks wrote:
- Try Updating the System
Fedora 8 is quite old, and some experimental features might not have been fully supported or stable at the time.
Serious understatement... 17 years old
It was a spam email. Did you see what was right at the end?
Tim:
Serious understatement... 17 years old
Samuel Sieb:
It was a spam email. Did you see what was right at the end?
I saw a link to what looks like a link for some memory, though didn't click it, and still haven't. That, in itself, doesn't jump out at me as spam, people do sometimes refer to sources of decent products as a solution. For all I know it was an old thread that I've forgotten about, and they originally talked about a couple of issues. And it wouldn't be the first time someone's asked to get something working on a way-out-of-date release, oblivious to what's wrong with that idea.