Page MenuHome GnuPG
Feed All Stories

Aug 14 2012

werner lowered the priority of T1388: SSL Certificate for bugs.g10code.com has expired from High to Wishlist.
Aug 14 2012, 8:40 PM · Too Old, Feature Request
werner added a project to T1392: export-secret-key does not work with EC keys: gnupg.
Aug 14 2012, 8:39 PM · gnupg, Bug Report
werner added a project to T1436: no-show-unusable-subkeys does not exclude revoked subkeys: gnupg.
Aug 14 2012, 8:38 PM · gnupg, Bug Report
werner closed T1412: src/engine-uiserver.c:52:#include "status-table.h" - status-table.h doesn't exist as Resolved.
Aug 14 2012, 8:38 PM · gpgme, Bug Report
werner removed a project from T1412: src/engine-uiserver.c:52:#include "status-table.h" - status-table.h doesn't exist: Restricted Project.
Aug 14 2012, 8:38 PM · gpgme, Bug Report
werner closed T1413: gpa segfaults when trying to apply backend preferences for "GPG for S/MIME" as Resolved.
Aug 14 2012, 8:37 PM · Bug Report, gpa
werner removed a project from T1413: gpa segfaults when trying to apply backend preferences for "GPG for S/MIME": Restricted Project.
Aug 14 2012, 8:37 PM · Bug Report, gpa
werner removed a project from T1326: Compressed data packets with uncompressed data (algo=0): Restricted Project.
Aug 14 2012, 8:37 PM · Bug Report, gnupg
werner closed T1326: Compressed data packets with uncompressed data (algo=0) as Resolved.
Aug 14 2012, 8:37 PM · Bug Report, gnupg
werner added a comment to T1434: GPG_TTY needs to be defaulted in more places than currently.

So you want to open /dev/tty (which gpg does anyway if needed; see
common/ttyio.c) and pass that to the agent so that the agent may pass
it on to Pinentry if he needs it. That may work.

However, I don't like it because you claim a resource of the tty and
send it to a different process to be used only if needed. With our
current system we use this resource only if we really needs it.

Although libassuan implements descriptor passing, it can't be used
with Pinentry, because that one uses a simple pipe and not a socket.
Yes, we could change that too, but then you can't use a shell script
instead of Pinentry anymore.

Aug 14 2012, 5:54 PM · Bug Report, gnupg

Aug 13 2012

werner closed T1437: GPGME always return GPG_ERR_INV_ENGINE, with GPG4WIN as Resolved.
Aug 13 2012, 8:57 AM · gpgme, Bug Report, gpg4win, Not A Bug

Aug 11 2012

Canalian added a comment to T1437: GPGME always return GPG_ERR_INV_ENGINE, with GPG4WIN.

I discover patch for gpgme in gpg4win source. (patches/gpgme/01-gpg2.patch)
Claws-mail uses libgpgme-11.dll in gpg4win binary, which includes string
'gpg2.exe'.

I recognize gpgme in gpg4win is official version (on Windows).
We will use this version. Thank you.

  1. Claws-mail is based on Sylpheed. but, it doesn't work my environment.
Aug 11 2012, 11:33 AM · gpgme, Bug Report, gpg4win, Not A Bug

Aug 10 2012

tamino added a comment to T1434: GPG_TTY needs to be defaulted in more places than currently.

Even in that case:

foo | gpg 2>gpg.log | bar

if the main gpg process opens "/dev/tty", then it will still get the user's
terminal. /dev/tty is strong magic -- it will work even if fds 0, 1, and 2 are
pointing elsewhere.

And if it then passes that file descriptor to an agent (I assume you're aware of
the ability to pass open file descriptors across unix-domain sockets, so that the
target process actually receives a copy of the same file descriptor) then the agent
will have the user's terminal also.

I reiterate my offer to help implement something like this, if you can point me to
the right place in the code (i.e. where *exactly* are these requests to the agent
that require user interaction happening? Where would be the best place to put file-
descriptor passing code?)

Aug 10 2012, 7:19 PM · Bug Report, gnupg
fra87 added a comment to T1438: Not enough space on Windows 7.

Ok.. sorry for posting here but i didn't know where to post. I'll send it to the
mailing list too.
I just wanted to report this strange thing (working on XP but not on 7 )

