Page MenuHome GnuPG
Feed All Stories

Jul 24 2012

t8m changed Version from 2.0.18 to 2.0.19 on T1427: symmetric encryption exits with non-zero exit code.
Jul 24 2012, 11:09 AM · Bug Report, gnupg

Jul 20 2012

gatuno added a comment to T1173: gpg has no easy way to view the reason and description of revocation sigs.

Sorry for reviving this bug, but, What is this implemented in gpg 1.4.x series?

Or this is going to be in the gpg 2.x series?

Jul 20 2012, 11:51 PM · gnupg, Debian, Feature Request
gatuno added a comment to T1000: Cannot use revoked subkeys for decription using a smartcard.

No, I can't reproduce the problem. I just came to check the status of the bug.
Thanks for the info werner.

Jul 20 2012, 11:46 PM · Too Old, scd, Debian, Bug Report, gnupg
gatuno closed T1000: Cannot use revoked subkeys for decription using a smartcard as Resolved.
Jul 20 2012, 11:46 PM · Too Old, scd, Debian, Bug Report, gnupg
gatuno added a comment to T1421: GnuPG should verify --homedir option before creating a key.

Ok, then just check if the home given by the user exists, if not then exit.

Jul 20 2012, 11:10 PM · Bug Report, gnupg
attila.lendvai added a comment to T1426: the way gpg updates the pubring files makes it impossible to symlink it.

well, i'm not a posix security expert, so take it with a piece of salt... but if
gpg followed symlinks on the pubring files, then it would be possible to symlink
the same public key db into two gnupg home directories.

Jul 20 2012, 12:05 PM · Won't Fix, gnupg, Feature Request
werner added a comment to T1428: --fingerprint and --with-fingerprint create slightly different results.

The first example runs gpg on a file and displays what it sees in the file. The
--with-fingerprint only adds the fingerprint. The second example is a shortcut
for --list-keys --with-fingerprint and lists the keys known to gpg.

Given that running gpg on any file is not well defined; I would consider this a
minor bug. However, gpg 2.1 messes the output completely up and thus I need to
do something for it. But not for 1.4.

Jul 20 2012, 9:48 AM · gnupg (gpg21), Debian, Bug Report, gnupg
werner added a comment to T1421: GnuPG should verify --homedir option before creating a key.

GnuPG creates the default home but not one given by the user.

Jul 20 2012, 9:39 AM · Bug Report, gnupg
werner added a comment to T1000: Cannot use revoked subkeys for decription using a smartcard.

It was set to resolved in 2011 because I was not able to replicate it. Are you
now able to replicate the problem?

Jul 20 2012, 9:37 AM · Too Old, scd, Debian, Bug Report, gnupg
gatuno added a comment to T1394: man page documents some unsupported parameters.

Hi!

These options are going to be removed from the manpage?

Jul 20 2012, 12:54 AM · gnupg, Debian, Feature Request
gatuno added a comment to T1000: Cannot use revoked subkeys for decription using a smartcard.

Hi!

Is this bug solved? And if yes, in what version is resolved?

Jul 20 2012, 12:35 AM · Too Old, scd, Debian, Bug Report, gnupg
gatuno reopened T1000: Cannot use revoked subkeys for decription using a smartcard as "Open".
Jul 20 2012, 12:35 AM · Too Old, scd, Debian, Bug Report, gnupg

Jul 19 2012

gatuno added a comment to T1421: GnuPG should verify --homedir option before creating a key.

I think it should be fixed in 1.4 series, because, it just wastes entrophy
making a key. OR maybe gnupg should create the home dir if it doesn't exits, if
it fails, exit with an error code.

Jul 19 2012, 11:52 PM · Bug Report, gnupg
dleidert added projects to T1428: --fingerprint and --with-fingerprint create slightly different results: gnupg, Bug Report, Debian.
Jul 19 2012, 11:48 PM · gnupg (gpg21), Debian, Bug Report, gnupg
dleidert set Version to 1.4.12 on T1428: --fingerprint and --with-fingerprint create slightly different results.
Jul 19 2012, 11:48 PM · gnupg (gpg21), Debian, Bug Report, gnupg
dleidert set External Link to http://bugs.debian.org/682064 on T1428: --fingerprint and --with-fingerprint create slightly different results.
Jul 19 2012, 11:48 PM · gnupg (gpg21), Debian, Bug Report, gnupg
gatuno added a comment to T1420: gpg --edit-key silently does nothing.

