Your message dated Mon, 31 Oct 2016 21:10:05 +0200
with message-id <20161031191005.v4gq4y2pwlmy4uxc@exolobe3>
and subject line Re: Bug#712091: obnam: doesn't work without X gpg agent
has caused the Debian Bug report #712091,
regarding obnam: doesn't work without X gpg agent
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
712091: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712091
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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.

johannes

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.8.0 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

--- End Message ---
--- Begin Message ---
On Fri, Jun 14, 2013 at 12:23:35AM +0200, Johannes Berg wrote:
> Generally though it seems that it expects to read the $GPG_TTY
> environment variable somehow ... not really sure how this is all
> supposed to work though.
> 
> I guess for now I have a workaround, but it's a bit strange.

Since obnam isn't involved in how gpg or gpg-agent asks the user for
the password, I'm going to close this bug report. Obnam just runs gpg,
and it's the user's responsibility to confiure gpg/gpg-agent for their
environment so they work, I'm afraid.

Sorry about the hassle.

-- 
I want to build worthwhile things that might last. --joeyh

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to