Aug 10 2012, 7:12 PM · Too Old, gnupg
werner added a comment to T1434: GPG_TTY needs to be defaulted in more places than currently.

Your solution will not work either. It still depends that a standard fd is
connected to the tty. This is not the case

  foo | gpg 2>gpg.log | bar

is a common pattern. I don't see why you have such a problem to set a variable
for each new terminal. If you don't like GPG_TTY, you may contact the Open
Group to define a new standard variable to POSIX. FWIW, GPG_TTY is used for
more than a decade.

Aug 10 2012, 7:10 PM · Bug Report, gnupg
werner added a project to T1437: GPGME always return GPG_ERR_INV_ENGINE, with GPG4WIN: Not A Bug.
Aug 10 2012, 7:02 PM · gpgme, Bug Report, gpg4win, Not A Bug
werner added a comment to T1437: GPGME always return GPG_ERR_INV_ENGINE, with GPG4WIN.

gpgme comes with gpg4win - use this version only.

You should also consider to use Claws-mail because CM has a better GnuPG
integration and best of all is part of gpg4win.

Aug 10 2012, 7:02 PM · gpgme, Bug Report, gpg4win, Not A Bug
werner added a comment to T1438: Not enough space on Windows 7.

Please disregard my comment on not using your own script. I didn't looked into it.

Aug 10 2012, 6:58 PM · Too Old, gnupg
werner removed a project from T1438: Not enough space on Windows 7: Bug Report.
Aug 10 2012, 6:56 PM · Too Old, gnupg
werner added a comment to T1438: Not enough space on Windows 7.

GnuPG 2.1 won't work on Windows yet. Don't use your own script but use

  ./autogen.sh --build-w32

Please don't report bug against beta versions. gnupg-devel (or gnupg-users) is
the right place.

Aug 10 2012, 6:56 PM · Too Old, gnupg
werner closed T1438: Not enough space on Windows 7 as Invalid.
Aug 10 2012, 6:56 PM · Too Old, gnupg
fra87 added a project to T1438: Not enough space on Windows 7: Bug Report.
Aug 10 2012, 1:17 PM · Too Old, gnupg
fra87 set Version to GnuPG 2.1.0b3 on T1438: Not enough space on Windows 7.
Aug 10 2012, 1:17 PM · Too Old, gnupg
fra87 added a comment to T1438: Not enough space on Windows 7.

Aug 10 2012, 1:17 PM · Too Old, gnupg

Aug 9 2012

Canalian added projects to T1437: GPGME always return GPG_ERR_INV_ENGINE, with GPG4WIN: gpg4win, Bug Report, gpgme.
Aug 9 2012, 5:42 PM · gpgme, Bug Report, gpg4win, Not A Bug
Canalian set Version to 1.1.8 and later on T1437: GPGME always return GPG_ERR_INV_ENGINE, with GPG4WIN.
Aug 9 2012, 5:42 PM · gpgme, Bug Report, gpg4win, Not A Bug
Canalian added a comment to T1437: GPGME always return GPG_ERR_INV_ENGINE, with GPG4WIN.

D158: 357_gpgme.patch

Aug 9 2012, 5:42 PM · gpgme, Bug Report, gpg4win, Not A Bug
tamino added a comment to T1434: GPG_TTY needs to be defaulted in more places than currently.

OK, here's what I hear you saying: Even if my patch would do the right thing in the common case
for 2.0.19, when 2.1 comes along it will stop helping.

I agree with you that *if you are using a long-lived agent*, then the patch I had proposed is not
sufficient. I had been discounting that case as "not the common case"; now I realize it is going
to be the common case soon.

I think, at this point, we're going to have to consider using file descriptor passing (SCM_RIGHTS)
from the gpg to the agent.

It *will* be the case that, even if someone has redirected stdin/stdout in the gpg process, that
the gpg process will be able to open its "/dev/tty" and get a useful file descriptor. I agree with
you that it can't (at least not portably) work backwards from that to find the *name* of its tty,
but it can at least open /dev/tty, itself.

If gpg then passes that open file descriptor across the unix-domain socket to the agent (at least
I assume unix-domain sockets are used for gpg/agent communication), then the agent will have a
copy of *that* file descriptor.

Can you point me to where the agent receives the set of data that makes up one "request" or "work
unit"? I can try to make a new patch that uses file-descriptor passing.

