Page MenuHome GnuPG
Feed Advanced Search

Jun 1 2016

werner added a comment to T2373: GPA should explain problems with expired subkeys..

Do you mean "unusable public key"? That might be due to an expired or revoked
subkey of that key.

Jun 1 2016, 2:02 PM · gpa, Feature Request
werner added a project to T2307: Failure to export secret key (Can't encode length=518 in a 2 byte header!): Duplicate.
Jun 1 2016, 2:01 PM · Duplicate, Bug Report, gnupg, gnupg (gpg21)
werner added a comment to T2307: Failure to export secret key (Can't encode length=518 in a 2 byte header!).

Duplicate of T2374

Jun 1 2016, 2:01 PM · Duplicate, Bug Report, gnupg, gnupg (gpg21)
werner added a project to T2374: exporting public key fails with "Ohhhh jeeee: Can't encode length=294 in a 2 byte header!": Duplicate.
Jun 1 2016, 1:59 PM · Bug Report, Duplicate, gnupg
werner added a comment to T2374: exporting public key fails with "Ohhhh jeeee: Can't encode length=294 in a 2 byte header!".

Duplicate of T2307

Jun 1 2016, 1:59 PM · Bug Report, Duplicate, gnupg
werner added a comment to T2374: exporting public key fails with "Ohhhh jeeee: Can't encode length=294 in a 2 byte header!".

We need to look at the history of the patch which introduced the stricter
checks. The problem we have is that some packets are indeed malformed but must
be exported/re-packaged exactly in their original broekn format.

Jun 1 2016, 1:59 PM · Bug Report, Duplicate, gnupg
gniibe added a comment to T2374: exporting public key fails with "Ohhhh jeeee: Can't encode length=294 in a 2 byte header!".

I don't know the reason, but User ID length is hardcoded.

diff --git a/g10/build-packet.c b/g10/build-packet.c
index 4bfc2ac..1353a86 100644

  • a/g10/build-packet.c

+++ b/g10/build-packet.c
@@ -329,7 +329,7 @@ do_user_id( IOBUF out, int ctb, PKT_user_id *uid )

  }
else
  {
  • write_header2( out, ctb, uid->len, 2 );

+ write_header2( out, ctb, uid->len, 0 );

    rc = iobuf_write( out, uid->name, uid->len );
  }
return rc;
Jun 1 2016, 1:49 PM · Bug Report, Duplicate, gnupg
gniibe claimed T2374: exporting public key fails with "Ohhhh jeeee: Can't encode length=294 in a 2 byte header!".
Jun 1 2016, 1:49 PM · Bug Report, Duplicate, gnupg

May 31 2016

dkg added projects to T2374: exporting public key fails with "Ohhhh jeeee: Can't encode length=294 in a 2 byte header!": gnupg, Bug Report.
May 31 2016, 10:42 PM · Bug Report, Duplicate, gnupg
dkg set Version to 2.1.12 on T2374: exporting public key fails with "Ohhhh jeeee: Can't encode length=294 in a 2 byte header!".
May 31 2016, 10:42 PM · Bug Report, Duplicate, gnupg
dkg added a comment to T2374: exporting public key fails with "Ohhhh jeeee: Can't encode length=294 in a 2 byte header!".

May 31 2016, 10:42 PM · Bug Report, Duplicate, gnupg
bernhard renamed T2346: Invalid import result in gnupg 2.1 when importing secret keys from Invalid import result in gnupg 2.1 when importing secret keys to Changed gpgme import result count in gnupg 2.1 when importing secret keys.
May 31 2016, 4:54 PM · Bug Report, gnupg, gnupg (gpg21)
bernhard updated subscribers of T2346: Invalid import result in gnupg 2.1 when importing secret keys.
May 31 2016, 4:54 PM · Bug Report, gnupg, gnupg (gpg21)
bernhard assigned T2346: Invalid import result in gnupg 2.1 when importing secret keys to werner.
May 31 2016, 4:54 PM · Bug Report, gnupg, gnupg (gpg21)
bernhard raised the priority of T2346: Invalid import result in gnupg 2.1 when importing secret keys from Low to Normal.
May 31 2016, 4:54 PM · Bug Report, gnupg, gnupg (gpg21)
bernhard added a comment to T2346: Invalid import result in gnupg 2.1 when importing secret keys.

Hi, I consider it a regular defect if unexplained, because the API somehow changed.

I ran into it while testing python3-gpgme on Debian Jessie.
Two testcases fail because of the changed gpgme behaviour to count more processed
"keys" than before.

pygpgme-0.3$ python3 -m unittest tests.test_import

F..F..

FAIL: test_import_concat (tests.test_import.ImportTestCase)

Traceback (most recent call last):

File "/home/bernhard/werkbank/2auto/pygpgme-0.3/tests/test_import.py", line 105, in

test_import_concat

self.assertEqual(result.considered, 3)

AssertionError: 5 != 3

FAIL: test_import_secret_file (tests.test_import.ImportTestCase)

Traceback (most recent call last):

File "/home/bernhard/werkbank/2auto/pygpgme-0.3/tests/test_import.py", line 58, in

test_import_secret_file

self.assertEqual(result.considered, 1)

AssertionError: 3 != 1

How to see the difference without pygpgme installed in Jessie with
Package: libgpgme11
Version: 1.6.0-99intevation1

Package: gnupg2
Version: 2.1.11-99intevation2

pygpgme-0.3/tests/keys$ LANG=C GNUPGHOME=~/tmp/dot.gnupg3 gpg2 --with-colons --import
key1.pub key1.sec key2.pub
gpg: Total number processed: 5

The same on wheezy:
Package: libgpgme11
Version: 1.3.1-0kk3

Package: gnupg2
Version: 2.0.25-99intevation2
ygpgme-0.3/tests/keys$ LANG=C GNUPGHOME=~/tmp/dot.gnupg gpg2 --with-colons --import
key1.pub key1.sec key2.pub

gpg: Total number processed: 3

May 31 2016, 4:54 PM · Bug Report, gnupg, gnupg (gpg21)
MrBazuki added a comment to T2373: GPA should explain problems with expired subkeys..

May 31 2016, 2:28 PM · gpa, Feature Request
MrBazuki added projects to T2373: GPA should explain problems with expired subkeys.: Bug Report, gpgme.
May 31 2016, 2:28 PM · gpa, Feature Request
MrBazuki set Version to GPA 0.9.1 & 0.9.9 on T2373: GPA should explain problems with expired subkeys..
May 31 2016, 2:28 PM · gpa, Feature Request
yajo added a project to T2372: Cannot use DNIe with gpg/2: Bug Report.
May 31 2016, 11:18 AM · gnupg, Support, Not A Bug, Bug Report

May 30 2016

werner added a comment to T2358: gnupg 2.1, gpg-agent crashing on 'assertion failed' (OS X, Homebrew).

See bug 2371, which has a backtrace attached.

May 30 2016, 8:08 AM · gpgrt, Duplicate, gpgagent, gnupg (gpg21), Bug Report
werner added a project to T2358: gnupg 2.1, gpg-agent crashing on 'assertion failed' (OS X, Homebrew): Duplicate.
May 30 2016, 8:08 AM · gpgrt, Duplicate, gpgagent, gnupg (gpg21), Bug Report
werner added a comment to T2358: gnupg 2.1, gpg-agent crashing on 'assertion failed' (OS X, Homebrew).

Duplicate of T2371

May 30 2016, 8:08 AM · gpgrt, Duplicate, gpgagent, gnupg (gpg21), Bug Report
werner added a comment to T1537: gpgv does not handle expired or revoked keys.

By resolved, I meant that the man page now states:

  gpgv  assumes  that  all  keys in the keyring are trustworthy.  That does also
  mean that it does not check for expired or revoked keys.

Your wish is to change this behaviour. This would be an API break and thus I
hestitate to do this for 1.4 and 2.0. However, 2.1 has a lot of changes anyway
and I think it is okay to change it for 2.1.

May 30 2016, 8:05 AM · Feature Request, gnupg
werner lowered the priority of T1537: gpgv does not handle expired or revoked keys from Normal to Low.
May 30 2016, 8:05 AM · Feature Request, gnupg
jhanssen added a project to T2371: gnupg 2.1, gpg-agent crashing on 'assertion failed' (OS X, Homebrew): Bug Report.
May 30 2016, 3:43 AM · gpgrt, Bug Report

May 27 2016

msinatra added a comment to T2367: gnupg 2.1.12 doesn't properly detect libusb in FreeBSD.

Looks good...I can even build and run it using the ports version if I hand-patch
it after extracting:

[sonicyouth] /usr/ports/security/gnupg# make extract

> License GPLv3 LGPL3 accepted by the user

> Found saved configuration for gnupg-2.1.12

> gnupg-2.1.12 depends on file: /usr/local/sbin/pkg - found

> Fetching all distfiles required by gnupg-2.1.12 for building

> Extracting for gnupg-2.1.12

> SHA256 Checksum OK for gnupg-2.1.12.tar.bz2.

> SHA256 Checksum OK for gnupg-2.1.12.tar.bz2.sig.

[sonicyouth] /usr/ports/security/gnupg# cd work/gnupg-2.1.12/
[sonicyouth] /usr/ports/security/gnupg/work/gnupg-2.1.12# patch <
~ms/Downloads/gnupg-master-
20160527.diff
Hmm... Looks like a unified diff to me...

The text leading up to this was:

diff --git a/configure.ac b/configure.ac
index 6458f1a..d90921c 100644
--- a/configure.ac
+++ b/configure.ac

Patching file configure.ac using Plan A...
Hunk #1 succeeded at 787.
done
[sonicyouth] /usr/ports/security/gnupg/work/gnupg-2.1.12# autoconf
[sonicyouth] /usr/ports/security/gnupg/work/gnupg-2.1.12# cd ../../
[sonicyouth] /usr/ports/security/gnupg# make install
[snip]

gpg: NOTE: THIS IS A DEVELOPMENT VERSION!
gpg: It is only intended for test purposes and should NOT be
gpg: used in a production environment or with production keys!
Reader ...........: 1050:0111:X:0
Application ID ...: D2760001240102000006036429670000
Version ..........: 2.0
Manufacturer .....: Yubico
[snip]

May 27 2016, 10:43 PM · Bug Report, gnupg
justus added a comment to T2324: gpg --batch --export-secret-key fails (requires user interaction) if key has no passphrase.

I did not work on this other than what I merged. What I did is to enhance our
fake pinentry program to allow it to supply different passphrases, make it write
a log so that we can quantify the pinentry interaction in test cases, and to add
an export test documenting the status quo.

May 27 2016, 6:02 PM · gnupg, OpenPGP, Bug Report
Nsane457 added a comment to T2370: libgpg-error: cross-compiling fails with "src/syscfg/lock-obj-pub.linux-gnueabi.h': No such file or directory".

Whether or not config.sub is up to date should be irrelevant as to whether
libgpg-error should be able to handle CPU variants and the second field of a
HOST. It is supposed to be treated as a freeform field (see
http://airs.com/ian/configure/configure_4.html). As to the precision of the r.e,
it is not supposed to fix or mimic the logic of config.sub. It is to
effectively pigeonhole some HOST strings to a valid header file. Can you give me
a scenario where arm*linux-gnueabi shouldn't map to
lock-obj-pub.arm-unknown-linux-gnueabi.h?

Also, what is the source of your assertion that armv7a-hardfloat-linux-gnueabi
is not a valid canonical triplet? Everything that I have ever read about HOST
strings such as "armv7a-hardfloat-linux-gnueabi" is that configure scripts treat
them as valid and parse them with case statements (as demonstrated here
http://airs.com/ian/configure/configure_4.html). They don't demand that the
end-user pass a generic version of HOST, like "arm-unknown-linux-gnueabi". The
only reason I chose to patch mkheader.c instead or configure.ac was to build on
the mapping logic already there.

May 27 2016, 5:25 PM · Info Needed, gpgrt, Gentoo, Bug Report
werner added a comment to T2370: libgpg-error: cross-compiling fails with "src/syscfg/lock-obj-pub.linux-gnueabi.h': No such file or directory".

config.sub is indeed intended to canonicalize triplets. Thus a an up-to-date
config.sub should fix this. In any case you can always override the guessed
value like this:

  -/configure --build=$(build-aux/config.guess) --host=arm-unknown-linux-gnueabi

I fear that a single r.e. is not precise enough; config.sub has more complicated
rules.

May 27 2016, 11:53 AM · Info Needed, gpgrt, Gentoo, Bug Report
werner added a comment to T2324: gpg --batch --export-secret-key fails (requires user interaction) if key has no passphrase.

The question at hand is whether dkg's patch or Justus work is the way to go. I
have not yet reviewed dkg's patch, though.

May 27 2016, 11:42 AM · gnupg, OpenPGP, Bug Report
werner added a comment to T2324: gpg --batch --export-secret-key fails (requires user interaction) if key has no passphrase.

dgk: You are right that Pinentry may be used even with --batch. In fact gpgme
uses --batch and a Pinentry is used nevertheless.

Right, there are no technical means right now to inhibit the export of private
keys. However, it would be easy to add this by not allowing gpg-agent to tell
the client the key used to encrypt the import/export command of keys.

A user migyt have used no passphrase for a key in the believe that an
unprotected key can't be exported.

May 27 2016, 11:41 AM · gnupg, OpenPGP, Bug Report
aheinecke claimed T2368: Integer overflow in gpgme_progress_cb arguments.
May 27 2016, 11:40 AM · gpgme, Bug Report
aheinecke added a comment to T2368: Integer overflow in gpgme_progress_cb arguments.

No, I'll do a Version check in for the GnuPG Version in Kleo master and I won't
backport any changes to the KDE4 / Gpg4win stable variant.

I'm assigning testing to me, I'll test it by using it in Kleo :-)

May 27 2016, 11:40 AM · gpgme, Bug Report
werner added a project to T2368: Integer overflow in gpgme_progress_cb arguments: Restricted Project.
May 27 2016, 11:31 AM · gpgme, Bug Report
werner added a comment to T2368: Integer overflow in gpgme_progress_cb arguments.

Done with commit 6c957c3.
Do we need to backport this?

May 27 2016, 11:31 AM · gpgme, Bug Report
aheinecke added a comment to T2368: Integer overflow in gpgme_progress_cb arguments.

The best solution I can see is to keep CURENT and TOTAL in gpg below 2^31.

Ok, this would work for me, too.

May 27 2016, 10:50 AM · gpgme, Bug Report
werner added a comment to T2368: Integer overflow in gpgme_progress_cb arguments.

Actually the specs does not say anything about the valid range of the values.

However, gpg uses unsigned long for CURRENT and TOTAL in the progress status
lines for decryption. Unfortunatley the WHAT value is set to the filename and
thus there is no easy way to determine in GPGME how CURRENT and TOTAL are used.

The best solution I can see is to keep CURENT and TOTAL in gpg below 2^31. This
can be done by switching from bytes to KiB and MiB before the 2^31 limit is
reached. I checked GPA and it should not chnage anything, due to

    gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (pbar),
				   (gdouble) current / (gdouble) total);
May 27 2016, 10:05 AM · gpgme, Bug Report
werner lowered the priority of T2369: HTTPS download directory listing does not work (403) from Normal to Low.
May 27 2016, 9:54 AM · Bug Report, gpgweb
werner lowered the priority of T2366: No DEP/ASLR or other security mitigations for GpgEX/GpgOL from High to Normal.
May 27 2016, 9:54 AM · Feature Request, Windows 64, gpgol, gpg4win, Windows, Windows 32
werner added a project to T2366: No DEP/ASLR or other security mitigations for GpgEX/GpgOL: Duplicate.
May 27 2016, 9:54 AM · Feature Request, Windows 64, gpgol, gpg4win, Windows, Windows 32
werner added a comment to T2366: No DEP/ASLR or other security mitigations for GpgEX/GpgOL.

You can now. Thus is not a bug but a feature request.

Note that we do not use Microsoft compilers but use gcc and in cross build
environment.

May 27 2016, 9:54 AM · Feature Request, Windows 64, gpgol, gpg4win, Windows, Windows 32
werner added a project to T2366: No DEP/ASLR or other security mitigations for GpgEX/GpgOL: Feature Request.
May 27 2016, 9:54 AM · Feature Request, Windows 64, gpgol, gpg4win, Windows, Windows 32
Nsane457 added projects to T2370: libgpg-error: cross-compiling fails with "src/syscfg/lock-obj-pub.linux-gnueabi.h': No such file or directory": Bug Report, Gentoo, gpgrt.
May 27 2016, 4:58 AM · Info Needed, gpgrt, Gentoo, Bug Report
gniibe added a comment to T2367: gnupg 2.1.12 doesn't properly detect libusb in FreeBSD.

D368: 838_gnupg-master-20160527.diff

May 27 2016, 1:45 AM · Bug Report, gnupg
gniibe added a comment to T2367: gnupg 2.1.12 doesn't properly detect libusb in FreeBSD.

Thank you for the report.
Indeed, the configure script has a bug.
Attached is a patch to fix this.

May 27 2016, 1:45 AM · Bug Report, gnupg
gniibe added a project to T2367: gnupg 2.1.12 doesn't properly detect libusb in FreeBSD: Restricted Project.
May 27 2016, 1:45 AM · Bug Report, gnupg
gniibe claimed T2367: gnupg 2.1.12 doesn't properly detect libusb in FreeBSD.
May 27 2016, 1:45 AM · Bug Report, gnupg

May 26 2016

jku2 added a comment to T2369: HTTPS download directory listing does not work (403).

Also, index.html in https://www.gnupg.org/ftp/gcrypt/gnutls/ is not up to date:
it does not list v3.5 but the tarball is there:

https://www.gnupg.org/ftp/gcrypt/gnutls/v3.5/gnutls-3.5.tar.xz
May 26 2016, 10:36 AM · Bug Report, gpgweb
jku2 renamed T2369: HTTPS download directory listing does not work (403) from HTTPS download directory listing does not work to HTTPS download directory listing does not work (403).
May 26 2016, 8:56 AM · Bug Report, gpgweb
jku2 added projects to T2369: HTTPS download directory listing does not work (403): gpgweb, Bug Report.
May 26 2016, 8:55 AM · Bug Report, gpgweb

May 25 2016

aheinecke added projects to T2368: Integer overflow in gpgme_progress_cb arguments: Bug Report, gpgme.
May 25 2016, 5:49 PM · gpgme, Bug Report
aheinecke set Version to master on T2368: Integer overflow in gpgme_progress_cb arguments.
May 25 2016, 5:49 PM · gpgme, Bug Report

May 24 2016

msinatra renamed T2367: gnupg 2.1.12 doesn't properly detect libusb in FreeBSD from gnuph 2.1.12 doesn't properly detect libusb in FreeBSD to gnupg 2.1.12 doesn't properly detect libusb in FreeBSD.
May 24 2016, 11:25 PM · Bug Report, gnupg
msinatra added projects to T2367: gnupg 2.1.12 doesn't properly detect libusb in FreeBSD: gnupg, Bug Report.
May 24 2016, 11:23 PM · Bug Report, gnupg

May 23 2016

dkg added a comment to T2324: gpg --batch --export-secret-key fails (requires user interaction) if key has no passphrase.

I'm not convinced that this policy is effectively implemented in gpg-agent.

The patch series that starts here:

https://lists.gnupg.org/pipermail/gnupg-devel/2016-May/031121.html

resolves the export of secret key material stored as cleartext, and it does so
without modifying gpg-agent at all.

fwiw, I do not agree with T2324 (justus on Apr 18 2016, 05:22 PM / Roundup) that gpg --batch should not use pinentry at
all -- i think it's quite useful to be able to combine --batch with pinentry,
where the key is stored protected, or is otherwise marked by gpg-agent for
limited use.

May 23 2016, 6:21 PM · gnupg, OpenPGP, Bug Report
dkg reopened T1537: gpgv does not handle expired or revoked keys as "Open".
May 23 2016, 4:40 PM · Feature Request, gnupg
dkg changed Version from 2.0.19 to 2.1.12 on T1537: gpgv does not handle expired or revoked keys.
May 23 2016, 4:40 PM · Feature Request, gnupg
dkg added a comment to T1537: gpgv does not handle expired or revoked keys.

May 23 2016, 4:40 PM · Feature Request, gnupg
dkg added a comment to T1537: gpgv does not handle expired or revoked keys.

I don't think this is actually resolved.

As noted in https://lists.gnupg.org/pipermail/gnupg-devel/2016-April/031032.html
, gpgv accepts signatures made from revoked or expired keys.

It should reject signatures made from keys it believes to be revoked or expired.

The attached tarball contains:

     pubkey.gpg -- a binary-format 2048-bit RSA OpenPGP certificate

     C47D9EDFF117EE2AA11B162D017D715B3D0C4AF2.key -- the corresponding
                                                     secret key (for
                                                     reference/experimentation
                                                     only)

     before.txt.asc -- clearsigned message made by the key before
                       certificate creation time

     during.txt.asc -- clearsigned message made by the key between
                       certificate creation and certificate expiration

     after.txt.asc -- clearsigned message made by the key after certificate
                      expiration

of these, gpg approves of during.txt.asc and after.txt.asc, but not before.txt.asc.

May 23 2016, 4:40 PM · Feature Request, gnupg
sdl_nexiom.net added projects to T2366: No DEP/ASLR or other security mitigations for GpgEX/GpgOL: Windows 32, Windows, gpg4win, gpgol, Windows 64, Bug Report.
May 23 2016, 4:48 AM · Feature Request, Windows 64, gpgol, gpg4win, Windows, Windows 32

May 20 2016

languitar added a comment to T2298: Unblocking a smartcard PIN not possible in 2.1.

is there any way to get better debug output so this can be tracked down?

May 20 2016, 2:31 PM · Info Needed, gnupg, scd, Bug Report
gniibe added a comment to T2298: Unblocking a smartcard PIN not possible in 2.1.

Thank you for the version information which worked.

Speaking of the code of scdaemon, there is no difference for unblocking (by
resetcode and by admin) between 2.1.11/12 and 2.0.30.

Please note that there are two subcommands.

    admin -> passwd -> 2: unblocking by Admin
    unblock: unblocking by resetcode

Latter requires setting resetcode beforehand.

May 20 2016, 12:46 PM · Info Needed, gnupg, scd, Bug Report
languitar added a comment to T2298: Unblocking a smartcard PIN not possible in 2.1.

This was possible on my mac with:

gpg (GnuPG) 2.0.30
libgcrypt 1.7.0
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, RSA, RSA, ELG, DSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,

CAMELLIA128, CAMELLIA192, CAMELLIA256

Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2

May 20 2016, 10:54 AM · Info Needed, gnupg, scd, Bug Report
aheinecke set External Link to https://bugs.kde.org/show_bug.cgi?id=363309 on T2365: Web of Trust status Display in Kleopatra insufficient.
May 20 2016, 9:57 AM · KDE, Bug Report, gpg4win
aheinecke renamed T2365: Web of Trust status Display in Kleopatra insufficient from - to be deleted - to Web of Trust status Display in Kleopatra insufficient.
May 20 2016, 9:57 AM · KDE, Bug Report, gpg4win
aheinecke closed T2365: Web of Trust status Display in Kleopatra insufficient as Resolved.
May 20 2016, 9:57 AM · KDE, Bug Report, gpg4win
aheinecke added a comment to T2365: Web of Trust status Display in Kleopatra insufficient.

Tracked at: https://bugs.kde.org/show_bug.cgi?id=363309

May 20 2016, 9:57 AM · KDE, Bug Report, gpg4win
JochenSaalfeld renamed T2365: Web of Trust status Display in Kleopatra insufficient from Web of Trust status Display in Kleopatra insufficient to - to be deleted -.
May 20 2016, 9:34 AM · KDE, Bug Report, gpg4win
JochenSaalfeld placed T2365: Web of Trust status Display in Kleopatra insufficient up for grabs.
May 20 2016, 9:34 AM · KDE, Bug Report, gpg4win
JochenSaalfeld removed a project from T2365: Web of Trust status Display in Kleopatra insufficient: kleopatra.
May 20 2016, 9:34 AM · KDE, Bug Report, gpg4win
JochenSaalfeld reopened T2365: Web of Trust status Display in Kleopatra insufficient as "Open".
May 20 2016, 9:33 AM · KDE, Bug Report, gpg4win
JochenSaalfeld closed T2365: Web of Trust status Display in Kleopatra insufficient as Resolved.
May 20 2016, 9:25 AM · KDE, Bug Report, gpg4win
bernhard raised the priority of T2365: Web of Trust status Display in Kleopatra insufficient from Low to Normal.
May 20 2016, 8:22 AM · KDE, Bug Report, gpg4win
JochenSaalfeld added projects to T2365: Web of Trust status Display in Kleopatra insufficient: gpg4win, kleopatra, Bug Report, KDE.
May 20 2016, 8:12 AM · KDE, Bug Report, gpg4win

May 19 2016

noEntry closed T2234: Core dump while calling bkuptocard as Resolved.
May 19 2016, 11:48 PM · Bug Report, gnupg
noEntry reopened T2234: Core dump while calling bkuptocard as "Open".
May 19 2016, 11:48 PM · Bug Report, gnupg
noEntry added a comment to T2234: Core dump while calling bkuptocard.

Issue is resolved

May 19 2016, 11:48 PM · Bug Report, gnupg
noEntry removed a project from T2234: Core dump while calling bkuptocard: Restricted Project.
May 19 2016, 11:47 PM · Bug Report, gnupg
noEntry closed T2234: Core dump while calling bkuptocard as Resolved.
May 19 2016, 11:47 PM · Bug Report, gnupg
werner added a project to T2361: not-resolved status needs to be include in the seartch: In Progress.
May 19 2016, 10:34 AM · In Progress, Bug Report
werner added a comment to T2361: not-resolved status needs to be include in the seartch.

Done for new searches.

May 19 2016, 10:34 AM · In Progress, Bug Report
werner closed T2356: Typo in man gpg ("teh") as Resolved.
May 19 2016, 10:20 AM · Bug Report, gnupg
werner added projects to T2358: gnupg 2.1, gpg-agent crashing on 'assertion failed' (OS X, Homebrew): gnupg (gpg21), gpgagent, gnupg.
May 19 2016, 10:07 AM · gpgrt, Duplicate, gpgagent, gnupg (gpg21), Bug Report
werner added a comment to T2358: gnupg 2.1, gpg-agent crashing on 'assertion failed' (OS X, Homebrew).

Thanks. I need a stack backtrace to find the location of the cause.
Please start gpg-agent using:

  gpg-connect-agent /bye

The figure out the PID of the gpg-agent process and run

  gdb /usr/local/bin/gpg-agent PID

At the gdb prompt enter

  handle SIGPIPE nostop noprint pass
  c

The "c" continues operation of gpg-agent. In another terminal run

  gpg2 --sign

as done in your example. GDB in the first terminal will eventually
stop due to the assert. Enter at the gdb prompt:

  bt

and post the output. I would also like to know which version of
libgpg-error you are using:

  gpg-error --version

should show this (or use gpg-error-config --version).

May 19 2016, 10:07 AM · gpgrt, Duplicate, gpgagent, gnupg (gpg21), Bug Report
gniibe added a comment to T2298: Unblocking a smartcard PIN not possible in 2.1.

Here is another session after another three times failure.

This time, unblock by admin with Admin PIN.

$ gpg --card-edit

Reader ...........: Free Software Initiative of Japan Gnuk (FSIJ-1.1.9-87021534)
00 00
Application ID ...: D276000124010200FFFE870215340000
Version ..........: 2.0
Manufacturer .....: unmanaged S/N range
Serial number ....: 87021534
Name of cardholder: [not set]
Language prefs ...: [not set]
Sex ..............: unspecified
URL of public key : [not set]
Login data .......: [not set]
Signature PIN ....: not forced
Key attributes ...: rsa4096 rsa4096 rsa4096
Max. PIN lengths .: 127 127 127
PIN retry counter : 0 3 3
Signature counter : 6
Signature key ....: 6E9A 631F 1997 F37C 7F4E 9952 8916 1D16 AA0D B710

created ....: 2016-05-19 05:09:13

Encryption key....: 0138 70C9 FA89 986F 2784 31A9 8AAA 8F21 ABD4 A70C

created ....: 2016-05-19 05:09:13

Authentication key: B2FE 8DAF 9494 3320 760F 38E2 30F6 A992 6870 02D6

created ....: 2016-05-19 05:11:14

General key info..: pub rsa4096/AA0DB710 2016-05-19 Chuji Kunisada
<chuji@gniibe.org>
sec> rsa4096/AA0DB710 created: 2016-05-19 expires: never

card-no: FFFE 87021534

ssb> rsa4096/ABD4A70C created: 2016-05-19 expires: never

card-no: FFFE 87021534

ssb> rsa4096/687002D6 created: 2016-05-19 expires: never

                        card-no: FFFE 87021534

gpg/card> admin
Admin commands are allowed

gpg/card> passwd
gpg: OpenPGP card no. D276000124010200FFFE870215340000 detected

1 - change PIN
2 - unblock PIN
3 - change Admin PIN
4 - set the Reset Code
Q - quit

Your selection? 2

[ Admin PIN ]
[ New PIN ]
[ Repeat New PIN ]

PIN unblocked and new PIN set.

1 - change PIN
2 - unblock PIN
3 - change Admin PIN
4 - set the Reset Code
Q - quit

Your selection? q

gpg/card>

Reader ...........: Free Software Initiative of Japan Gnuk (FSIJ-1.1.9-87021534)
00 00
Application ID ...: D276000124010200FFFE870215340000
Version ..........: 2.0
Manufacturer .....: unmanaged S/N range
Serial number ....: 87021534
Name of cardholder: [not set]
Language prefs ...: [not set]
Sex ..............: unspecified
URL of public key : [not set]
Login data .......: [not set]
Signature PIN ....: not forced
Key attributes ...: rsa4096 rsa4096 rsa4096
Max. PIN lengths .: 127 127 127
PIN retry counter : 3 3 3
Signature counter : 6
Signature key ....: 6E9A 631F 1997 F37C 7F4E 9952 8916 1D16 AA0D B710

created ....: 2016-05-19 05:09:13

Encryption key....: 0138 70C9 FA89 986F 2784 31A9 8AAA 8F21 ABD4 A70C

created ....: 2016-05-19 05:09:13

Authentication key: B2FE 8DAF 9494 3320 760F 38E2 30F6 A992 6870 02D6

created ....: 2016-05-19 05:11:14

General key info..: pub rsa4096/AA0DB710 2016-05-19 Chuji Kunisada
<chuji@gniibe.org>
sec> rsa4096/AA0DB710 created: 2016-05-19 expires: never

card-no: FFFE 87021534

ssb> rsa4096/ABD4A70C created: 2016-05-19 expires: never

card-no: FFFE 87021534

ssb> rsa4096/687002D6 created: 2016-05-19 expires: never

                        card-no: FFFE 87021534

$

May 19 2016, 8:25 AM · Info Needed, gnupg, scd, Bug Report
gniibe added a project to T2298: Unblocking a smartcard PIN not possible in 2.1: Info Needed.
May 19 2016, 8:24 AM · Info Needed, gnupg, scd, Bug Report
gniibe changed Version from 2.1.11 to 2.1.11,2.1.12 on T2298: Unblocking a smartcard PIN not possible in 2.1.
May 19 2016, 8:24 AM · Info Needed, gnupg, scd, Bug Report
gniibe added a comment to T2298: Unblocking a smartcard PIN not possible in 2.1.

My case with Gnuk Token.
First, I intentionally input wrong PIN for singing three times.
Then, I invoke gpg --card-edit (with 2.1.2 on Debian experimental) to unblock
the token by resetcode.

$ gpg --card-edit

Reader ...........: Free Software Initiative of Japan Gnuk (FSIJ-1.1.9-87021534)
00 00
Application ID ...: D276000124010200FFFE870215340000
Version ..........: 2.0
Manufacturer .....: unmanaged S/N range
Serial number ....: 87021534
Name of cardholder: [not set]
Language prefs ...: [not set]
Sex ..............: unspecified
URL of public key : [not set]
Login data .......: [not set]
Signature PIN ....: not forced
Key attributes ...: rsa4096 rsa4096 rsa4096
Max. PIN lengths .: 127 127 127
PIN retry counter : 0 2 3
Signature counter : 6
Signature key ....: 6E9A 631F 1997 F37C 7F4E 9952 8916 1D16 AA0D B710

created ....: 2016-05-19 05:09:13

Encryption key....: 0138 70C9 FA89 986F 2784 31A9 8AAA 8F21 ABD4 A70C

created ....: 2016-05-19 05:09:13

Authentication key: B2FE 8DAF 9494 3320 760F 38E2 30F6 A992 6870 02D6

created ....: 2016-05-19 05:11:14

General key info..: pub rsa4096/AA0DB710 2016-05-19 Chuji Kunisada
<chuji@gniibe.org>
sec> rsa4096/AA0DB710 created: 2016-05-19 expires: never

card-no: FFFE 87021534

ssb> rsa4096/ABD4A70C created: 2016-05-19 expires: never

card-no: FFFE 87021534

ssb> rsa4096/687002D6 created: 2016-05-19 expires: never

                        card-no: FFFE 87021534

gpg/card> unblock
gpg: OpenPGP card no. D276000124010200FFFE870215340000 detected

[ Resetcode ]
[ New PIN ]
[ Repeat New PIN ]

PIN changed.

gpg/card>

Reader ...........: Free Software Initiative of Japan Gnuk (FSIJ-1.1.9-87021534)
00 00
Application ID ...: D276000124010200FFFE870215340000
Version ..........: 2.0
Manufacturer .....: unmanaged S/N range
Serial number ....: 87021534
Name of cardholder: [not set]
Language prefs ...: [not set]
Sex ..............: unspecified
URL of public key : [not set]
Login data .......: [not set]
Signature PIN ....: not forced
Key attributes ...: rsa4096 rsa4096 rsa4096
Max. PIN lengths .: 127 127 127
PIN retry counter : 3 3 3
Signature counter : 6
Signature key ....: 6E9A 631F 1997 F37C 7F4E 9952 8916 1D16 AA0D B710

created ....: 2016-05-19 05:09:13

Encryption key....: 0138 70C9 FA89 986F 2784 31A9 8AAA 8F21 ABD4 A70C

created ....: 2016-05-19 05:09:13

Authentication key: B2FE 8DAF 9494 3320 760F 38E2 30F6 A992 6870 02D6

created ....: 2016-05-19 05:11:14

General key info..: pub rsa4096/AA0DB710 2016-05-19 Chuji Kunisada
<chuji@gniibe.org>
sec> rsa4096/AA0DB710 created: 2016-05-19 expires: never

card-no: FFFE 87021534

ssb> rsa4096/ABD4A70C created: 2016-05-19 expires: never

card-no: FFFE 87021534

ssb> rsa4096/687002D6 created: 2016-05-19 expires: never

                        card-no: FFFE 87021534

gpg/card> quit

Please note that 'unblock' subcommand is to unblock with resetcode.

May 19 2016, 8:24 AM · Info Needed, gnupg, scd, Bug Report

May 18 2016

rygpeter added a comment to T2356: Typo in man gpg ("teh").

After a release upgrade, in "gnupg 1.4.20-1ubuntu3 amd64", this typo disappeared
(I see "the").
For myself, this issue can be closed.

May 18 2016, 2:49 PM · Bug Report, gnupg
gniibe added a comment to T2298: Unblocking a smartcard PIN not possible in 2.1.

For some reason, I can't reproduce your problem in 2.1.x. Isn't it a problem of
your smartcard implementation?
Please describe the specific version number of GnuPG which is possible to
unblock this particular implementation of smartcard.

May 18 2016, 1:18 PM · Info Needed, gnupg, scd, Bug Report

May 17 2016

gfontenot added a comment to T2358: gnupg 2.1, gpg-agent crashing on 'assertion failed' (OS X, Homebrew).

This is with gnupg 2.1.12, I don't have the same issue with gnupg 2.0.30

May 17 2016, 4:43 PM · gpgrt, Duplicate, gpgagent, gnupg (gpg21), Bug Report
rygpeter added a comment to T2356: Typo in man gpg ("teh").

1.4.18-7ubuntu1

May 17 2016, 3:41 PM · Bug Report, gnupg
rygpeter added a comment to T2356: Typo in man gpg ("teh").

$ dpkg-query -l gnupg
Desired=Unknown/Install/Remove/Purge/Hold

Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
/ Name Version Architecture Description

+++-===================-==============-==============-============================================
ii gnupg 1.4.18-7ubuntu amd64 GNU privacy guard - a free
PGP replacement

May 17 2016, 3:39 PM · Bug Report, gnupg
machnikr_gmail.com added a comment to T2354: Deleted secure key not quite deleted?.

Hi Werner,

It's Linux 3.10.0-229.4.2.el7.x86_64 and GnuPG 2.0.22 libgcrypt 1.5.3.
If you mean the commands to delete the test secret key that is now somehow
still showing up when I try to delete the new public key, just imported,
that's:
gpg --delete-secret-keys 'user ID...'

Trying to edit the newly imported key:
gpg -u 'user ID for the key that is used to sign/trust keys' --edit-key
'user ID of the new key'
also tried
gpg -u 'user ID for the key that is used to sign/trust keys' --edit-key
keyID...

I hope this helps, thanks.
Raf

May 17 2016, 2:48 PM · gnupg, Bug Report
werner added a comment to T2356: Typo in man gpg ("teh").

Which GnuPG version?

May 17 2016, 2:26 PM · Bug Report, gnupg
werner added a project to T2361: not-resolved status needs to be include in the seartch: Bug Report.
May 17 2016, 2:26 PM · In Progress, Bug Report
werner added projects to T2357: "minimal dunb-terminal": Not A Bug, Debian.
May 17 2016, 2:21 PM · Debian, Not A Bug, Bug Report, pinentry
werner closed T2357: "minimal dunb-terminal" as Resolved.
May 17 2016, 1:55 PM · Debian, Not A Bug, Bug Report, pinentry
werner added a comment to T2357: "minimal dunb-terminal".

Please report this to Debian. This is not a part of upstream Pinentry.

May 17 2016, 1:55 PM · Debian, Not A Bug, Bug Report, pinentry