Well, then gpg will print a diagnostic message?

Sounds ok.

Jul 19 2012, 11:46 PM · Bug Report, gnupg
t8m added a comment to T1427: symmetric encryption exits with non-zero exit code.

Actually not a bug - the --homedir ./.gnupg causes it.

Jul 19 2012, 4:34 PM · Bug Report, gnupg
t8m closed T1427: symmetric encryption exits with non-zero exit code as Invalid.
Jul 19 2012, 4:34 PM · Bug Report, gnupg
t8m removed a project from T1427: symmetric encryption exits with non-zero exit code: Bug Report.
Jul 19 2012, 4:34 PM · Bug Report, gnupg
t8m set Version to 2.0.18 on T1427: symmetric encryption exits with non-zero exit code.
Jul 19 2012, 4:04 PM · Bug Report, gnupg
t8m added projects to T1427: symmetric encryption exits with non-zero exit code: gnupg, Bug Report.
Jul 19 2012, 4:04 PM · Bug Report, gnupg
nagydani added a comment to T1417: Unhashed signature subpacket "preferred keyserver" ignored for document signatures.

Revocations are only an issue with key updates, which must be (and, in fact,
are) made on the basis of preferred keyserver URL's in self-signatures on keys.

With document signatures, the only important issue is to have the key retrieved
from somewhere, if it is not known to the verifier. I cannot see any way in
which an attacker can make things worse for anyone, if retrieval is attempted
from URL's in unhashed subpackets if the key is not available.

The application that I am working on is a pontentially very large archive of
signed documents (financial transaction authorizations) that also contains the
corresponding keys. The archive is supposed to be distributed/redundant, with
both the documents and the keys available from multiple servers and it can also
be migrated from one server to another. Servers can go online and offline all
the time, no address is permanent. It is trivially easy for a server to include
its own address into an unhashed subpacket and very useful, too. The server does
not have access to private keys.

Nothing needs to be explained to users if they can simply
gpg --verify document.asc
after retrieving it from the server. Much more needs to be explained if
instructions are necessary where to retrieve the corresponding public key.
Polluting the HKP/SKS infrastructure with all the keys (most of which are
disposable) that we use would impose an unfair burden on the infrastructure and
as such would be a very irresponsible thing to do.

Jul 19 2012, 2:59 PM · Feature Request, gnupg
werner added a comment to T1426: the way gpg updates the pubring files makes it impossible to symlink it.

So you suggest to follow the symlink before editing the file?

Jul 19 2012, 1:30 PM · Won't Fix, gnupg, Feature Request
werner removed a project from T1417: Unhashed signature subpacket "preferred keyserver" ignored for document signatures: Bug Report.
Jul 19 2012, 1:28 PM · Feature Request, gnupg
werner lowered the priority of T1417: Unhashed signature subpacket "preferred keyserver" ignored for document signatures from Normal to Wishlist.
Jul 19 2012, 1:28 PM · Feature Request, gnupg
werner added a project to T1417: Unhashed signature subpacket "preferred keyserver" ignored for document signatures: Feature Request.
Jul 19 2012, 1:28 PM · Feature Request, gnupg
werner added a comment to T1417: Unhashed signature subpacket "preferred keyserver" ignored for document signatures.

Revocations are an issue as I explained. I also don't see a point in not
putting them ins signed subpackets. There is no technical problem with that.

I guess your use case is to add a keyserver URL to a signature later to have an
easier way to retrieve the key. Tinkering with a signature after it has been
created is not a good idea - you can't easily explain it to people.

Jul 19 2012, 1:27 PM · Feature Request, gnupg
werner added a comment to T1419: pipe-through of clearsigned documents adds an extra newline.

I would need to look it up myself. This has been implemented back in 1998 or 99.

Jul 19 2012, 1:21 PM · Not A Bug, Bug Report, gnupg

Jul 18 2012