To reiterate: making the user *in the common case* set an environment variable is not acceptable.
Environment variables are a nice thing to be able to set to change behavior from the default; but
if the user is happy with the default behavior they should not have to set any environment
variables in order to use a piece of software. If I had to have one environment variable setting
for every program I used regularly, my .cshrc would be *huge*!

Thanks!

Aug 9 2012, 4:50 PM · Bug Report, gnupg
werner removed a project from T1416: Possible buffer overflow in src/keyserver.c: Restricted Project.
Aug 9 2012, 4:06 PM · Bug Report, gpa
werner closed T1416: Possible buffer overflow in src/keyserver.c as Resolved.
Aug 9 2012, 4:06 PM · Bug Report, gpa
werner added a comment to T1416: Possible buffer overflow in src/keyserver.c.

0.9.3 has been released.

Aug 9 2012, 4:06 PM · Bug Report, gpa
werner removed a project from T1133: gpa requires gnupg2 but checks for gpgkeys_ldap instead of gpg2keys_ldap: Restricted Project.
Aug 9 2012, 4:05 PM · Bug Report, gpa
werner closed T1133: gpa requires gnupg2 but checks for gpgkeys_ldap instead of gpg2keys_ldap as Resolved.
Aug 9 2012, 4:05 PM · Bug Report, gpa
werner added a project to T1432: rijndael implementation contains ambiguos instructions: clang.
Aug 9 2012, 4:04 PM · clang, Bug Report, Not A Bug, libgcrypt
werner closed T1432: rijndael implementation contains ambiguos instructions as Resolved.
Aug 9 2012, 4:04 PM · clang, Bug Report, Not A Bug, libgcrypt
werner added a project to T1431: libgcrypt depends on gnu extensions which hinders clang compilation: clang.
Aug 9 2012, 4:04 PM · clang, Bug Report, libgcrypt
werner closed T1431: libgcrypt depends on gnu extensions which hinders clang compilation as Resolved.
Aug 9 2012, 4:04 PM · clang, Bug Report, libgcrypt
werner added a comment to T1431: libgcrypt depends on gnu extensions which hinders clang compilation.

clang falsely pretends to be gcc by defining GNUC. However, it
does not has the features of gcc. Please fix clang.

Aug 9 2012, 4:04 PM · clang, Bug Report, libgcrypt
werner added a comment to T1435: duplicate syms in libmpi.

See my comments for T1406. It is clearly a clang bug.

Aug 9 2012, 3:55 PM · clang, gnupg, Bug Report
werner added projects to T1435: duplicate syms in libmpi: Won't Fix, clang.
Aug 9 2012, 3:55 PM · clang, gnupg, Bug Report
werner removed a project from T1406: libmpi inlining results in multiple definitions of symbols (when compiled by clang): patch.
Aug 9 2012, 3:54 PM · Bug Report, libgcrypt
werner added a project to T1406: libmpi inlining results in multiple definitions of symbols (when compiled by clang): clang.
Aug 9 2012, 3:54 PM · Bug Report, libgcrypt
werner added a project to T1406: libmpi inlining results in multiple definitions of symbols (when compiled by clang): Not A Bug.
Aug 9 2012, 3:52 PM · Bug Report, libgcrypt
werner added a comment to T1406: libmpi inlining results in multiple definitions of symbols (when compiled by clang).

