Page MenuHome GnuPG
Feed Advanced Search

Apr 21 2015

gniibe added a comment to T1930: PATCH: Be more flexible on PC/SC reader selection.

Thank you for your patch. I think that it is more useful.
Well, it will change the semantics of "reader-port" option slightly (exact match
to partial match).
In this case, isn't it more useful for users to allow default reader when no
match (my patch attached)?

Please let me know your name so that I can acknowledge your name as original
patch author.
Please test my patch.

Apr 21 2015, 8:21 AM · gnupg, Feature Request, scd
gniibe added a comment to T1686: GPG Smartcard daemons not detecting card change Windows 8.1.

Do you mean GnuPG doesn't detect second card change?
Currently, GnuPG doesn't support multiple readers and multiple cards.

Apr 21 2015, 6:02 AM · gnupg, Windows 32, gnupg (gpg20), Windows, Bug Report

Apr 14 2015

gniibe added a comment to T1709: scm spr332 pinpad entry failure under Windows7.

Or, SCardControl default timeout is too short. GnuPG doesn't specify the
timeout, but uses 0x00 for bTimeOut, which means using default.
I don't know how we can change default timeout on Windows.

Apr 14 2015, 8:58 AM · Info Needed, gpg4win, Bug Report
gniibe added a project to T1709: scm spr332 pinpad entry failure under Windows7: Info Needed.
Apr 14 2015, 8:27 AM · Info Needed, gpg4win, Bug Report
gniibe added a comment to T1709: scm spr332 pinpad entry failure under Windows7.

The error value is 0x79, which means ERROR_SEM_TIMEOUT on Windows.
It seems for me that there was another application which tried to access the
smartcard and the reader, which interfered.
Did you use solely GnuPG?

Apr 14 2015, 8:27 AM · Info Needed, gpg4win, Bug Report
gniibe added a comment to T1947: [smartcard] Decryption fails and breaks smartcard reader (Alcor Micro).

Fix committed as 971d558e862db878a7310e06ed7116dbe36886ab.

Apr 14 2015, 7:25 AM · Bug Report, gnupg, gnupg (gpg21), scd
gniibe added a project to T1947: [smartcard] Decryption fails and breaks smartcard reader (Alcor Micro): Restricted Project.
Apr 14 2015, 7:25 AM · Bug Report, gnupg, gnupg (gpg21), scd

Apr 10 2015

gniibe added a project to T1081: scd: "card error" after usb reader plug/unplug cycle, needs hard restart: gnupg.
Apr 10 2015, 10:08 AM · gnupg, gpg4win, Feature Request, scd
gniibe added a comment to T1081: scd: "card error" after usb reader plug/unplug cycle, needs hard restart.

Let me confirm. Does this bus still exist in recent version of gpg 1.4 and/or
2.0, 2.1?

Apr 10 2015, 10:08 AM · gnupg, gpg4win, Feature Request, scd
gniibe claimed T1081: scd: "card error" after usb reader plug/unplug cycle, needs hard restart.
Apr 10 2015, 10:08 AM · gnupg, gpg4win, Feature Request, scd
gniibe claimed T1323: Poldi should allow password entry when a card is not inserted.
Apr 10 2015, 9:59 AM · Feature Request, poldi
gniibe added a project to T1209: Cherry ST-2000U USB card reader keypad not working on GNU/Linux: scd.
Apr 10 2015, 9:56 AM · scd, Bug Report, gnupg
gniibe claimed T1209: Cherry ST-2000U USB card reader keypad not working on GNU/Linux.
Apr 10 2015, 9:56 AM · scd, Bug Report, gnupg
gniibe added a project to T1759: gnupg 2.1 regression: cannot use OpenPGP card for signing: Info Needed.
Apr 10 2015, 9:51 AM · Info Needed, Bug Report, gnupg
gniibe removed a project from T1947: [smartcard] Decryption fails and breaks smartcard reader (Alcor Micro): OpenPGP.
Apr 10 2015, 9:47 AM · Bug Report, gnupg, gnupg (gpg21), scd
gniibe added a project to T1947: [smartcard] Decryption fails and breaks smartcard reader (Alcor Micro): scd.
Apr 10 2015, 9:47 AM · Bug Report, gnupg, gnupg (gpg21), scd
gniibe added a comment to T1947: [smartcard] Decryption fails and breaks smartcard reader (Alcor Micro).