attila.lendvai added projects to T1426: the way gpg updates the pubring files makes it impossible to symlink it: Feature Request, gnupg.
Jul 18 2012, 5:25 PM · Won't Fix, gnupg, Feature Request
nagydani added a comment to T1419: pipe-through of clearsigned documents adds an extra newline.

How would not emitting an extra LF interfere with empty messages?
Has this decision been debated? If so, could you point me to the discussion?
Thank you in advance!

Jul 18 2012, 3:02 PM · Not A Bug, Bug Report, gnupg
nagydani added a comment to T1417: Unhashed signature subpacket "preferred keyserver" ignored for document signatures.

I respectfully disagree:
What you write is true for certification signatures, but not for document
signatures. Updates of keys should be driven by keyserver preference indications
on self-signatures on that key and those must obviously be hashed.
However, OpenPGP very cleverly allows for keyserver URLs in document signatures
and does take them into account. They are used for only one purpose: do download
the key if it is not known. In this case, unhashed subpackets are as good as
hashed ones (actually, better), because the cryptographic binding between the
signature and the public key can be verified anyway, there is no such thing as a
wrong source for the public key, if it does correspond to the signature.

Jul 18 2012, 3:00 PM · Feature Request, gnupg
werner added a project to T1414: Please add pkg-config support: Won't Fix.
Jul 18 2012, 2:37 PM · Won't Fix, gpgme, Debian, Feature Request
werner added a comment to T1414: Please add pkg-config support.

The gpgme-config scripts goes along with the gpgme.m4 code. A .pc file won't be
able to do what we can do with this combination.

Please disregard my stupid comments about GPA. I was on the wrong track.

Jul 18 2012, 2:37 PM · Won't Fix, gpgme, Debian, Feature Request
werner raised the priority of T1422: Improve misleading message when trying to decrypt a file without the public key available from Wishlist to Normal.
Jul 18 2012, 2:33 PM · Bug Report, gnupg, Debian
werner added a project to T1422: Improve misleading message when trying to decrypt a file without the public key available: Bug Report.
Jul 18 2012, 2:33 PM · Bug Report, gnupg, Debian
werner removed a project from T1422: Improve misleading message when trying to decrypt a file without the public key available: Feature Request.
Jul 18 2012, 2:33 PM · Bug Report, gnupg, Debian
werner added a comment to T1422: Improve misleading message when trying to decrypt a file without the public key available.

That is actually a bug.

Jul 18 2012, 2:33 PM · Bug Report, gnupg, Debian
werner added a comment to T1423: Description of 'key' command could be improved.

I will consider that for 2.1. Doing it for 1.4 will break all translations and
thus I don't belive it will be an improvement in the end.

Jul 18 2012, 2:31 PM · gnupg, Debian, Feature Request
werner closed T1425: Please default to 4096 bit keys for RSA as Resolved.
Jul 18 2012, 2:29 PM · gnupg, Debian, Feature Request, Won't Fix
werner added a project to T1425: Please default to 4096 bit keys for RSA: Won't Fix.
Jul 18 2012, 2:29 PM · gnupg, Debian, Feature Request, Won't Fix
werner added a comment to T1425: Please default to 4096 bit keys for RSA.

We don't see a reason for this. 2k is the current best practise. See the long
discussions on gnupg-users which pop up every few months.

Jul 18 2012, 2:29 PM · gnupg, Debian, Feature Request, Won't Fix
werner added a comment to T1424: gpg --quiet doesn't suppress messages "requesting key XXX ..." / noise on STDERR/STDOUT.

I need to verify this. It is possible that we do a keylisting while importing
keys and the keylisting prints to stdout. If that is the case, we can't change
it because gpgme and scripts may reply on it.

Using --quiet for --refresh-keys makse sens, though.

Jul 18 2012, 2:28 PM · gnupg, Debian, Feature Request
werner reopened T1416: Possible buffer overflow in src/keyserver.c as "Open".
Jul 18 2012, 2:24 PM · Bug Report, gpa
werner added a comment to T1416: Possible buffer overflow in src/keyserver.c.

Fix pushed.