Inline is an extension to C90 implemented by almost all compilers.
What we do is what the gcc manual suggest for ages:

   This combination of `inline' and `extern' has almost the effect of
   a macro.  The way to use it is to put a function definition in a
   header file with these keywords, and put another copy of the
   definition (lacking `inline' and `extern') in a library file.  The
   definition in the header file will cause most calls to the function
   to be inlined.  If any uses of the function remain, they will refer
   to the single copy in the library.

I don’t know why clang seems to be the only compiler who does not grok
this. Libgcrypt has been compiled on a wide range of compilers
without any problem.

Wait, I see. Clang pretends to be gcc and defines GNUC. Thus
mpi-internal.h includes the inline functions:

  #ifdef __GNUC__
  #include "mpi-inline.h"
  #endif

which is a valid gcc construct. As with some other bug reports; I can
only suggest to fix clang and don't have it define GNUC .

Aug 9 2012, 3:52 PM · Bug Report, libgcrypt
werner added a project to T1435: duplicate syms in libmpi: gnupg.
Aug 9 2012, 3:29 PM · clang, gnupg, Bug Report
werner changed Version from 1.5 to 1.4 on T1435: duplicate syms in libmpi.
Aug 9 2012, 3:29 PM · clang, gnupg, Bug Report
werner removed a project from T1435: duplicate syms in libmpi: libgcrypt.
Aug 9 2012, 3:29 PM · clang, gnupg, Bug Report
werner removed a project from T1435: duplicate syms in libmpi: gpgme.
Aug 9 2012, 3:26 PM · clang, gnupg, Bug Report
werner added a project to T1435: duplicate syms in libmpi: libgcrypt.
Aug 9 2012, 3:26 PM · clang, gnupg, Bug Report
werner added a comment to T1435: duplicate syms in libmpi.

Hi, I changed your role from Provisional User to User - you may now update other
reports.

Aug 9 2012, 3:25 PM · clang, gnupg, Bug Report
werner added a comment to T1434: GPG_TTY needs to be defaulted in more places than currently.

Without having a controlling tty you can't get the name of the
controlling tty. That is why we need other ways to tell the
background process (i.e. gpg-agent) which tty a pinentry shall use.

It doesn't matter who calls the agent; if he has a tty in some
settings, that is not a fact we can rely upon. For example in 2.1
there will be no on-demand starting and stopping anymore; instead the
agent is started just once (you can even compile 2.0.19 with this
behaviour).

Your options are:

  • Set GPG_TTY for each new TTY.
  • Pass --ttyname=$(tty) on the GPG commandline.
  • Start the agent in advance and use --keep-tty --tyyname=$(tty) to lock the Pinentry to the tty the agent has been started.

BTW, it is common practice to dup fd 0 to /dev/null. Thus it does not
help to use ttyname (0) instead of ttyname (1) as the default.

Aug 9 2012, 3:08 PM · Bug Report, gnupg
werner closed T1429: Man page typo as Resolved.
Aug 9 2012, 2:49 PM · Bug Report, gnupg
werner added a comment to T1429: Man page typo.

Fixed in master (4ea37fe4). We use the docs for master for releases of all
branches - thus this fix will be applied to the next 2.0 and 1.4 release as well.

Thanks.

Aug 9 2012, 2:49 PM · Bug Report, gnupg

Aug 8 2012

werner added projects to T759: GPA should register itself with gnome-vfs: Won't Fix, Too Old.
Aug 8 2012, 6:20 AM · Too Old, Won't Fix, gpa, Feature Request
werner added a comment to T759: GPA should register itself with gnome-vfs.

Is there still a gnome VFS? This wish is a bit too old. Re-open it if you like.

Aug 8 2012, 6:20 AM · Too Old, Won't Fix, gpa, Feature Request
werner closed T759: GPA should register itself with gnome-vfs as Resolved.
Aug 8 2012, 6:20 AM · Too Old, Won't Fix, gpa, Feature Request
werner added a project to T1416: Possible buffer overflow in src/keyserver.c: Restricted Project.
Aug 8 2012, 6:18 AM · Bug Report, gpa
werner added a project to T1133: gpa requires gnupg2 but checks for gpgkeys_ldap instead of gpg2keys_ldap: Restricted Project.
Aug 8 2012, 6:18 AM · Bug Report, gpa
werner added a comment to T1133: gpa requires gnupg2 but checks for gpgkeys_ldap instead of gpg2keys_ldap.

I did this change for the forthcoming 0.9.3.

Aug 8 2012, 6:18 AM · Bug Report, gpa

Aug 2 2012

meonkeys added a project to T1436: no-show-unusable-subkeys does not exclude revoked subkeys: Bug Report.
Aug 2 2012, 10:42 PM · gnupg, Bug Report
jaromil added projects to T1435: duplicate syms in libmpi: Bug Report, gpgme.
Aug 2 2012, 9:26 PM · clang, gnupg, Bug Report
jaromil set Version to 1.5 on T1435: duplicate syms in libmpi.
Aug 2 2012, 9:26 PM · clang, gnupg, Bug Report

Aug 1 2012

tamino added a comment to T1434: GPG_TTY needs to be defaulted in more places than currently.

To restate: If you are starting the agent on demand, AND if you are feeding gpg
data on standard input, then initscr() will NOT do the right thing. At least on
FreeBSD. Are you saying that on your OS, initscr() will, internally to itself,
open "/dev/tty"?

If that's the case for you, then it's not the case for me on FreeBSD. The
initscr() on FreeBSD doesn't do any magic, it just uses fds 0 and 1. Hence the
fact that I am trying to get it to open /dev/tty in that case.

Aug 1 2012, 4:53 PM · Bug Report, gnupg
tamino added a comment to T1434: GPG_TTY needs to be defaulted in more places than currently.

Yes, I saw the if (tty_name) in pinentry when I was looking through all of that
stuff. The problem for me is NOT that pinentry has no controlling terminal,
because I *am* starting the agent, as you say, on demand.

The problem for me is that pinentry has inherited file descriptor 0 from gpg,
and it is *not* a tty, it is the input file that I am asking gpg to process.

So no, the if (tty_name) thing doesn't really work too well if you are feeding
gpg something on its standard input, AND if you are starting gpg-agent on
demand.

Aug 1 2012, 4:47 PM · Bug Report, gnupg
werner added a comment to T1434: GPG_TTY needs to be defaulted in more places than currently.

It does not work on glibc based systems either. Actually the correct
way would be to use ctermid(3) but that has the same problem as
ttyname - it even returns a fixed string without trying to find the
tty in /dev/ or /proc.

Pinentry actually defaults to the default tty if no GPG_TTY has been
passed to it from gpg-agent. Here is the code from the curses
pinentry:

/* Open the desired terminal if necessary.  */
if (tty_name)
  {
    ttyfi = fopen (tty_name, "r");
    if (!ttyfi)

return -1;

ttyfo = fopen (tty_name, "w");
if (!ttyfo)

{

	  int err = errno;
	  fclose (ttyfi);
	  errno = err;
	  return -1;

}

    screen = newterm (tty_type, ttyfo, ttyfi);
    set_term (screen);
  }
else
  {
    if (!init_screen)

{

	  init_screen = 1;
	  initscr ();

}

else

clear ();

    }

TTY_NAME has been set via an Assuan option which should have come from
GPG_TTY. If this has not been set (or any of the --ttyname options
used), Pinentry uses init_scr. The problem is that gpg-agent and thus
pinentry usually has no controlling terminal and thus there is no default tty.

It works for you because you started gpg-agent on demand. That is
something to be avoid because it won't be able to cache the
passphrase then.

I have not checked whether your patch may harm. However, I remember
that we had quite some problems calling pinentry from a background
process and the way we do it today works in almost all cases -
assuming your system has been properly configured.

Aug 1 2012, 9:15 AM · Bug Report, gnupg
tamino added a comment to T1434: GPG_TTY needs to be defaulted in more places than currently.

Ugh. That trick doesn't work on Solaris, it looks like.

The basic place I'm trying to get to is... in the simple case... a user logs in,
and isn't using gpg-agent, gpgme, or anything like that... and just types:

some_command | gpg -a --clearsign > some_file

that it will work.

It seems *to me at least*, like defaulting to the literal filename "/dev/tty",
as in my patch, at least *does no harm*.

Maybe it doesn't solve the gpg-agent case or the gpgme case 100%. But at least
it makes the simple case work. And people can always override it by setting
GPG_TTY, if they need to.

Make sense?

Aug 1 2012, 8:01 AM · Bug Report, gnupg
tamino added a comment to T1434: GPG_TTY needs to be defaulted in more places than currently.

If I come up with a modified patch that opens /dev/tty, calls ttyname on *that*,
and gives *that* tty name to pinentry, will you consider it?

Thanks!!

(btw, I don't use the agent at all... my usage of gpg is very vanilla, just the
plain way of using it on the command line that has worked ever since gpg1, but
is now broken in gpg2)

Aug 1 2012, 7:43 AM · Bug Report, gnupg
tamino added a comment to T1434: GPG_TTY needs to be defaulted in more places than currently.

Looks like calling ttyname() on a freshly open()ed "/dev/tty" works, at least on
FreeBSD:

cat ttyname.c

#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>

int main(int argc, char **argv)
{
int fd = open("/dev/tty", O_RDWR, 0);
char *s = ttyname(fd);
printf("%s\n", s ? s : "NULL");
return 0;
}

gcc -o ttyname ttyname.c
./ttyname

/dev/pts/9

./ttyname < /dev/null >& /tmp/foo
cat /tmp/foo

/dev/pts/9

Notice that even though the program's stdin was /dev/null, and the program's
stdout and stderr were both going to a file (I use tcsh, hence the >& syntax),
and yet it still managed to figure out what the terminal was.

Aug 1 2012, 7:41 AM · Bug Report, gnupg
werner added a comment to T1434: GPG_TTY needs to be defaulted in more places than currently.

Consider the case of GPGME. All standard descriptors are not connected to a tty.
I don't know a way to get the actual terminal name in a portable way. Thus we
need to rely on the shell to give use the name of the tty and pass it via an envvar.

In your case you may want to use gpg-agent’s --keep-tty option.

Aug 1 2012, 7:32 AM · Bug Report, gnupg
werner added a comment to T1420: gpg --edit-key silently does nothing.

Yes, we can do this for 2.1. In case there is an already translated string
available we can backport this also to 1.4 and 2.0.

Aug 1 2012, 7:27 AM · Bug Report, gnupg
werner added a comment to T1426: the way gpg updates the pubring files makes it impossible to symlink it.

So now, what shall we do proper file locking and make sure that the user has
permissions to both files? It will be quite some code to get this all done right.

Aug 1 2012, 7:25 AM · Won't Fix, gnupg, Feature Request
werner added projects to T1430: nonsense g10code.com decided to make: Trash, Mistaken.
Aug 1 2012, 7:22 AM · Mistaken, Trash
tamino added a comment to T1434: GPG_TTY needs to be defaulted in more places than currently.

Another thought would be that ttyname(2) is possibly somewhat more likely to
give a useful result than either ttyname(0) or ttyname(1). That is, assuming
that people redirect stdin and stdout all the time, but rarely redirect stderr.

I'm just tossing out ideas here. My gut reaction is still "just use /dev/tty",
but I'm hoping that if I toss out some ideas that maybe one of them will be
helpful. :-)

