Package: libgpgme11
Version: 1.1.6-2
Severity: normal

Hi,

When trying to use reprepro from a ssh screen session, it fails to sign
the release files with the following error:

 gpgme gave GPGME error: Bad passphrase

Looking at the strace, it seems that gpg is invoked with --batch option,
which prevents it from asking for the passphrase:

 23612 execve("/usr/bin/gpg", ["gpg", "--batch", "--no-sk-comment",
 "--status-fd", "8", "--no-tty", "--charset", "utf8",
 "--enable-progress-filter", "--ttyname", "/dev/pts/7", "--ttytype",
 "screen", "--sign", "--detach", "--armor", ...], [/* 45 vars */]
 <unfinished ...>
 ........
 23612 write(2, "gpg: ", 5)              = 5
 23612 write(2, "can\'t query passphrase in batch "..., 37) = 37
 23612 write(8, "[GNUPG:] MISSING_PASSPHRASE\n", 28 <unfinished ...>

Note that there is no GPG agent available to the session and agent
usage is disabled in ~/.gnupg/gpg.conf


I am working around this by running gpg-agent, but I have a bad feeling
leaving running gpg-agent processes in a long screen session (either if
the cahce TTL is low).


Thanks,
    dam

-- System Information:
Debian Release: lenny/sid
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'testing'),
(500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libgpgme11 depends on:
ii  gnupg                         1.4.6-2.1  GNU privacy guard - a free
PGP rep
ii  libc6                         2.7-10     GNU C Library: Shared
libraries
ii  libgpg-error0                 1.4-2      library for common error
values an
ii  libpth20                      2.0.7-10   The GNU Portable Threads

libgpgme11 recommends no packages.

-- no debconf information

-- 
dam            JabberID: [EMAIL PROTECTED]

Attachment: signature.asc
Description: Digital signature

Reply via email to