Jul 18 2012, 2:24 PM · Bug Report, gpa
werner closed T1416: Possible buffer overflow in src/keyserver.c as Resolved.
Jul 18 2012, 2:23 PM · Bug Report, gpa
werner added a comment to T1416: Possible buffer overflow in src/keyserver.c.

Regarding the ERR thing: You are right and I wonder why gcc (4.6.3) didn't
caught it.

Jul 18 2012, 2:17 PM · Bug Report, gpa
werner added a comment to T1416: Possible buffer overflow in src/keyserver.c.

The malloc + strcpy is a standard pattern. Example;

  struct {
    int flags;
    char name[1];
  } *foo;

  foo = xmalloc (sizeof *foo + strlen (string));
  strcpy (foo->name, string);

will always work correctly. The sizeof returns the length of the
structure which includes 1 byte for name. The strlen computes the
length of string without the terminator. However we alloacted one
extra byte (the name[1]) and thus everything is fine.

Jul 18 2012, 2:13 PM · Bug Report, gpa
werner added a comment to T1419: pipe-through of clearsigned documents adds an extra newline.

That's a known limitation of the protocol. We need this to allow for empty
mesages. Clearsigned messages are anyway only a compromise.

Jul 18 2012, 12:51 PM · Not A Bug, Bug Report, gnupg
werner added a project to T1419: pipe-through of clearsigned documents adds an extra newline: Not A Bug.
Jul 18 2012, 12:51 PM · Not A Bug, Bug Report, gnupg
werner reopened T1418: Pinentry not installed while using gpg2 as "Open".
Jul 18 2012, 12:49 PM · Not A Bug, Bug Report, gnupg
werner added a comment to T1418: Pinentry not installed while using gpg2.

Well, that is clearly an installation error. You must install one of the
available pinentries. Distributions usually have a dependency on pinnentry.

Jul 18 2012, 12:36 PM · Not A Bug, Bug Report, gnupg
werner closed T1418: Pinentry not installed while using gpg2 as Resolved.
Jul 18 2012, 12:36 PM · Not A Bug, Bug Report, gnupg
werner added a project to T1418: Pinentry not installed while using gpg2: Not A Bug.
Jul 18 2012, 12:36 PM · Not A Bug, Bug Report, gnupg
werner added a project to T1417: Unhashed signature subpacket "preferred keyserver" ignored for document signatures: Not A Bug.
Jul 18 2012, 12:34 PM · Feature Request, gnupg
werner added a comment to T1417: Unhashed signature subpacket "preferred keyserver" ignored for document signatures.

That is not correct. An attacker may point to a source with a copy of the key
before a revocation has been issued. Granted, if the revocation has been done
becuase of a proven private key compromise, this does not help. In all other
cases it is useful.

Jul 18 2012, 12:34 PM · Feature Request, gnupg
werner added a comment to T1415: gpgme_cancel() does not stop gpg process from finishing asynchronous call.

You mean there is a useless process running which should better be killed, right?

Jul 18 2012, 12:31 PM · gpgme, Bug Report, Debian
werner added a comment to T1421: GnuPG should verify --homedir option before creating a key.

Yeah, I rember that I was hit by this bug myself. I am not sure whetehr it
shall be fixed in 1.4. For interactive use gpg2 is better suited.

Jul 18 2012, 12:25 PM · Bug Report, gnupg
werner added a comment to T1420: gpg --edit-key silently does nothing.

For backward compatibility I don't think it is a good idea to change the exit
code. However, printing a diagnostic is a good idea.

Jul 18 2012, 12:23 PM · Bug Report, gnupg

Jul 17 2012

dleidert renamed T1424: gpg --quiet doesn't suppress messages "requesting key XXX ..." / noise on STDERR/STDOUT from gpg --quiet doesn't suppress messages "requesting key XXX ..." to gpg --quiet doesn't suppress messages "requesting key XXX ..." / noise on STDERR/STDOUT.
Jul 17 2012, 8:26 PM · gnupg, Debian, Feature Request
dleidert added a comment to T1424: gpg --quiet doesn't suppress messages "requesting key XXX ..." / noise on STDERR/STDOUT.

Another user reported in this (I can verify it):