Aug 1 2012, 7:20 AM · Bug Report, gnupg
werner added a comment to T1431: libgcrypt depends on gnu extensions which hinders clang compilation.

Funny that several other compilers grok that asm stuff.

Aug 1 2012, 7:20 AM · clang, Bug Report, libgcrypt
tamino added a comment to T1434: GPG_TTY needs to be defaulted in more places than currently.

Hmmmm.

Would it work to open /dev/tty, and then call ttyname on *that*? Rather than
calling ttyname on stdin always?

I really dislike the solution of "the user must set $GPG_TTY". That is broken,
period. If I'm not making use of any advanced functionality like the agent,
please don't penalize me (as a user) for the fact that such advanced
functionality *exists*.

I want the simple case -- i.e. I'm logged in, and I run gpg on a single tty --
to Just Work, without me having to set any environment variables to make it
work.

Aug 1 2012, 7:15 AM · Bug Report, gnupg
werner added a comment to T1432: rijndael implementation contains ambiguos instructions.

That code is only used if compiled by GCC (GNUC >= 4). Now if clang
pretends to be gcc, it needs to make sure to be 100% compatible with gcc.

Aug 1 2012, 7:14 AM · clang, Bug Report, Not A Bug, libgcrypt
werner added a project to T1432: rijndael implementation contains ambiguos instructions: Not A Bug.
Aug 1 2012, 7:14 AM · clang, Bug Report, Not A Bug, libgcrypt
werner added a comment to T1433: gnupg adds extra hyphen when signing plaintext (changing original message!).

