Page MenuHome GnuPG
Feed Advanced Search

Sep 5 2016

aheinecke added a comment to T2448: dirmngr fails to load crl when imported manually.

Jochen: I'd rather you (manually) patch the dirmngr tarball included in
gpg4win-2 and create a testinstaller and try that one out.

I found the Problem in this issue and tested that the attached patch solves the
problem, yes It would have worked on GNU/Linux as the "b" has no effect there.
Finding out since when the problem existed appears moot to me and you would have
to check in dirmngr's SVN and likely always existed.

But maybe there are additional problems (as this is imo a very exotic feature)
so it would probably make sense to test it again on Windows before preparing the
next stable Gpg4win release.

Sep 5 2016, 2:14 PM · gnupg, Windows 32, Windows, Bug Report
aheinecke added a comment to T2405: Possible timing problem with TOFU.

Thanks, this works now as expected.

While enabling the checks for signcount in gpgme/lang/qt/tests/t-tofuinfo.cpp
I've noticed though that if I sign and verify the same plaintext twice
immediately after another the signcount is not incremented correctly.

In line 266 of that test. The call to signAndVerify leads to an Assert if you
remove the " World" part of the "Hello World" message.

Alternatively adding a QTest::qWait(1000); before that line also results in a
success.

You can trigger this also by modifing the strings in line 233ff to contain the
same message.

Not really important imo as this is a constructed problem. The main issue here
is resolved for me.

Sep 5 2016, 1:06 PM · gnupg, gnupg (gpg22), Bug Report
aheinecke lowered the priority of T2405: Possible timing problem with TOFU from Normal to Low.
Sep 5 2016, 1:06 PM · gnupg, gnupg (gpg22), Bug Report
bernhard added a comment to T2448: dirmngr fails to load crl when imported manually.

Jochen, can you please find out:
a) Does this still work on GNU/Linux?
b) Did this work with elder Gpg4win version? With binary search you

should find out qickley when this broke.
Sep 5 2016, 12:28 PM · gnupg, Windows 32, Windows, Bug Report
rivy added a comment to T2670: (Win32/64) gpg-agent locks directory of initial signature.

