I have an issue regarding the GPG agent that prevents me from using several commands and particularly the one that enforces the user to touch the key before signing. I am on Debian 8.9 / Linux Mint Debian Edition.
I have struggled to make
pgp2 --edit-card work, but discovered that for reasons unknown to me I had to do it using sudo. I sent the certificates to the key and went on forcing the touch feature for them to work. The issue is that the script that enables that uses the gpg-connect-agent which never wanted to work.
Here’s what I’ve tried so far:
$ > gpg2 --card-edit scdaemon: PC/SC OPEN failed: unknown PC/SC error code (0x8010002e) scdaemon: PC/SC OPEN failed: unknown PC/SC error code (0x8010002e) gpg: selecting openpgp failed: Card error gpg: OpenPGP card not available: Card error $ > gpg --card-edit gpg: pcsc_list_readers failed: unknown PC/SC error code (0x8010002e) gpg: card reader not available gpg: OpenPGP card not available: general error $ > sudo gpg --card-edit gpg: WARNING: unsafe ownership on configuration file `/home/user/.gnupg/gpg.conf' Application ID ...: [... bunch of data, card is properly read ...] $ > ls -lahg -rw------- 1 user 9.0K Sep 23 2016 /home/user/.gnupg/gpg.conf // seems ok $ > gpg-connect-agent --hex "scd apdu 00 f1 00 00" /bye gpg-connect-agent: can't connect to the agent: IPC connect call failed $ > pcsc_scan PC/SC device scanner V 1.4.23 (c) 2001-2011, Ludovic Rousseau <email@example.com> Compiled with PC/SC lite version: 1.8.11 Using reader plug'n play mechanism Scanning present readers... Waiting for the first reader...^C // waited ~5m, nothing came up... $ > gpg-agent --daemon GPG_AGENT_INFO=/tmp/gpg-318mlQ/S.gpg-agent:17327:1; export GPG_AGENT_INFO; $ > GPG_AGENT_INFO=/tmp/gpg-318mlQ/S.gpg-agent:17327:1; export GPG_AGENT_INFO; $ > [ ... tried the same gpg-connect-agent && pcsc_scan, same result ] $ > gpg2 --card-edit gpg: selecting openpgp failed: Card error gpg: OpenPGP card not available: Card error
The card itself seems fine since using sudo and gpg –card-edit everything worked, but I have to be able to call gpg-agent as well and the issue I am facing blocks me.
If anyone could help me out on this, I’d be very grateful !
✓ Extra quality
ExtraProxies brings the best proxy quality for you with our private and reliable proxies
✓ Extra anonymity
Top level of anonymity and 100% safe proxies – this is what you get with every proxy package
✓ Extra speed
1,ooo mb/s proxy servers speed – we are way better than others – just enjoy our proxies!
USA proxy location
We offer premium quality USA private proxies – the most essential proxies you can ever want from USA
Our proxies have TOP level of anonymity + Elite quality, so you are always safe and secure with your proxies
Use your proxies as much as you want – we have no limits for data transfer and bandwidth, unlimited usage!
Superb fast proxy servers with 1,000 mb/s speed – sit back and enjoy your lightning fast private proxies!
99,9% servers uptime
Alive and working proxies all the time – we are taking care of our servers so you can use them without any problems
No usage restrictions
You have freedom to use your proxies with every software, browser or website you want without restrictions
Perfect for SEO
We are 100% friendly with all SEO tasks as well as internet marketing – feel the power with our proxies
Buy more proxies and get better price – we offer various proxy packages with great deals and discounts
We are working 24/7 to bring the best proxy experience for you – we are glad to help and assist you!