That is not a bug but required by the specs. Leading dashed are required to be
escaped by "- "; see RFC 4880. Use "--output FILE" to get the cleartext.

Aug 1 2012, 7:10 AM · gnupg
werner removed a project from T1433: gnupg adds extra hyphen when signing plaintext (changing original message!): Bug Report.
Aug 1 2012, 7:10 AM · gnupg
werner closed T1433: gnupg adds extra hyphen when signing plaintext (changing original message!) as Invalid.
Aug 1 2012, 7:10 AM · gnupg
werner added a comment to T1434: GPG_TTY needs to be defaulted in more places than currently.

That does not work.

For example: The GPG process may map /dev/tty to /dev/pts/4. Then it
passes the string "/dev/tty" via gpg-agent to pinentry. Pinentry is
called by gpg-agent but gpg-agent was started on different tty. Thus
for gpg-agent /dev/tty may map to /dev/pts/2. The pinentry will now
pop up at /dev/pts/2 - it is very likely that no terminal is attached
to it and thus you won't even see a pinentry on some other tty.

Agreed, the fallback we currently have does not work either in this
case. Printing a warning if GPG_TTY is not set would probably be the
better alternative.

Aug 1 2012, 7:08 AM · Bug Report, gnupg

Jul 30 2012

tamino added a comment to T1434: GPG_TTY needs to be defaulted in more places than currently.