Please give me the output of lsusb -v -d 058f:9540
and debug log of scdaemon.
Do you mean --card-status works bug --decrypt fails?

Apr 10 2015, 9:46 AM · Bug Report, gnupg, gnupg (gpg21), scd
gniibe claimed T1947: [smartcard] Decryption fails and breaks smartcard reader (Alcor Micro).
Apr 10 2015, 9:46 AM · Bug Report, gnupg, gnupg (gpg21), scd

Apr 8 2015

gniibe claimed T1936: FreeBSD 10.1: mpi alignment error during compile.
Apr 8 2015, 4:40 AM · Bug Report, libgcrypt
gniibe added a comment to T1936: FreeBSD 10.1: mpi alignment error during compile.

Thank you for further information.
Now, I understand your situation of mixture of architectures.
I think that your source code was once configured by 32-bit environment (which
created links to 32-bit), and then you tried to configure and to compile by
64-bit environment which caused errors.

I think that "make distclean; configure; make" would success even on the 32-bit
environment with different host OS.

Apr 8 2015, 4:40 AM · Bug Report, libgcrypt

Apr 3 2015

gniibe added a project to T1846: gpg2.1 keytocard removes secret key: Restricted Project.
Apr 3 2015, 11:05 AM · Bug Report, gnupg
gniibe removed a project from T1846: gpg2.1 keytocard removes secret key: In Progress.
Apr 3 2015, 11:05 AM · Bug Report, gnupg
gniibe added a comment to T1846: gpg2.1 keytocard removes secret key.

It is fixed by the commit: f82c4a6d0d76e716b6a7b22ca964fa2da1f962a0
This is not a perfect solution (it updates key storage by "learn --force" command
of gpg-agent), but it works fine usually.

Apr 3 2015, 11:05 AM · Bug Report, gnupg
gniibe added a comment to T1936: FreeBSD 10.1: mpi alignment error during compile.

It seems for me that your build environment is not clean and has some links for
i386, while your arch is x86_64. It is i386's mpih-add1 which has ALIGN(3) at
line number 44.

Please do 'make distclean' and configure, then make.

Apr 3 2015, 8:56 AM · Bug Report, libgcrypt
gniibe claimed T1686: GPG Smartcard daemons not detecting card change Windows 8.1.
Apr 3 2015, 6:19 AM · gnupg, Windows 32, gnupg (gpg20), Windows, Bug Report
gniibe added a project to T1854: Problems with same encryption and signing key on smartcard: gnupg.
Apr 3 2015, 6:12 AM · gnupg, Feature Request, scd
gniibe added a comment to T1854: Problems with same encryption and signing key on smartcard.

I understand your case.

Apr 3 2015, 6:12 AM · gnupg, Feature Request, scd
gniibe claimed T1854: Problems with same encryption and signing key on smartcard.
Apr 3 2015, 6:12 AM · gnupg, Feature Request, scd
gniibe claimed T1734: [SUGGESTION] Implement a function to re-generate public keys and(!) "stubs" from private keys stored on smartcard only.
Apr 3 2015, 6:09 AM · gnupg, Feature Request
gniibe claimed T1709: scm spr332 pinpad entry failure under Windows7.
Apr 3 2015, 6:07 AM · Info Needed, gpg4win, Bug Report
gniibe added a project to T1709: scm spr332 pinpad entry failure under Windows7: gpg4win.
Apr 3 2015, 6:07 AM · Info Needed, gpg4win, Bug Report
gniibe lowered the priority of T1082: scd rewrites ~/.gnupg/reader_0.status with same content when SERIALNO is issued from High to Normal.
Apr 3 2015, 5:59 AM · gnupg, Info Needed, gpg4win, Bug Report, scd
gniibe added projects to T1082: scd rewrites ~/.gnupg/reader_0.status with same content when SERIALNO is issued: Info Needed, gnupg.
Apr 3 2015, 5:59 AM · gnupg, Info Needed, gpg4win, Bug Report, scd
gniibe claimed T1082: scd rewrites ~/.gnupg/reader_0.status with same content when SERIALNO is issued.
Apr 3 2015, 5:59 AM · gnupg, Info Needed, gpg4win, Bug Report, scd
gniibe claimed T1405: Print a warning for readers not supporting extended APDUs..
Apr 3 2015, 5:54 AM · scd, Feature Request, gnupg
gniibe added a comment to T1509: gnupg2 (gpg-agent): Disable producing of core dumps for gpg-agent via prctl(PR_SET_DUMPABLE, 0) as ssh-agent does.