When initially started from the command line (either directly or secondarily via
gpg --sign ..., the gpg-agent creates a lock on the current directory and
doesn't release it until gpg-agent exits.

This makes the directory un-deleteable until the process is killed. If it needs
a lock, it should lock an essentially unremovable directory (such as
%USERPROFILE%, if it needs to be user-owned).

This is a especially a problem when signing files which are in a temporary
directory (such as packages prepped for distribution) which would then be
deleted (with the enclosing directory).

I've noticed this is a problem ever since the 2.0 release using a graphical user
agent.

Thanks for taking the time to look into the problem.

Sep 5 2016, 5:11 AM · Bug Report, gpg4win
rivy added projects to T2670: (Win32/64) gpg-agent locks directory of initial signature: gpg4win, Bug Report.
Sep 5 2016, 5:06 AM · Bug Report, gpg4win

Sep 4 2016

dkg set Version to 2.1.15 on T2669: gpg --import auto-launches gpg-agent even when no secret keys are imported.
Sep 4 2016, 3:58 PM · Bug Report, gnupg
dkg added projects to T2669: gpg --import auto-launches gpg-agent even when no secret keys are imported: gnupg, Bug Report.
Sep 4 2016, 3:58 PM · Bug Report, gnupg
dkg added projects to T2668: gpgv verification of inline-signed data ignores leading and trailing garbage: gnupg, Bug Report.
Sep 4 2016, 2:21 PM · Bug Report, gnupg
alecpl added a comment to T2667: No NEED_PASSPHRASE status line on --export-secret-keys.

I observed the same behavior with --import.

Sep 4 2016, 10:17 AM · Bug Report, gnupg

Sep 3 2016

alecpl added projects to T2667: No NEED_PASSPHRASE status line on --export-secret-keys: gnupg, Bug Report.
Sep 3 2016, 4:53 PM · Bug Report, gnupg
gniibe added a comment to T2651: scdaemon should free the reader after card removal.

Updated by the fix:

f9e49c8 scd: Fix an action after card removal.
Sep 3 2016, 8:38 AM · Bug Report, gnupg, scd
gniibe added a comment to T2449: Smartcard reinsert fails with gnupg 2.1.15 (gpg-agent/scdaemon).

Fixed in master.

f9e49c8 scd: Fix an action after card removal.
Sep 3 2016, 8:37 AM · Bug Report, gnupg
gniibe added a project to T2449: Smartcard reinsert fails with gnupg 2.1.15 (gpg-agent/scdaemon): Restricted Project.
Sep 3 2016, 8:37 AM · Bug Report, gnupg
gniibe added a comment to T2449: Smartcard reinsert fails with gnupg 2.1.15 (gpg-agent/scdaemon).

I confirmed that it's a regression in 2.1.15.

Sep 3 2016, 8:26 AM · Bug Report, gnupg

Sep 2 2016

gniibe claimed T2449: Smartcard reinsert fails with gnupg 2.1.15 (gpg-agent/scdaemon).
Sep 2 2016, 1:32 PM · Bug Report, gnupg
gniibe added a project to T2651: scdaemon should free the reader after card removal: Restricted Project.
Sep 2 2016, 7:54 AM · Bug Report, gnupg, scd
gniibe added a comment to T2651: scdaemon should free the reader after card removal.

Fixed in master:

    8fe8105 scd: Release the card reader after card removal.

In my environment, it works both for PC/SC and in-stock CCID driver.

Not yet for 2.0 and 1.4.

Sep 2 2016, 7:54 AM · Bug Report, gnupg, scd
Mouxon added a comment to T2453: Web of Trust: Differents results between Windows and Linux.

No they are differents.

I have 89 values on Linux and 81 values on Windows.

diff win-owner.txt rhel-owner.txt
12a13

47FB20102BAEB52CB6DC56177129CB6A081FEBAD:5:

20a22

5855DD9E25B9A8DC2FBA57AA6F7844ED8F847C04:5:

31a34

7973C95FEF2CB9DB2BFE28344A0A560FB0B37102:5:

45a49

9A21AEC12074E70350F6A7E34A7395B4E1F81D9F:5:

52a57

AAB5C4863EEC5C7F19CF2BA4203A3B252B338A13:5:

71a77

E3B8C9513CDE7EE4525E2D2DC8A0CB9453732618:5:

75a82

F47ABE16FE74A02D8D91F742AF1E698C4C389893:5:

77a85

F9769C31CD79BA5B71385546C66AA2A8FF3DC51E:5:

In the above diff, I noticed the value AAB5C4863EEC5C7F19CF2BA4203A3B252B338A13
which correspond to TEST.MASTER

Sep 2 2016, 7:47 AM · Bug Report, gnupg
zhsj added a comment to T2451: _hkp_tcp SRV record doesn't work.

I think there is no such keyword in GnuPG
2.1.x source code. _pgpkey-http only can be
found in GnuPG 1.4.

Sep 2 2016, 12:43 AM · gnupg, Bug Report, dirmngr

Sep 1 2016

dkg added a comment to T2666: gpg --list-config does not include default-key.

hm, there is also:

    gpgconf --list-options gpg | \
         awk -F: '/^default-key:/{ print $10 }'

It's not clear to me when anyone should use "gpgconf --list-options gpg" and
when they should use "gpg --with-colons --list-config".

Is there some place where one or the other is more important?

Sep 1 2016, 10:12 PM · Bug Report, gnupg
dkg added projects to T2666: gpg --list-config does not include default-key: gnupg, Bug Report.
Sep 1 2016, 9:27 PM · Bug Report, gnupg
dkg set Version to 2.1.15 on T2666: gpg --list-config does not include default-key.
Sep 1 2016, 9:27 PM · Bug Report, gnupg
kristianf added a comment to T2451: _hkp_tcp SRV record doesn't work.

How about _pgpkey-http._tcp. record?

Sep 1 2016, 7:15 PM · gnupg, Bug Report, dirmngr
neal added a project to T2405: Possible timing problem with TOFU: Restricted Project.
Sep 1 2016, 1:03 PM · gnupg, gnupg (gpg22), Bug Report
neal added a comment to T2405: Possible timing problem with TOFU.

I believe that this bug has been fixed. Both Andre's and Justus' test cases now
emit the same information for all user ids (see below).

If you agree that this issue is resolved, please change the status appropriately.

us@grit:~/neal/work/gpg/build/gpgme/tests/gpg$ rm -f $GNUPGHOME/tofu.db && ( gpg
--verify --with-colons --status-fd=1 /tmp/testmsg )2>/dev/null
[GNUPG:] NEWSIG
[GNUPG:] KEY_CONSIDERED A0FF4590BB6122EDEF6E3C542D727CC768697734 0
[GNUPG:] SIG_ID QfzOUKyR2prNsVx/GI/4A5q2AxU 2002-03-03 1015172412
[GNUPG:] KEY_CONSIDERED A0FF4590BB6122EDEF6E3C542D727CC768697734 0
[GNUPG:] GOODSIG 2D727CC768697734 Alfa Test (demo key) <alfa@example.net>
[GNUPG:] VALIDSIG A0FF4590BB6122EDEF6E3C542D727CC768697734 2002-03-03 1015172412
0 4 0 17 2 00 A0FF4590BB6122EDEF6E3C542D727CC768697734
[GNUPG:] KEY_CONSIDERED A0FF4590BB6122EDEF6E3C542D727CC768697734 0
[GNUPG:] TOFU_USER A0FF4590BB6122EDEF6E3C542D727CC768697734 alfa@example.net
[GNUPG:] TOFU_STATS 2 1 0 auto 1472727595 1472727595
[GNUPG:] TOFU_STATS_LONG Verified 1 message signed by "Alfa Test (demo key)
<alfa@example.net>"%0Ain the past 0~seconds.
[GNUPG:] TOFU_USER A0FF4590BB6122EDEF6E3C542D727CC768697734 alpha@example.net
[GNUPG:] TOFU_STATS 2 1 0 auto 1472727595 1472727595
[GNUPG:] TOFU_STATS_LONG Verified 1 message signed by "Alpha Test (demo key)
<alpha@example.net>"%0Ain the past 0~seconds.
[GNUPG:] TOFU_USER A0FF4590BB6122EDEF6E3C542D727CC768697734 alice%20(demo%20key)
[GNUPG:] TOFU_STATS 2 1 0 auto 1472727595 1472727595
[GNUPG:] TOFU_STATS_LONG Verified 1 message signed by "Alice (demo key)"%0Ain
the past 0~seconds.
[GNUPG:] TRUST_MARGINAL 0 tofu

us@grit:~/neal/work/gpg/build/gpgme/tests/gpg$ ../../../gpgme/tests/run-verify
/tmp/testmsg
Original file name: [none]
Signature 0

status ....: Success
summary ...:
fingerprint: A0FF4590BB6122EDEF6E3C542D727CC768697734
created ...: 1015172412
expires ...: 0
validity ..: marginal
val.reason : Success
pubkey algo: 17 (DSA)
digest algo: 2 (SHA1)
pka address: [none]
pka trust .: n/a
other flags:
primary fpr: A0FF4590BB6122EDEF6E3C542D727CC768697734
tofu addr .: alfa@example.net
  validity : 2 (little history)
  policy ..: 1 (auto)
  sigcount : 1
  firstseen: 1970-01-01 00:01:46
  lastseen : 1970-01-01 00:01:46
  desc ....: Verified 1 message signed by "Alfa Test (demo key)

<alfa@example.net>"

             in the past 1 minute, 46 seconds.
tofu addr .: alpha@example.net
  validity : 2 (little history)
  policy ..: 1 (auto)
  sigcount : 1
  firstseen: 1970-01-01 00:01:46
  lastseen : 1970-01-01 00:01:46
  desc ....: Verified 1 message signed by "Alpha Test (demo key)

<alpha@example.net>"

             in the past 1 minute, 46 seconds.
tofu addr .: [none]
  validity : 2 (little history)
  policy ..: 1 (auto)
  sigcount : 1
  firstseen: 1970-01-01 00:01:46
  lastseen : 1970-01-01 00:01:46
  desc ....: Verified 1 message signed by "Alice (demo key)"
             in the past 1 minute, 46 seconds.
Sep 1 2016, 1:03 PM · gnupg, gnupg (gpg22), Bug Report
zhsj added a comment to T2451: _hkp_tcp SRV record doesn't work.

For version 2.1.15

root@47b54eb8e5bb:~/gnupg-2.1.15# gpg2 --version
gpg (GnuPG) 2.1.15
libgcrypt 1.7.3-beta
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later https://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: /root/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,

CAMELLIA128, CAMELLIA192, CAMELLIA256

Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
root@47b54eb8e5bb:~/gnupg-2.1.15# gpg-connect-agent --dirmngr 'getinfo dnsinfo' /bye
OK - System resolver w/o Tor support
root@47b54eb8e5bb:~/gnupg-2.1.15# gpg2 --keyserver hkp://t1.zhsj.me --recv-keys 7DFBB2F2
gpg: keyserver receive failed: End of file
root@47b54eb8e5bb:~/gnupg-2.1.15# gpg2 --keyserver hkp://t2.zhsj.me --recv-keys 7DFBB2F2
gpg: keyserver receive failed: No keyserver available

For version 2.1.11
zsj@debian ~ $ gpg2 --version
gpg (GnuPG) 2.1.11
libgcrypt 1.7.3-beta
Copyright (C) 2016 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, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,

CAMELLIA128, CAMELLIA192, CAMELLIA256

Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
zsj@debian ~ $ gpg-connect-agent --dirmngr 'getinfo dnsinfo' /bye
OK - System resolver w/o Tor support
zsj@debian ~ $ gpg2 --keyserver hkp://t1.zhsj.me --recv-keys 7DFBB2F2
gpg: key 7DFBB2F2: "Shengjing Zhu <i@zhsj.me>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
zsj@debian ~ $ gpg2 --keyserver hkp://t2.zhsj.me --recv-keys 7DFBB2F2
gpg: keyserver receive failed: No keyserver available
zsj@debian ~ $

Sep 1 2016, 11:52 AM · gnupg, Bug Report, dirmngr
werner added a comment to T2451: _hkp_tcp SRV record doesn't work.

Please run

gpg-connect-agent --dirmngr 'getinfo dnsinfo' /bye
Sep 1 2016, 11:30 AM · gnupg, Bug Report, dirmngr
werner lowered the priority of T2453: Web of Trust: Differents results between Windows and Linux from High to Normal.
Sep 1 2016, 11:25 AM · Bug Report, gnupg
werner added a comment to T2453: Web of Trust: Differents results between Windows and Linux.

Are the ownertrust values identical on boths systems?

Compare the output of

gpg --export-ownertrust | sort

on noth systems.

Sep 1 2016, 11:25 AM · Bug Report, gnupg
gniibe added projects to T2651: scdaemon should free the reader after card removal: scd, gnupg, Bug Report.
Sep 1 2016, 10:29 AM · Bug Report, gnupg, scd
werner added a project to T2452: pinentry-curses fails with ERR 83886343 Line passed to IPC too long <Pinentry> when --ttytype is unusable: Restricted Project.
Sep 1 2016, 10:13 AM · Bug Report, pinentry
werner added a comment to T2452: pinentry-curses fails with ERR 83886343 Line passed to IPC too long <Pinentry> when --ttytype is unusable.

curses can't figure out the window size and thus it returns -1 for the size.
Pinentry's test for the required window size thus returns an error.

I have added new error codes to libgpg-error to either return
ERR 83886383 Screen or window too small <Pinentry>
or in our case:
ERR 83886383 Required environment variable not set <Pinentry>

That does not directly point to a problem with the TTY but it shows the cause
for the error (COLUMNS, LINES etc not set).

Sep 1 2016, 10:12 AM · Bug Report, pinentry

Aug 31 2016

neal closed T2391: Assertion "! db->batch_update" in tofu_closedbs failed (../../g10/tofu.c:1083) as Resolved.
Aug 31 2016, 11:03 AM · gnupg (gpg22), Bug Report, gnupg
neal added a comment to T2391: Assertion "! db->batch_update" in tofu_closedbs failed (../../g10/tofu.c:1083).

Since the split format has been removed, the relevant code is gone, and I'm not
able to reproduce the issue with your test case on HEAD, I think this issue is
also gone and I'm marking it resolved. Please reopen if necessary.

Aug 31 2016, 11:03 AM · gnupg (gpg22), Bug Report, gnupg

Aug 30 2016

Mouxon added projects to T2453: Web of Trust: Differents results between Windows and Linux: gnupg, Bug Report.
Aug 30 2016, 4:21 PM · Bug Report, gnupg
dkg added projects to T2452: pinentry-curses fails with ERR 83886343 Line passed to IPC too long <Pinentry> when --ttytype is unusable: pinentry, Bug Report.
Aug 30 2016, 12:38 AM · Bug Report, pinentry

Aug 29 2016

zhsj added projects to T2451: _hkp_tcp SRV record doesn't work: dirmngr, Bug Report.
Aug 29 2016, 8:00 PM · gnupg, Bug Report, dirmngr
zhsj set Version to 2.1.15 on T2451: _hkp_tcp SRV record doesn't work.
Aug 29 2016, 8:00 PM · gnupg, Bug Report, dirmngr
JochenSaalfeld added a comment to T2448: dirmngr fails to load crl when imported manually.

this also affects version 2.1.15 (latest gpg4win beta) and 1.1.1 (latest gpg4win
stable)

Aug 29 2016, 9:59 AM · gnupg, Windows 32, Windows, Bug Report

Aug 26 2016

bernhard added a comment to T2448: dirmngr fails to load crl when imported manually.

Okay, if this transfers line endings because of the textmode read, it will
depend on the contents of the CRL in question. This explains why the defect was
not seen in earlier testing.

And pem does not work for this (I guess and tried on a GNU system).
It is okay that pem does not work, because this is a rarely used function I think.

Aug 26 2016, 9:21 AM · gnupg, Windows 32, Windows, Bug Report

Aug 25 2016

aheinecke lowered the priority of T2448: dirmngr fails to load crl when imported manually from High to Normal.
Aug 25 2016, 6:24 PM · gnupg, Windows 32, Windows, Bug Report
aheinecke added a comment to T2448: dirmngr fails to load crl when imported manually.

D381: 870_0001-dirmngr-Open-CRL-s-in-binary-mode.patch

Aug 25 2016, 6:24 PM · gnupg, Windows 32, Windows, Bug Report
aheinecke added projects to T2448: dirmngr fails to load crl when imported manually: Windows, Restricted Project, Windows 32.
Aug 25 2016, 6:24 PM · gnupg, Windows 32, Windows, Bug Report
aheinecke updated subscribers of T2448: dirmngr fails to load crl when imported manually.
Aug 25 2016, 6:24 PM · gnupg, Windows 32, Windows, Bug Report
aheinecke assigned T2448: dirmngr fails to load crl when imported manually to werner.
Aug 25 2016, 6:24 PM · gnupg, Windows 32, Windows, Bug Report
aheinecke added a comment to T2448: dirmngr fails to load crl when imported manually.

Woops didn't want to submit the last message as I had already looked into it myself.

This was reproducible using libksba's t-crl-parse with our root ca's clr but not
with an example file lying next to it.

Turned out that t-crl-parse opened the file in text mode. Conversion errors then
caused an invalid (too large read). When switching to binary mode it worked as
expected.

Dirmngr used the same. I've tested that crl parsing worked with the attached patch.

Now I get:
dirmngr[780]: error fetching certificate by subject: Configuration error
dirmngr[780]: crl_parse_insert failed: Missing certificate

But I think that is a different error as I get the same one when trying to
import the CRL on an empty homedir and parsing works now.

Aug 25 2016, 6:24 PM · gnupg, Windows 32, Windows, Bug Report
aheinecke added a comment to T2448: dirmngr fails to load crl when imported manually.

2.1.11 is not in the latest beta. Should be 2.1.13.

For testing / reporting it is also better to download the latest version from
gnupg.org
https://gnupg.org/download/index.html

Aug 25 2016, 6:19 PM · gnupg, Windows 32, Windows, Bug Report
rs set Version to 2.1.15 on T2449: Smartcard reinsert fails with gnupg 2.1.15 (gpg-agent/scdaemon).
Aug 25 2016, 2:59 PM · Bug Report, gnupg
rs added projects to T2449: Smartcard reinsert fails with gnupg 2.1.15 (gpg-agent/scdaemon): gnupg, Bug Report.
Aug 25 2016, 2:59 PM · Bug Report, gnupg
JochenSaalfeld added projects to T2448: dirmngr fails to load crl when imported manually: dirmngr, Bug Report.
Aug 25 2016, 11:49 AM · gnupg, Windows 32, Windows, Bug Report
JochenSaalfeld updated subscribers of T2448: dirmngr fails to load crl when imported manually.
Aug 25 2016, 11:49 AM · gnupg, Windows 32, Windows, Bug Report

Aug 24 2016

werner added a comment to T2446: gpgme_set_armor(myctx, 0) ignored if 'armor' option is set in gpg.conf.

Right. Putting armor into gpg.conf is a very bad idea. Don't assume that. If
users want to shoot into their own foot, let them do so.

Aug 24 2016, 1:03 PM · gpgme, Bug Report, Not A Bug
werner added a comment to T2447: macport compile failed in libassuan-2.4.3 due to undefine _POSIX_C_SOURCE.

I have seen that but pretty pelase describe it here so that we can also work
with email.

Aug 24 2016, 1:01 PM · MacOS, Bug Report, libassuan
Ricky added a comment to T2447: macport compile failed in libassuan-2.4.3 due to undefine _POSIX_C_SOURCE.

Detail info in https://trac.macports.org/ticket/51708
OS: PPC Tiger, Mac OS X 10.4.11
The build process is automated by macport.

Aug 24 2016, 2:53 AM · MacOS, Bug Report, libassuan

Aug 23 2016

elvis added a comment to T2446: gpgme_set_armor(myctx, 0) ignored if 'armor' option is set in gpg.conf.

I see. So, how can I reliably know whether the output of my program is going to
be ascii or binary (to append either .asc or .gpg)? I should just assume that
'armor' will not be in gpg.conf?

Aug 23 2016, 4:52 PM · gpgme, Bug Report, Not A Bug
werner assigned T2445: gpgscm needs to link against libintl on Mac OS to justus.
Aug 23 2016, 4:44 PM · Bug Report, gnupg
werner updated subscribers of T2445: gpgscm needs to link against libintl on Mac OS.
Aug 23 2016, 4:44 PM · Bug Report, gnupg
werner added a comment to T2445: gpgscm needs to link against libintl on Mac OS.

Can you please test with 2.1.15?

Aug 23 2016, 4:44 PM · Bug Report, gnupg
werner added a project to T2446: gpgme_set_armor(myctx, 0) ignored if 'armor' option is set in gpg.conf: Not A Bug.
Aug 23 2016, 4:40 PM · gpgme, Bug Report, Not A Bug
werner added a comment to T2446: gpgme_set_armor(myctx, 0) ignored if 'armor' option is set in gpg.conf.

If a user forces all output of gpg to be armored, it is not gpgme's task to
revert this.

Putting armor into gpg.conf is as bad an idea as putting encrypt into gpg.conf.

gpgme_get_armor() returns gpgme's current state.

Aug 23 2016, 4:40 PM · gpgme, Bug Report, Not A Bug
werner added a comment to T2447: macport compile failed in libassuan-2.4.3 due to undefine _POSIX_C_SOURCE.

Please describe exactly how you build Libassuan. Compiler, OS etc, error message.

Aug 23 2016, 4:36 PM · MacOS, Bug Report, libassuan
werner removed a project from T2415: result of fread() is assigned to an int variable: Unreleased.
Aug 23 2016, 4:35 PM · Bug Report, libksba
Ricky added projects to T2447: macport compile failed in libassuan-2.4.3 due to undefine _POSIX_C_SOURCE: libassuan, Bug Report.
Aug 23 2016, 3:24 AM · MacOS, Bug Report, libassuan
Ricky set Version to 2.4.3 on T2447: macport compile failed in libassuan-2.4.3 due to undefine _POSIX_C_SOURCE.
Aug 23 2016, 3:24 AM · MacOS, Bug Report, libassuan

Aug 22 2016

elvis renamed T2446: gpgme_set_armor(myctx, 0) ignored if 'armor' option is set in gpg.conf from gpgme_get_armor ignores 'armor' option in gpg.conf to gpgme_set_armor(myctx, 0) ignored if 'armor' option is set in gpg.conf.
Aug 22 2016, 3:07 PM · gpgme, Bug Report, Not A Bug
elvis added projects to T2446: gpgme_set_armor(myctx, 0) ignored if 'armor' option is set in gpg.conf: Bug Report, gpgme.
Aug 22 2016, 1:27 PM · gpgme, Bug Report, Not A Bug
elvis set Version to 1.6.0 on T2446: gpgme_set_armor(myctx, 0) ignored if 'armor' option is set in gpg.conf.
Aug 22 2016, 1:27 PM · gpgme, Bug Report, Not A Bug
werner closed T2415: result of fread() is assigned to an int variable as Resolved.
Aug 22 2016, 11:50 AM · Bug Report, libksba
werner added a project to T2415: result of fread() is assigned to an int variable: Unreleased.
Aug 22 2016, 11:50 AM · Bug Report, libksba
werner added a comment to T2415: result of fread() is assigned to an int variable.

You are right. Fixed with commit 68fba3d.

Aug 22 2016, 11:50 AM · Bug Report, libksba

Aug 20 2016

bsiegert set External Link to https://mail-index.netbsd.org/pkgsrc-users/2016/08/15/msg023624.html on T2445: gpgscm needs to link against libintl on Mac OS.
Aug 20 2016, 6:01 PM · Bug Report, gnupg
bsiegert set Version to 2.1.14 on T2445: gpgscm needs to link against libintl on Mac OS.
Aug 20 2016, 6:01 PM · Bug Report, gnupg
bsiegert added projects to T2445: gpgscm needs to link against libintl on Mac OS: gnupg, Bug Report.
Aug 20 2016, 6:01 PM · Bug Report, gnupg

Aug 19 2016

lavajgh added projects to T2444: Pinentry Does not pass getpin to console: pinentry, Bug Report.
Aug 19 2016, 10:10 PM · Bug Report, pinentry
lavajgh set Version to 0.9.7 on T2444: Pinentry Does not pass getpin to console.
Aug 19 2016, 10:10 PM · Bug Report, pinentry

Aug 18 2016

werner added a comment to T2443: gpg2 --use-agent gives "gpg: decryption failed: No secret key".

--use-agent is a dummy option in GnUPG 2.1 - it has no effect.

Aug 18 2016, 11:15 PM · Bug Report, gnupg
werner added a comment to T2238: When generating a DSA or Elgamal key with --expert GPG claims that keys smaller than 1024 bits are supported when they are not..

1.4 has been released - waiting for 2.0

Aug 18 2016, 11:13 PM · gnupg (gpg20), Unreleased, gnupg (gpg14), Bug Report, gnupg
werner removed a project from T2246: Regression: home dir no longer automatically created: Unreleased.
Aug 18 2016, 11:10 PM · Bug Report, gnupg
werner removed a project from T2442: homedir: Libgcrypt warning: missing initialization: Unreleased.
Aug 18 2016, 11:08 PM · Bug Report, gnupg
werner added a project to T2389: segfault after importing key, corrupting trustdb: Restricted Project.
Aug 18 2016, 11:08 PM · gnupg, MacOS, Bug Report
cri added a comment to T2389: segfault after importing key, corrupting trustdb.

I used your workaround and haven't been running into problems since. Unfortunately, I
don't currently have the time at hand to give it a thorough test run. If I do, I will
keep you updated.

Aug 18 2016, 6:21 PM · gnupg, MacOS, Bug Report
tuxick added a comment to T2443: gpg2 --use-agent gives "gpg: decryption failed: No secret key".

gpg2 --use-agent --decrypt encrypted.asc
...
gpg: decryption failed: No secret key
FAIL

--use-agent --decrypt encrypted.asc
..
You need a passphrase to unlock the secret key for
...SUCCESS

This for example makes enigmail fail, and to make things worse: enigmail refuses
to work with gpg1

Using:
gpg (GnuPG) 2.1.11
libgcrypt 1.6.5
on Ubuntu 16.04.1 LTS

I have multiple keys in .gnupg, this might be triggering the problem.

Aug 18 2016, 2:24 PM · Bug Report, gnupg
tuxick added projects to T2443: gpg2 --use-agent gives "gpg: decryption failed: No secret key": gnupg, Bug Report.
Aug 18 2016, 2:13 PM · Bug Report, gnupg
werner assigned T2270: gpg caches bad symmetric passwords to neal.
Aug 18 2016, 1:01 PM · Bug Report, gnupg
werner assigned T2054: All of max-cache-ttl, default-cache-ttl, and no-allow-external-cache are ignored to neal.
Aug 18 2016, 12:59 PM · Bug Report, gnupg
werner closed T2066: Wrong BLOB Type/keytable.c:150 as Resolved.
Aug 18 2016, 12:58 PM · Not A Bug, gnupg, Bug Report, gpg4win
werner added a project to T2066: Wrong BLOB Type/keytable.c:150: Not A Bug.
Aug 18 2016, 12:58 PM · Not A Bug, gnupg, Bug Report, gpg4win
werner added a comment to T2066: Wrong BLOB Type/keytable.c:150.

Indeed; this look like a corrupted file. Please restrore from abckup.

Aug 18 2016, 12:58 PM · Not A Bug, gnupg, Bug Report, gpg4win
werner renamed T2024: "Unknown IPC command" in many situations (gpg4win/gnupg conflict?) from "Unknown IPC command" in many situations to "Unknown IPC command" in many situations (gpg4win/gnupg conflict?).
Aug 18 2016, 12:56 PM · Windows 32, Windows, Bug Report, gnupg
werner closed T2080: no status output when trying to sign data with revoked private key as Resolved.
Aug 18 2016, 12:54 PM · Won't Fix, Bug Report, gnupg, gnupg (gpg14)
werner added a project to T2080: no status output when trying to sign data with revoked private key: Won't Fix.
Aug 18 2016, 12:54 PM · Won't Fix, Bug Report, gnupg, gnupg (gpg14)
werner closed T2225: gpg2 send keys failed ,because 'invalid argument'.And why? as Resolved.
Aug 18 2016, 12:53 PM · Bug Report, Info Needed, gnupg
werner added a comment to T2390: gpg-agent not expiring passphrase.

ping

Aug 18 2016, 12:52 PM · Info Needed, Bug Report, gnupg
werner added a project to T2390: gpg-agent not expiring passphrase: Info Needed.
Aug 18 2016, 12:52 PM · Info Needed, Bug Report, gnupg
werner added a project to T2400: GnuPG 2.1 regression in unattended key generation: gnupg (gpg22).
Aug 18 2016, 12:51 PM · gnupg (gpg22), Bug Report, gnupg
werner added a comment to T2389: segfault after importing key, corrupting trustdb.

Could you verify that the problem has been solved (in 2.1.14)?

Aug 18 2016, 12:49 PM · gnupg, MacOS, Bug Report
werner set Version to 2.0.22 on T2354: Deleted secure key not quite deleted?.
Aug 18 2016, 12:47 PM · gnupg, Bug Report
werner closed T2442: homedir: Libgcrypt warning: missing initialization as Resolved.
Aug 18 2016, 12:33 PM · Bug Report, gnupg
werner added a project to T2442: homedir: Libgcrypt warning: missing initialization: Unreleased.
Aug 18 2016, 12:33 PM · Bug Report, gnupg