On Wed, Jun 12, 2013 at 11:43:45PM +0200, Johannes Berg wrote:
> Package: obnam
> Version: 1.1-1.1
> Severity: normal
> 
> When running obnam on a system that has no X server, but then
> trying to use encryption, obnam simply fails with
> 
> ERROR: gpg: cancelled by user
> gpg: decryption failed: secret key not available
> 
> I suspect this is due to the fact that obnam is using the TTY
> and thus the TTY-based gpg-agent query dialog can't get the
> TTY to query for the password.
> 
> Just running "gpg --sign" or so works fine and does query for
> the password. I could "pre-provision" the key, but then I'd
> also have to specify that it can never time out, otherwise
> obnam will fail in the middle of a long-running operation.

I don't know how the non-gui gpg-agents work. If they require
access to the tty, you could try running Obnam with the --quiet
option. Does that work?

-- 
http://www.cafepress.com/trunktees -- geeky funny T-shirts
http://gtdfh.branchable.com/ -- GTD for hackers


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to