As I wrote to #712744, distribution nowadays is conservative enough for its
default kernel settings, and it doesn't require each application to have special
settings.

I think that we will be able to close this soon.

Apr 3 2015, 5:51 AM · gnupg, Debian, gnupg (gpg20), Feature Request, gpgagent
gniibe claimed T1621: Support multiple cards (not just readers).
Apr 3 2015, 5:41 AM · gnupg, Feature Request
gniibe claimed T1618: Make gnupg more friendly to multiple readers.
Apr 3 2015, 5:40 AM · gnupg, Feature Request, scd
gniibe claimed T1930: PATCH: Be more flexible on PC/SC reader selection.
Apr 3 2015, 4:35 AM · gnupg, Feature Request, scd
gniibe added a comment to T1937: gnu-divert-to-card secret subkey bug.

Confirmed. I think that this is a regression.
EXPORT_KEY command of gpg-agent should return the stub secret key.

Apr 3 2015, 4:20 AM · Bug Report, gnupg
gniibe claimed T1937: gnu-divert-to-card secret subkey bug.
Apr 3 2015, 4:20 AM · Bug Report, gnupg
gniibe claimed T1113: sign + encryption OK but decryption failed with 3072 bits key on smartcard V2.
Apr 3 2015, 3:59 AM · Not A Bug, gnupg, Feature Request, scd, Documentation

Feb 18 2015

gniibe set Version to 2.1 on T1846: gpg2.1 keytocard removes secret key.
Feb 18 2015, 1:18 AM · Bug Report, gnupg
gniibe added projects to T1846: gpg2.1 keytocard removes secret key: In Progress, gnupg, Bug Report.
Feb 18 2015, 1:18 AM · Bug Report, gnupg

Jan 5 2015

gniibe added a comment to T1794: Ultimate ownertrust does not (always) imply ultimate validity in default trust model.

werner: Please go ahead.
I don't have enough knowledge about keybox implementation (and its plan).
My message is basically to share information, and my proposed change is not the
real fix, but something
pointing the (major) cause.

Jan 5 2015, 4:53 AM · Bug Report, gnupg

Dec 26 2014

gniibe added a comment to T1765: Documentation error - trust validation.

Thank you for your report.

I think the document is right. Yes, it's somehow confusing.

It explain "two conditions" using GPG default values, but then,
it says : "This example assumes that two marginally-trusted keys
or one fully-trusted key is needed to validate another key.
The maximum path length is three."

It would be better explaining with default values, though.

Dec 26 2014, 6:52 AM · Bug Report, Documentation
gniibe claimed T1759: gnupg 2.1 regression: cannot use OpenPGP card for signing.
Dec 26 2014, 3:18 AM · Info Needed, Bug Report, gnupg
gniibe added a comment to T1759: gnupg 2.1 regression: cannot use OpenPGP card for signing.

In 2.1, secret key handling has been changed.
It's now *not* in secring.gpg but files under private-keys-v1.d.
I think that there were some migration problems for your environment (and GnuPG
2.1.0) and one of your secret key is not converted.

I don't know the reason, but I guess that your key is only available in
secring.gpg and not in pubring.gpg.

About secret key reference (in secring.gpg for 1.4/2.0, under private-keys-v1.d
for 2.1) can be generated by accessing card.
With 2.1.1, --card-status will register key reference. With 2.1.0, you can do:

  $ gpg-connect-agent learn /bye

Once you have public key entry and private key reference to your card, it should
work well.
Could you please try installing your public key with 2.1.0 and making private
key reference?

Dec 26 2014, 3:17 AM · Info Needed, Bug Report, gnupg

Dec 24 2014

gniibe added a comment to T1794: Ultimate ownertrust does not (always) imply ultimate validity in default trust model.

I confirmed that --check-trustdb results broken trustdb.
We can check by --list-trustdb.

It should be something like:

rec 30, trust A405E58AB3725B396ED1B85C1318EFAC5FBBDBCE, ot=6, d=0, vl=34
rec 31, valid 10FBD3A5C90C815ECDE1D7F3B64A505EB55CC999, v=6, next=0
rec 32, valid 669CC039409AA2E143FDA46B0636052BB5875E07, v=6, next=31
rec 33, valid 8797B8E208A2F9947790975948D15DF75034A882, v=6, next=32
rec 34, valid 3B623D1260F1F12E06655DB6182516BB82E8F60F, v=6, next=33
rec 35, trust 0EE5BE979282D80B9F7540F1CCD2ED94D21739E9, ot=0, d=0, vl=38
rec 36, valid F5118E19309A256D9C802AF3B8179AC5AA9D04E4, v=5, next=0
rec 37, valid 867625B137AE05F8579F82DC29B5EAF274386304, v=5, next=36
rec 38, valid 328A5C6C1B2F0891125ECBE4624276B5A2296478, v=5, next=37

But 2.1.1 updates like:

rec 30, trust A405E58AB3725B396ED1B85C1318EFAC5FBBDBCE, ot=6, d=1, vl=34
rec 31, valid 10FBD3A5C90C815ECDE1D7F3B64A505EB55CC999, v=2, next=0
rec 32, valid 669CC039409AA2E143FDA46B0636052BB5875E07, v=2, next=31
rec 33, valid 8797B8E208A2F9947790975948D15DF75034A882, v=2, next=32
rec 34, valid 3B623D1260F1F12E06655DB6182516BB82E8F60F, v=2, next=33
rec 35, trust 0EE5BE979282D80B9F7540F1CCD2ED94D21739E9, ot=0, d=0, vl=38
rec 36, valid F5118E19309A256D9C802AF3B8179AC5AA9D04E4, v=5, next=0
rec 37, valid 867625B137AE05F8579F82DC29B5EAF274386304, v=5, next=36
rec 38, valid 328A5C6C1B2F0891125ECBE4624276B5A2296478, v=5, next=37

That is, DEPTH=1 and VALIDITY=2, which is wrong.

I investigated and realized that keybox_search function in kbx/keybox-search.c
is not yet mature. That is, it doesn't support skipfnc yet.

In this situation, something like following is needed:
diff --git a/g10/trustdb.c b/g10/trustdb.c
index 1bf664b..a946c29 100644

  • a/g10/trustdb.c

