
scdaemon isn't installed
Reported by Michael Holley | June 4th, 2013 @ 04:52 PM
Hi,
I recently got an GPG card and was hoping to use it with GPGTools. When I plug the card in and from the command line type: gpg --card-status
I get the following error:
OpenPGP card not available: No SmartCard daemon
Machine Setup:
Mac OS X 10.8.3
MacGPG2 2.0.20
OpenSC 0.13.0
I found this article (http://support.gpgtools.org/discussions/everything/1587-smartcard-c...) and looked in /usr/local/MacGPG2/bin/ and found that scdaemon isn't installed. I've re-downloaded the latest daily GPGTools and re-installed MacGPG2-96n, GPGTools-307n, and OpenSC and scdaemon isn't there. I've also ran this command, "sudo find / |grep scdaemon" and only found the man pages for scdaemon.
How do install that application? Thanks for all the work on these tools.
*SCR3500
Comments and changes to this ticket
-
Luke Le June 5th, 2013 @ 09:18 PM
- Importance changed from to Low
Hi Michael,
thanks for reporting this.
For some reason, MacGPG2 2.0.20 doesn't include scdaemon.
Since we don't have any smart card to test with, we're not always checking if it's there.
Will fix this now, and update this ticket.Out of interest, which smart card did you buy?
-
Luke Le June 5th, 2013 @ 09:23 PM
- State changed from new to started
Oooh, it's been moved into libexec, and that's why it's not included in our nightly.
-
Michael Holley June 5th, 2013 @ 10:16 PM
Thanks for the reply. I got the card from Kernel Concepts (http://shop.kernelconcepts.de/product_info.php?cPath=1_26&produ...). I got the card without the breakout and without the RFID, though I was tempted to get the RFID one just for kicks and giggles. I also got my card reader, SCM Microsystems SCR 3500, from Amazon since it can do OpenPGP and CAC ID cards (http://www.amazon.com/New-Portable-Contact-Reader-SCR3500/dp/B004RL...).
After opening this ticket, I kept messing around and found a solution. It may be useful for you guys going forward so I'll give you the outline of what I did to get it to work.- I downloaded and installed the driver for the reader and openSC
0.13.0. For openSC I had to use their nightly build (https://www.opensc-project.org/downloads/macosx/)
since the stable versions don't install in Mountain Lion.
- I downloaded the nightly build of GPGTools (based on this
comment on this discussion:
http://support.gpgtools.org/discussions/everything/1587-smartcard-c...)
- I downloaded the existing stable version of GPGTools from the
homepage
- I installed the nightly build of GPGTools
- Using Pacifist (http://pacifist.en.softonic.com/),
I installed just scdaemon from the stable build of
GPGTools
- Based on the comment on this wiki (https://www.opensc-project.org/opensc/wiki/OpenPGP#MacOSX),
I removed (renamed) OpenSC.tokend/ from
/System/Library/Security/tokend
- Rebooted my machine and then used this site (http://www.gnupg.org/howtos/card-howto/en/smartcard-howto-single.ht...) to guide the setup of the card
It works just fine now, even in Mail.app! Thanks for all your hard work on providing these tools for the Mac.
- I downloaded and installed the driver for the reader and openSC
0.13.0. For openSC I had to use their nightly build (https://www.opensc-project.org/downloads/macosx/)
since the stable versions don't install in Mountain Lion.
-
Luke Le June 5th, 2013 @ 10:19 PM
- State changed from started to fixed
- Milestone cleared.
Ooh, very interesting, thanks for the guide!
We'll have to get ourselves a card to test with.Also, we'll make a knowledge base article with that info
-
Luke Le June 6th, 2013 @ 01:39 AM
Michael, one question, did you put scdaemon into /usr/local/MacGPG2/bin or /usr/local/MacGPG2/libexec?
-
Luke Le June 18th, 2013 @ 02:51 PM
Hi Michael,
just a follow up. There'S a new nightly build now which fixes path problems with scdaemon,
and everything should work now as expected.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป