Sitemap

Amicuk Programming Answers

[SOLVED]GPG no longer supports --no-use-standard-socket?

2015-10-11   Views:0

Advertisement

I've used an SD card for where I store my gnupghome for a long time. I have delegated subkeys and all the configuration for them there. It's mounted to /mnt/keys on vfat. These cards use a FAT file system as I use these keys on multiple operating sys

I've used an SD card for where I store my gnupghome for a long time. I have delegated subkeys and all the configuration for them there. It's mounted to /mnt/keys on vfat. These cards use a FAT file system as I use these keys on multiple operating systems.
GPG with release 2.1 has removed the 'standard socket' options, which means now if your gnupg home is on any file system that can't create socket files (see: FAT), gpg-agent can no longer run. Ironically, this is also the release that *removes* all support for running gpg without an agent!
I'm disappointed this was not considered news for arch, I even wrote a small silly wrapper just for forcing me to read front page stories! (http://github.com/codemac/yosumiru)
The GPG news page had the following:
With GnuPG 2.1 the need of GPG_AGENT_INFO has been completely removed and the variable is ignored. Instead a fixed Unix domain socket named S.gpg-agent in the GnuPG home directory (by default ~/.gnupg) is used. The agent is also started on demand by all tools requiring services from the agent.
Any thoughts on how I can keep my gnupg on a FAT filesystem and still run the agent? I'm feeling pretty hosed right now, and am pretty confused why this feature was removed from gpg agent, as this would be as simple as keeping the old functionality, but maybe forcing the --no-use-standard-socket option to be in gpg.conf
Last edited by codemac (2014-12-02 18:43:06)

The replay answer
Advertisement
codemac wrote:I've used an SD card for where I store my gnupghome for a long time. I have delegated subkeys and all the configuration for them there. It's mounted to /mnt/keys on vfat. These cards use a FAT file system as I use these keys on multiple operating systems.
That's exactly what I used to do as well: mount a USB key read-only and run gpg --homedir /path/to/usb.
codemac wrote:
GPG with release 2.1 has removed the 'standard socket' options, which means now if your gnupg home is on any file system that can't create socket files (see: FAT), gpg-agent can no longer run. Ironically, this is also the release that *removes* all support for running gpg without an agent!
I'm disappointed this was not considered news for arch, I even wrote a small silly wrapper just for forcing me to read front page stories! (http://github.com/codemac/yosumiru)
The GPG news page had the following:
With GnuPG 2.1 the need of GPG_AGENT_INFO has been completely removed and the variable is ignored. Instead a fixed Unix domain socket named S.gpg-agent in the GnuPG home directory (by default ~/.gnupg) is used. The agent is also started on demand by all tools requiring services from the agent.
Any thoughts on how I can keep my gnupg on a FAT filesystem and still run the agent? I'm feeling pretty hosed right now, and am pretty confused why this feature was removed from gpg agent, as this would be as simple as keeping the old functionality, but maybe forcing the --no-use-standard-socket option to be in gpg.conf
I don't understand why you insist on using --no-use-standard-socket...
Some background: traditionally gpg-agent is started by a DE (e.g. xfce4-session starts it). This is useful because gpg-agent also manages ssh keys. However, this is not required anymore because agents are started on-demand and multiple agents can run concurrently.
Now, if you didn't have a vFAT FS, all is good as you call gpg --homedir because it will invoke gpg-agent with the correct --homedir flag.
So, all you need to do now is to rsync your gnupg dir on the SD card to some temp dir, e.g. /dev/shm/gnupg and use this dir as an argument to --homedir, and don't care about the agent at all.

Go to See the other 8 answers

[SOLVED]GPG no longer supports --no-use-standard-socket?

Category:DefaultRelease time:2015-10-11Views:130

I've used an SD card for where I store my gnupghome for a long time. I have delegated subkeys and all the configuration for them there. It's mounted to /mnt/keys on vfat. These cards use a FAT file system as I use these keys on multiple operating sys[More]

How can i solve the contact itunes support issue when trying to make in app purchases

Category:DefaultRelease time:2015-10-11Views:130

how can i solve the "please contact itunes support" issue when trying to make in app purchases? my account has available credit from a gift cardClick here and request assistance. (69559)Read other 2 answers[More]

Hot
How do I reinstall Adobe Acrobat XI Pro from the Creative Cloud? I was deleting another program and accidently deleted Acrobat.Sweetmelissa63 for information on how to reinstall Adobe Acrobat XI Professional please see CC desktop lists applications a [More]
Hi all, I have lots of problems with my current configuration with games (lock ups) and even in normal use. Also I'm not able to run 3DMark through to see with kind of results would I get. Car chase (high) gets very low fps and the nature test doesn' [More]
I've had my LG Revolution phone for nearly ten months now. Everything worked great for the first few months, however I started having problems with the phone freezing randomly in about June. I'd pull out the battery, turn the phone back on and everyt [More]
Hi, I've just installed and licensed Captivate 7.  I am having problems using the New Project from MSPowerpoint or the Insert / Powerpoint Slide option for a Blank Project.  I have tried this with both .ppt and .pptx files which I can open and save i [More]
how do i verify my icloud I've been trying to set up my icloud account...it's telling me to check my email to verify. there's nothing there. I can log in with my apple ID but that is it??? HELPHave you tried your spam folder? it could have gone there [More]
Hi In portal while approving leave i am getting the follwoing error . Critical Error A critical error has occured. Processing of the service had to be terminated. Unsaved data has been lost. Please contact your system administrator.    The running ap [More]
I am not very good at troubleshooting iPods and I thought this would be the best place to find some help. Thank you in advance for any suggestions. The problem: I have an iPod Touch and iPod 5G that are not recognized by a Windows Computer. I have tr [More]
New Moto e phone and service bought two days ago.  Everything was working fine.  Went into Verizon account and checked that we did not want to receive premium texts ($0 cost).  My phone will no longer send or receive any text messages.  When we go in [More]
So since a few months my iPod is starting to get on my nerves. Everytime I try to sync it, my iTunes freezes during the "Determing Tracks to Sync" step. Most of the time it takes a few minutes and then it cancels the sync. I have to sync my ipod [More]
Can't Print/Connect from Windows 7 64 bit to Shared PSC 1315 on Windows 7 32bit Machine... I tried to install driver on connecting PC, i tried to install printer as Local printer with local port - \\WIN7-32bit\HP PSC 1310 Series\ - and  i got access [More]