Smartcard Support for Panther?
poemofatic asks: "I use a Powerbook to connect to my work's VPN server. Recently, my sysadmin has been setting up smart card support for VPN authentication, and I'd like to know if anyone in the Slashdot crowd has managed to use smart cards on Panther to successfully connect to a Microsoft VPN server. Also, it'd be nice to hear if anyone has used either the Schlumberger or Gemplus cards successfully, and whether they've tried the USB tokens."
Security is where you want to look.
There are smart card PC/SC links on that page that mention the kind of cards that should work.
Chuck
Developer - Mac OS X Security
Apple Federal Smart Card Package Manual
"To use FSCP, you need the following:
A Macintosh computer with Mac OS X v10.2.3 installed
A Department of Defense Common Access Card issued since 2001
An SCM Microsystems SCR331 USB High Speed EMV Reader
You can also use one of these smart card readers, but you must download and install driver software from the manufacturer's website:
Gemplus GemPC430 USB Smart Card Reader
OMNIKEY CardMan Desktop USB 2020
Schlumberger Sema Reflex USB v.2 Reader or Reflex USB Lite Reader
Smart Card Services (PC/SC) SDK
"The PC/SC Workgroup is a collaborative effort of leading international personal computer and smart card companies, united to integrate their technologies under common standards. Apple is a Core Member of the PC/SC Workgroup along with Bull Personal Transaction Systems, Gemplus, Hewlett-Packard, Infineon, Intel, Microsoft, Schlumberger, Sun Microsystems and Toshiba.
PC/SC is a standard that builds upon existing industry smart card standards - ISO7816 and EMV - and complements them by defining low-level device interfaces and device-independent application APIs as well as resource management, to allow multiple applications to share smart card devices attached to a system.
The Smart Card Services SDK enables developers to write PC/SC-compliant applications and drivers on MacOSX starting with MacOSX 10.0.2.
The Smart Card Services SDK is available from Apple's Open Source repository. Access requires agreeing to the Apple Public Source License."
OSX just uses Linux-PAM for authentication, so if you can get these cards working on Linux, the exact same procedure should work on your Macs. Further, any documentation describing how to get these cards working on Linux should also apply to OSX.
DO NOT LEAVE IT IS NOT REAL
I've been wanting to play with smart card authentication on my Powerbook, but would only consider implementing it on a permenant basis if it is a PCMCIA reader. That way, I don;t have to have some USB reader hanging off the laptop no matter where it goes.
Anyone seen a PCMCIA reader that follows the needed standard for OS X to use it?
Is there a way to emulate Windows Digital Certificate functionality on the Mac? I used to successfully use Netlock's VPN client software for OS X and a token (keychain LCD-type), but my company recently did away with the tokens and now uses a combination of the same client software we were using before + a Windows Digital Certificate. I think the answer is a short and simple "no" but I figured I'd ask since we're talking VPNs on the Mac.
No, PAM isn't as pervasive in OS X as it can be under Linux.
You cannot authenticate from the loginwindow against PAM. Try it. You cannot authenticate against the AFP server.
This is a case of the left hand not knowing what the right hand is doing...
I believe this is because loginwindow consults SecurityServer
directly and PAM sits on top of SecurityServer.
i don't read slashdot anymore.
Maybe this will spur on some other help ...
My company uses VPN services from Verizon in conjunction with an iPass software package and I think a Cisco VPN client. They provide the client software for Windows, but they refuse to provide anything for Mac OS X. Is there a way to get this to work under Mac OS X? That would be great if someone else has had experience with this.
Insert simplistic political, ideological, or personal proselytization here.
Apple SmartCard support is built with the DoD Common Access Card (CAC) in mind. To work with another PKI you'll need to make modifications.
/etc/authorization.cac.
Pather already includes the Apple Federal SmartCard Package, but you should download and read the docs from Apple Suport. It's essentially MUSCLE with tweaks. Enable it via 'sudo cac_setup' and disable it with 'sudo cac_setup -off'. The details are in
Generally, the framework validates the private key on the card, then reads attributes from the card (by default, the DoD EDI-PI from the Demographics container) and maps this attribute against Open Directory accounts. It's pretty flexible, and it shouldn't take a lot of work to make it work with another PKI.
-- Cerebus
Apple's implementation of Linux PAM may not be complete, but that doesn't change the fact that that's what they've been using since Panther came out. This isn't really a debatable point: all of Apple's documentation refers to Linux-PAM, the string 'linux' shows up 15 times in the pam manpage, etc. They got it from Linux.
If, as you say, they aren't using it pervasively, that's a different matter. Maybe by the time 10.4 comes out, the left & right hands at Apple will have had a nice little chat, and you'll finally be able to do a graphical login with PAM. In any case, the Linux version of PAM is available in OSX today, and (at least in some contexts) it can be used the same way it can be used on Linux.
DO NOT LEAVE IT IS NOT REAL
Netlock, (recently acquired by Apani) has a full VPN product support got Nortel Contivity and Cisco that handle SecureID and other cards if you can't get the built in Panther VN support to work.
But even if the card readers work under OS X, don't most applications have software to install, too? Anybody have any experience with actually using a card/reader in practice, rather than just getting the reader to work? Rephrased: anyone able to write to the card as well as read it?
Si la vida me da palo, yo la voy a soportar Si la vida me da palo, yo la voy a espabilar
My point was that it doesn't actually use it for authentication in very many contexts. yes, it is the same PAM as we're used to under Linux, but my point was that your statement "OSX just uses Linux-PAM [apple.com] for authentication" is kind of misleading.
The majority of authentications under OS X that people actually use do not touch PAM.
i don't read slashdot anymore.
According to Nortel's documentation they support X.509 certificates. That's probably what you mean by "emulate Windows Digital Certificate functionality" :-)
Check with your documentation for how to configure certificate-based authentication. It's usually pretty easy.
.sig: file not found
Fair enough, but that's not what you said the first time around :-)
DO NOT LEAVE IT IS NOT REAL
My company's VPN software does not support OSX. So I installed it on Windows running under virtual PC. It took some trial and error but it now connects over my wireless w/o problems.
I didn't use a smart card but there is no reason this approach won't work for you.
--Stuart
It looks like exactly what he said the first time to me.
is that its USB support just isn't up to snuff.
The only smartcard readers you want to use with a mac recent enough to run Virtual PC well are USB readers, and I haven't had any luck getting them to work in any recent version of Virtual PC. I've had some luck with other USB devices, but for some reason, the (gemplus GemCore-based) readers I've tried have been non-starters.
The last version I tried was 6.0.something. I could occasionally get the driver to properly detect the reader, but never managed to get it to work with even the simplest test applications, let alone VPN support. I think the poster will have more luck with Mac native solutions, as OS X's smartcard support is actually decent.
.sig: file not found