On Sun, Dec 25, 2011 at 09:55:46PM +0000, Dafydd Harries wrote: > Strane that you get a passphrase dialog, though. That suggests that > there's something that's different in my environment. It would be good > to find out what that is.
I can reproduce this by having "use-agent" in my gpg.conf, and not running a gpg agent, or not having the GPG_AGENT_INFO environment variable set (or otherwise arranging so that gpg can't access the agent). In this case, gpg can't get the passphrase and aborts, since it's in batch mode. I'm using batch mode explicitly to prevent gpg from doing anything interactive with the user. For now, I could let it do that, but soon Obnam will be running multiple copies of gpg at the same time, and then batch mode is required. So I'd prefer to not disable batch mode right now. I could make obnam ask for the gpg passphrase, and provide that to each gpg invocation. (For obvious reasons, I'd rather not have it in a configuration file.) Would that be OK with you? Are you using a gpg agent? If so, can you figure out why it doesn't work? -- Freedom-based blog/wiki/web hosting: http://www.branchable.com/
signature.asc
Description: Digital signature