+++ b/g10/trustdb.c
@@ -1625,6 +1625,12 @@ validate_key_list (KEYDB_HANDLE hd, KeyHashTable full_trust,

merge_keys_and_selfsig (keyblock);
clear_kbnode_flags (keyblock);
pk = keyblock->pkt->pkt.public_key;

+ if (search_skipfnc (full_trust, pk->keyid, NULL))
+ {
+ release_kbnode(keyblock);
+ continue;
+ }
+

if (pk->has_expired || pk->flags.revoked)
  {
    /* it does not make sense to look further at those keys */
Dec 24 2014, 3:18 PM · Bug Report, gnupg

Jun 26 2014

gniibe renamed T1148: 1.4.x pinpad support (reader covadis vega-alpha => cannot used secure PIN) from reader covadis vega-alpha => cannot used secure PIN to 1.4.x pinpad support (reader covadis vega-alpha => cannot used secure PIN).
Jun 26 2014, 2:03 AM · Won't Fix, gnupg (gpg14), Feature Request, gnupg
gniibe claimed T1148: 1.4.x pinpad support (reader covadis vega-alpha => cannot used secure PIN).
Jun 26 2014, 2:03 AM · Won't Fix, gnupg (gpg14), Feature Request, gnupg
gniibe added a comment to T1148: 1.4.x pinpad support (reader covadis vega-alpha => cannot used secure PIN).

In 2.1.x (development), scdaemon and its pinpad support has been improved
(including name change from "keypad" support), and it's backported to 2.0.x.

However, it is not backported to 1.4.x. For gpg of 1.4.x, it only works when
you use gpg-agent and scdaemon of 2.?.x.

Some fixes (such as PC/SC support for MacOS) are backported to 1.4.x, though.

For Covadis Vega-Alpha, we would need to backport pinpad support improvement, as
well as CCID driver support improvement (for no auto configuration feature).

Changes are not trivial to merge, I don't know if it's worth for 1.4.x.

Jun 26 2014, 2:03 AM · Won't Fix, gnupg (gpg14), Feature Request, gnupg
gniibe added a comment to T1638: scdaemon: need quirk for Gemalto IDBridge CT30 (aka PC-TR).

Could you please give more information, such as its USB vendor ID and product ID?
I assume that you are using GnuPG's internal CCID driver.
If you have a patch, please attach it here.
Is the reader supported by PC/SC-lite? If so, we could see how it is handled.

Jun 26 2014, 1:35 AM · Feature Request, scd, gnupg
gniibe claimed T1638: scdaemon: need quirk for Gemalto IDBridge CT30 (aka PC-TR).
Jun 26 2014, 1:35 AM · Feature Request, scd, gnupg

Jun 3 2014

gniibe added a comment to T1148: 1.4.x pinpad support (reader covadis vega-alpha => cannot used secure PIN).

With current 2.0 branch of git repository, I believe that Vega-Alpha works fine.
Please confirm.

Jun 3 2014, 7:31 AM · Won't Fix, gnupg (gpg14), Feature Request, gnupg
gniibe added a project to T1148: 1.4.x pinpad support (reader covadis vega-alpha => cannot used secure PIN): Restricted Project.
Jun 3 2014, 7:31 AM · Won't Fix, gnupg (gpg14), Feature Request, gnupg

Dec 10 2013

gniibe added a project to T1576: pthread_atfork() does not work in Android: In Progress.
Dec 10 2013, 1:07 AM · Bug Report, npth
gniibe claimed T1576: pthread_atfork() does not work in Android.
Dec 10 2013, 1:07 AM · Bug Report, npth
gniibe added a comment to T1576: pthread_atfork() does not work in Android.

Fixed in the git master branch.

Dec 10 2013, 1:07 AM · Bug Report, npth

Dec 7 2013

gniibe added a comment to T1576: pthread_atfork() does not work in Android.

Thanks for information (Note: I don't have experiences for Android).
I realized that fork/exec is basically not supported for applications on
Android.
If this were true, it makes sense to ifdef-out the calls to pthread_atfork for
Android.

The reason why we need to call pthread_atfork is to reset signal mask for
executable fork/exec-ed by the program. We had a bug which stoped killing
pinentry (which was fork/exec-ed by gpg-agent).

Dec 7 2013, 6:06 AM · Bug Report, npth

Dec 5 2013

gniibe added a comment to T1576: pthread_atfork() does not work in Android.

I checked the source code of Bionic libc. There is the function defined:
https://github.com/android/platform_bionic/blob/master/libc/bionic/pthread_atfork.
cpp

Is it compile time option not including this function?

Dec 5 2013, 7:48 AM · Bug Report, npth

Nov 14 2013

gniibe added a comment to T1549: scd: reader pinpad stopped working with gnupg-2.0.22.

On 2013-11-13 at 23:29 +0000, asdil12 via BTS wrote:

The fix for the login-data thing works fine.

Nov 14 2013, 1:07 AM · Bug Report, gnupg, scd

Nov 13 2013

gniibe added a comment to T1549: scd: reader pinpad stopped working with gnupg-2.0.22.

On 2013-11-12 at 21:29 +0000, asdil12 via BTS wrote:

asdil12 <dominik@heidler.eu> added the comment:

OK, I tested gnupg-2.0.22 with both patches applied, and it worked again.

I also noticed, that the pinpad won't be used - you would be asked via software

  • (even if enable-pinpad-varlen was specified), if this

Login data .......: gpguser\n\x14P=6,8\n
thing was set on the card.

Nov 13 2013, 8:52 AM · Bug Report, gnupg, scd

Nov 11 2013

gniibe added a comment to T1549: scd: reader pinpad stopped working with gnupg-2.0.22.

On 2013-11-09 at 15:36 +0000, asdil12 via BTS wrote:

I just retried today using gnupg-2.0.22 with your patch, and it
failed again, if the enable-pinpad-varlen option was set:

Nov 11 2013, 8:51 AM · Bug Report, gnupg, scd

Oct 16 2013

gniibe added a comment to T1549: scd: reader pinpad stopped working with gnupg-2.0.22.

On 2013-10-16 at 06:16 +0000, asdil12 via BTS wrote:

You might use the known-
readers.txt from ccid
source, which lists usb-ids
and reader ames for
detection via pcscd. As
pcscd adds some text about
reader port to the string,
you can only match the
beginning of the string, but
that should do it.

Oct 16 2013, 8:21 AM · Bug Report, gnupg, scd
gniibe removed a project from T1549: scd: reader pinpad stopped working with gnupg-2.0.22: In Progress.
Oct 16 2013, 3:01 AM · Bug Report, gnupg, scd
gniibe added a project to T1549: scd: reader pinpad stopped working with gnupg-2.0.22: Restricted Project.
Oct 16 2013, 3:01 AM · Bug Report, gnupg, scd
gniibe added a comment to T1549: scd: reader pinpad stopped working with gnupg-2.0.22.

On 2013-10-15 at 22:53 +0000, asdil12 via BTS wrote:

I applied your patch onto gnupg-2.0.22 source (I couldn't get the automake-foo
run through), and it worked again. (enable-pinpad-varlen set in config).
I used the cherry reader for testing.

Oct 16 2013, 2:59 AM · Bug Report, gnupg, scd

Oct 15 2013

gniibe added a comment to T1549: scd: reader pinpad stopped working with gnupg-2.0.22.

For auto detection of pinpad, it does the detection itself.

But the reader only works when we have some information on card [0] or
configuration of enable-pinpad-varlen.
That's because there is no good standard way to detect reader's capability
for variable length input.

Internal ccid driver has better support for variable length input detection
based on its USB ID.

It is currently, out of sync and it only works for SCM SPR 532.
I will add KAAN, FSIJ, REINER, VASCO, and CHERRY for PC/SC with USB ID, too.
I need users' help for PC/SC for detection with card reader name.

[0] http://wiki.gnupg.org/CardReader/GemaltoPC

Oct 15 2013, 4:17 AM · Bug Report, gnupg, scd
gniibe added a comment to T1549: scd: reader pinpad stopped working with gnupg-2.0.22.

Fixed in 2.0.x and master in git repository.
Please test it out.

Oct 15 2013, 3:55 AM · Bug Report, gnupg, scd
gniibe added a project to T1549: scd: reader pinpad stopped working with gnupg-2.0.22: In Progress.
Oct 15 2013, 3:55 AM · Bug Report, gnupg, scd

Oct 12 2013

gniibe added a comment to T1549: scd: reader pinpad stopped working with gnupg-2.0.22.

Err... Sorry for your troubles. It's my fault.

Oct 12 2013, 7:20 AM · Bug Report, scd, gnupg

Jul 16 2013

gniibe claimed T1220: scute does not work with 2.0 cards.
Jul 16 2013, 9:44 AM · scute, Bug Report
gniibe added a comment to T1220: scute does not work with 2.0 cards.

I maintain scute in Debian. It works for me for years.
I suspect it was build time issue.

Jul 16 2013, 9:44 AM · scute, Bug Report
gniibe added a project to T1337: No mention of --default-cert-check-level in man: gpgweb.
Jul 16 2013, 9:34 AM · gpgweb, Documentation, Feature Request
gniibe removed a project from T1337: No mention of --default-cert-check-level in man: gnupg.
Jul 16 2013, 9:34 AM · gpgweb, Documentation, Feature Request
gniibe added a comment to T1337: No mention of --default-cert-check-level in man.

The option --default-cert-level is described in the manual.
Thus, this bug report is about web.
Changing "category" from gnupg to gpgweb.

Jul 16 2013, 9:34 AM · gpgweb, Documentation, Feature Request
gniibe added a comment to T1503: key import quits w/ "Fatal error: Invalid argument".

Reporter's intention would be:
Given a public key with user id="", importing that key fails.

Jul 16 2013, 9:14 AM · gnupg, Bug Report
gniibe added a project to T1503: key import quits w/ "Fatal error: Invalid argument": gnupg.
Jul 16 2013, 9:14 AM · gnupg, Bug Report

Jul 13 2013

gniibe added a comment to T978: release notes for latest version unavailable.

IIUC, this bug report were talking aboug
http://www.gnupg.org/download/release_notes.en.html

At that time (2008-12-08), there were 1.4.9 and 2.0.9, but the page didn't have
information of those version. There is no information about 1.4.9 and 2.0.9,
still now.

Jul 13 2013, 1:27 PM · Bug Report
gniibe changed Version from latest to 1.4.9, 2.0.9 on T978: release notes for latest version unavailable.
Jul 13 2013, 1:27 PM · Bug Report
gniibe added a comment to T1514: charset weirdness with non-ascii User IDs under non-UTF-8 locales.

I think that Andrew's name in Chinese in UTF-8 cannot be interpreted as iso8859-1,
it goes as is, but usually it is interpreted as iso8859-1 as a fallback.

If you are sure it's utf-8 encoded, you can use --utf8-strings option.

Jul 13 2013, 1:02 PM · Bug Report, gnupg

Jul 12 2013

gniibe added a comment to T1376: gpgv2 generates Libgcrypt warning: missing initialization.

This bug is still there in 2.0.20.
It would be better to add following line in main of gpgv.c.

gcry_control (GCRYCTL_INITIALIZATION_FINISHED, NULL);
Jul 12 2013, 2:40 PM · forwardport, Bug Report, gnupg
gniibe added a comment to T1509: gnupg2 (gpg-agent): Disable producing of core dumps for gpg-agent via prctl(PR_SET_DUMPABLE, 0) as ssh-agent does.

I think that original reporter's intention is to prevent attaching by ptrace.
By PR_SET_DUMPABLE disabled, ptrace PTRACE_ATTACH won't work any more.
This would be better if we care about kernel compatibility.
In http://bugs.debian.org/714107, I found that setrlimit64 doesn't work reliably
for 2.6.34 or older. PR_SET_DUMPABLE seems to work for even 2.4.x.

Jul 12 2013, 2:15 PM · gnupg, Debian, gnupg (gpg20), Feature Request, gpgagent
gniibe closed T1515: signal handling: got_fatal_signal should not call non-async-signal-safe functions as Resolved.
Jul 12 2013, 10:38 AM · Bug Report, gnupg
gniibe added a comment to T1515: signal handling: got_fatal_signal should not call non-async-signal-safe functions.

Fixed in 212a325d428e0ab5c51c42a3ea33efb21ad1f79f

Jul 12 2013, 10:38 AM · Bug Report, gnupg
gniibe added projects to T1515: signal handling: got_fatal_signal should not call non-async-signal-safe functions: gnupg, Bug Report.
Jul 12 2013, 1:25 AM · Bug Report, gnupg
gniibe set Version to 1.4.13 on T1515: signal handling: got_fatal_signal should not call non-async-signal-safe functions.
Jul 12 2013, 1:25 AM · Bug Report, gnupg

May 17 2013

gniibe claimed T1491: gpg-agent spawning all-consuming scdaemon process.
May 17 2013, 4:39 AM · Too Old, Info Needed, Bug Report, gnupg
gniibe added a comment to T1491: gpg-agent spawning all-consuming scdaemon process.

To be useful bug report, please specify version number of your program. Also,
please show us your configuration file (if any). Specifically, do you have
enable-ssh-support option for gpg-agent?

To diagnose, please create a file .gnupg/scdaemon.conf with something like:

debug-level guru
debug-all

log-file /var/tmp/scd.log

Let us know the content of the file, when you see the problem.

May 17 2013, 4:39 AM · Too Old, Info Needed, Bug Report, gnupg

May 16 2013

gniibe added a comment to T1113: sign + encryption OK but decryption failed with 3072 bits key on smartcard V2.

I analyze this issue. The problem is that the reader only supports:
dwFeatures: 0x000207B2

   02.... Short APDU level exchange

With this condition, application program (GnuPG), which needs to send larger
APDU, requires to use command-chaining. However, current V2 cards doesn't
support command-chaining. Alas, there is no way for application program to
process such a request by its user.

Cases are: decryption and key write to card for larger keys.
We need to detect those cases and should notify error to users, though.

May 16 2013, 3:21 AM · Not A Bug, gnupg, Feature Request, Documentation, scd

Mar 25 2013

gniibe added a comment to T1358: GPG 1.4.11 apdu.c -> uninitialized variable+ implicit typecast led to malloc error (patch attached).

This bug is fixed for 2.0.

http://git.gnupg.org/cgi-bin/gitweb.cgi?
p=gnupg.git;a=commit;h=ae22d629b6028aa994ff09f012e1cb029575eeae

Mar 25 2013, 2:38 AM · Bug Report, gnupg