During a full refresh of the keyring, gpg seems to output all information
to STDERR and STDOUT. This makes it inconvenient to have a cron job to refresh
keys, because it can result in a very large and fairly useless mail.

Please ensure that normal output goes to STDOUT and errors and warnings to
STDERR so that problems aren't lost in the noise from this command.

Indeed some "normal" messages go to stderr and some warnings go to stdout.

Jul 17 2012, 8:25 PM · gnupg, Debian, Feature Request
dleidert set External Link to http://bugs.debian.org/644385 on T1425: Please default to 4096 bit keys for RSA.
Jul 17 2012, 8:02 PM · gnupg, Debian, Feature Request, Won't Fix
dleidert added projects to T1425: Please default to 4096 bit keys for RSA: Feature Request, Debian, gnupg.
Jul 17 2012, 8:02 PM · gnupg, Debian, Feature Request, Won't Fix
dleidert set Version to 1.4.12 on T1425: Please default to 4096 bit keys for RSA.
Jul 17 2012, 8:02 PM · gnupg, Debian, Feature Request, Won't Fix
dleidert set External Link to http://bugs.debian.org/611802 on T1424: gpg --quiet doesn't suppress messages "requesting key XXX ..." / noise on STDERR/STDOUT.
Jul 17 2012, 7:56 PM · gnupg, Debian, Feature Request
dleidert added projects to T1424: gpg --quiet doesn't suppress messages "requesting key XXX ..." / noise on STDERR/STDOUT: Feature Request, Debian, gnupg.
Jul 17 2012, 7:56 PM · gnupg, Debian, Feature Request
dleidert set Version to 1.4.12 on T1424: gpg --quiet doesn't suppress messages "requesting key XXX ..." / noise on STDERR/STDOUT.
Jul 17 2012, 7:56 PM · gnupg, Debian, Feature Request
dleidert set External Link to http://bugs.debian.org/610336 on T1423: Description of 'key' command could be improved.
Jul 17 2012, 12:02 AM · gnupg, Debian, Feature Request
dleidert set Version to 1.4.12 on T1423: Description of 'key' command could be improved.
Jul 17 2012, 12:02 AM · gnupg, Debian, Feature Request
dleidert added projects to T1423: Description of 'key' command could be improved: Feature Request, Debian, gnupg.
Jul 17 2012, 12:02 AM · gnupg, Debian, Feature Request

Jul 16 2012

dleidert added projects to T1422: Improve misleading message when trying to decrypt a file without the public key available: Feature Request, Debian, gnupg.
Jul 16 2012, 11:51 PM · Bug Report, gnupg, Debian
dleidert set Version to 1.4.12 on T1422: Improve misleading message when trying to decrypt a file without the public key available.
Jul 16 2012, 11:51 PM · Bug Report, gnupg, Debian
dleidert set External Link to http://bugs.debian.org/638619 on T1422: Improve misleading message when trying to decrypt a file without the public key available.
Jul 16 2012, 11:51 PM · Bug Report, gnupg, Debian
gatuno set Version to 1.4.12 on T1421: GnuPG should verify --homedir option before creating a key.
Jul 16 2012, 11:36 PM · Bug Report, gnupg
gatuno added projects to T1421: GnuPG should verify --homedir option before creating a key: gnupg, Bug Report.
Jul 16 2012, 11:36 PM · Bug Report, gnupg
gatuno added projects to T1420: gpg --edit-key silently does nothing: gnupg, Bug Report.
Jul 16 2012, 10:47 PM · Bug Report, gnupg
gatuno set Version to 1.4.12 on T1420: gpg --edit-key silently does nothing.
Jul 16 2012, 10:47 PM · Bug Report, gnupg
nagydani renamed T1419: pipe-through of clearsigned documents adds an extra newline from pipe-though of clearsigned documents adds an extra newline to pipe-through of clearsigned documents adds an extra newline.
Jul 16 2012, 2:05 AM · Not A Bug, Bug Report, gnupg
nagydani added a comment to T1419: pipe-through of clearsigned documents adds an extra newline.