Ack! Updated patch. Silly mistake in the first one.

Jul 30 2012, 8:47 AM · Bug Report, gnupg
tamino added a comment to T1434: GPG_TTY needs to be defaulted in more places than currently.

D156: 356_gnupg-dev-tty.patch

Jul 30 2012, 8:47 AM · Bug Report, gnupg
tamino set Version to 2.0.19 on T1434: GPG_TTY needs to be defaulted in more places than currently.
Jul 30 2012, 3:52 AM · Bug Report, gnupg
tamino added projects to T1434: GPG_TTY needs to be defaulted in more places than currently: gnupg, Bug Report.
Jul 30 2012, 3:52 AM · Bug Report, gnupg
tamino added a comment to T1434: GPG_TTY needs to be defaulted in more places than currently.

D157: 355_gnupg-dev-tty.patch

Jul 30 2012, 3:52 AM · Bug Report, gnupg

Jul 28 2012

jbuhl added projects to T1433: gnupg adds extra hyphen when signing plaintext (changing original message!): gnupg, Bug Report.
Jul 28 2012, 1:27 PM · gnupg
jbuhl set Version to 1.4.12 on T1433: gnupg adds extra hyphen when signing plaintext (changing original message!).
Jul 28 2012, 1:27 PM · gnupg

Jul 27 2012

DavidNielsen added projects to T1432: rijndael implementation contains ambiguos instructions: libgcrypt, Bug Report.
Jul 27 2012, 4:54 PM · clang, Bug Report, libgcrypt, Not A Bug
DavidNielsen set Version to 1.5.0 on T1432: rijndael implementation contains ambiguos instructions.
Jul 27 2012, 4:54 PM · clang, Bug Report, libgcrypt, Not A Bug
DavidNielsen added projects to T1431: libgcrypt depends on gnu extensions which hinders clang compilation: libgcrypt, Bug Report.
Jul 27 2012, 4:30 PM · clang, Bug Report, libgcrypt
DavidNielsen set Version to 1.4.6 on T1431: libgcrypt depends on gnu extensions which hinders clang compilation.
Jul 27 2012, 4:30 PM · clang, Bug Report, libgcrypt
mancha triaged T1430: nonsense g10code.com decided to make as Normal priority.
Jul 27 2012, 3:59 AM · Mistaken, Trash
mancha closed T1430: nonsense g10code.com decided to make as Invalid.
Jul 27 2012, 3:59 AM · Mistaken, Trash
mancha renamed T1430: nonsense g10code.com decided to make from Complete your registration to g10 Code's BTS -- key 8eidJLq4lNXj0t1VFUMprNflLJRb7f7w to nonsense g10code.com decided to make.
Jul 27 2012, 3:59 AM · Mistaken, Trash
mancha set Version to 2.0.19 on T1429: Man page typo.
Jul 27 2012, 3:03 AM · Bug Report, gnupg
mancha added projects to T1429: Man page typo: gnupg, Bug Report.
Jul 27 2012, 3:03 AM · Bug Report, gnupg

Jul 24 2012

t8m reopened T1427: symmetric encryption exits with non-zero exit code as "Open".
Jul 24 2012, 11:09 AM · Bug Report, gnupg
t8m added a comment to T1427: symmetric encryption exits with non-zero exit code.

Well actually it is a bug. :) The homedir specification should work.

There are actually two bugs:

  1. the homedir is not forwarded to gpg-agent when it is started from gpg2
  1. even if I start gpg-agent manually the homedir must be specified as absolute

path, not relative - this is very inconvenient

Jul 24 2012, 11:09 AM · Bug Report, gnupg
t8m added a project to T1427: symmetric encryption exits with non-zero exit code: Bug Report.
Jul 24 2012, 11:09 AM · Bug Report, gnupg