Jul 16 2012, 1:59 AM · Not A Bug, Bug Report, gnupg
nagydani set Version to gpg (GnuPG) 1.4.10 on T1419: pipe-through of clearsigned documents adds an extra newline.
Jul 16 2012, 1:59 AM · Not A Bug, Bug Report, gnupg
nagydani added projects to T1419: pipe-through of clearsigned documents adds an extra newline: gnupg, Bug Report.
Jul 16 2012, 1:59 AM · Not A Bug, Bug Report, gnupg

Jul 15 2012

VasiqMz added projects to T1418: Pinentry not installed while using gpg2: gnupg, Bug Report.
Jul 15 2012, 12:39 PM · Not A Bug, Bug Report, gnupg
VasiqMz set Version to 2.0.19 on T1418: Pinentry not installed while using gpg2.
Jul 15 2012, 12:39 PM · Not A Bug, Bug Report, gnupg
nagydani set Version to gpg (GnuPG) 1.4.10 on T1417: Unhashed signature subpacket "preferred keyserver" ignored for document signatures.
Jul 15 2012, 10:18 AM · Feature Request, gnupg
nagydani added projects to T1417: Unhashed signature subpacket "preferred keyserver" ignored for document signatures: gnupg, Bug Report.
Jul 15 2012, 10:18 AM · Feature Request, gnupg

Jul 14 2012

dleidert added a comment to T1416: Possible buffer overflow in src/keyserver.c.

The second thing I was wondering about was, is line 71:

x = g_malloc (sizeof *x + strlen (name) );

strlen() won't count the terminating byte whereas strcpy will copy it.

Jul 14 2012, 6:10 PM · Bug Report, gpa
dleidert set Version to 0.9.2 on T1416: Possible buffer overflow in src/keyserver.c.
Jul 14 2012, 6:05 PM · Bug Report, gpa
dleidert added projects to T1416: Possible buffer overflow in src/keyserver.c: gpa, Bug Report.
Jul 14 2012, 6:05 PM · Bug Report, gpa

Jul 13 2012

dleidert set External Link to http://bugs.debian.org/301429 on T1415: gpgme_cancel() does not stop gpg process from finishing asynchronous call.
Jul 13 2012, 10:10 PM · gpgme, Bug Report, Debian
dleidert set Version to 1.0.2 on T1415: gpgme_cancel() does not stop gpg process from finishing asynchronous call.
Jul 13 2012, 10:10 PM · gpgme, Bug Report, Debian
dleidert added projects to T1415: gpgme_cancel() does not stop gpg process from finishing asynchronous call: Debian, Bug Report, gpgme.
Jul 13 2012, 10:10 PM · gpgme, Bug Report, Debian
dleidert added a comment to T1415: gpgme_cancel() does not stop gpg process from finishing asynchronous call.

Jul 13 2012, 10:10 PM · gpgme, Bug Report, Debian
werner added projects to T1125: General error 2: Info Needed, Too Old.
Jul 13 2012, 2:45 PM · Too Old, Info Needed, Bug Report, gpa
werner closed T1125: General error 2 as Resolved.
Jul 13 2012, 2:45 PM · Too Old, Info Needed, Bug Report, gpa
werner added a comment to T1132: gpa.desktop contains deprecated key Encoding.

Fixed in master.

Jul 13 2012, 2:43 PM · Bug Report, gpa
werner closed T1132: gpa.desktop contains deprecated key Encoding as Resolved.
Jul 13 2012, 2:43 PM · Bug Report, gpa
werner closed T837: Decrypting from CD as Resolved.
Jul 13 2012, 2:40 PM · Bug Report, gpa
werner added a comment to T837: Decrypting from CD.

I assume this has been fixed.

Jul 13 2012, 2:40 PM · Bug Report, gpa
dleidert added a comment to T1414: Please add pkg-config support.

This won't add a dependency on pkg-config. The reporter requests, that you
ship a .pc file, so packages dependening on gpgme can use pkg-config to
determine compiler and linker flags when building against gpgme. There is no
request to make gpa use pkg-config.

Jul 13 2012, 2:39 PM · Won't Fix, gpgme, Debian, Feature Request
werner closed T1381: Clipboard contains no OpenPGP Data. as Resolved.
Jul 13 2012, 2:38 PM · Info Needed, Bug Report, gpa