Apr 14 2022
Oct 10 2021
Problem/Bug still persists in current version (gpg4win 3.1.16) --> reopen
Sep 21 2021
GnuPG 2.0 reached end-of-life nearly 4 years ago. See https://gnupg.org/download/index.html#end-of-life . Same for Gpg4win. They are not maintained and its use is very risky due to unfixed bugs. Please update to a recent version.
Nov 24 2020
Please use shorter password.
For gpgsm, maximum is 31 chars.
Nov 23 2020
Password too long error to import p12
Aug 12 2020
Thanks. Added to 2.2.
Aug 8 2020
Apr 23 2020
Aug 28 2018
This was actually reported against 2.0.31 which reached EOL 8 months ago.
Apr 6 2018
Sorry, the patch above is completely wrong, since pk->pubkey_usage is not the right key to check.
If someone claims this is a kind of vulnerability, I think that what we need to fix is signature checking side:
Speaking about this, similar patch would be required to gpg1.4.
The bug is specific to 2.2, which may select available key on card. When such a selection, checking the PK->REQ_USAGE was missed.
Apr 5 2018
Shouldn't this also be applied to STABLE-BRANCH-1-4?
Apr 3 2018
I think that I located the bug and fixed. I wonder why Werner put gpg20 tag.
Apr 2 2018
Mar 20 2018
Oct 22 2017
Same issue exists in 2.2:
Oct 20 2017
A backport to 2.0 does not make anymore sense given EOF in 2 months.
No info received, similar to another fixed bug, and for 2.0 which will soon reach EOL.
2.0 will reach EOL soon and we have received no response. Thus closing. If the problem persists with 2.2 (e.g. from gpg4win 3.0) please re-open this bug.
Won't be fixed for 1.4.
@perske, may I ask you to send a DCO and an possible updated patch against 2.2 to gnupg-devel@ ? I would like to add it to 2.2.2. Sorry for the delays.
Aug 9 2017
Aug 3 2017
This looks suspiciously like T1547: gnupg >= 2.0.21 won't build on OSX 10.8.5 with XCode5.
Jul 17 2017
gpgtools will have to update.
I just verified that this is indeed fixed.
Jul 13 2017
I tried to find evidence that such a change ever landed in 2.0. I now believe the mistake is in the NEWS file. As 2.0 is nearing EOL, we won't backport this.
gnupg uses LC_ALL, LC_MESSAGES, LANG and the system default determined with GetThreadLocale() on Windows. Can you please check if you have set any of these environment variables?
Landed in 67cd81ed90ad88cbe607b7f7d1a0b1e08b8ac1f1.
Jul 6 2017
The sqlite backend was a little experiement that I did and it will not be merged.
Jul 5 2017
Jul 3 2017
No I don't recall any such problems, sorry.
Jul 2 2017
For information, this issue was also discussed on both gnupg-user and gnupg-devel back in january 2017. I mention it here for reference.
Jul 1 2017
Jun 27 2017
Jun 23 2017
Any updates / thoughts on how this might be fixed?
Libgcrypt 1.6 reaches EOL in 7 days, so we won't fix it.
Jun 21 2017
Jun 17 2017
What is your operating system?
Apr 25 2017
Apr 4 2017
Apr 3 2017
Mar 30 2017
Mar 22 2017
Hello Werner,
The problem is, that some projects liek gpgtools for MacOS are reluctantly sticking to
gnupg-2.0 :-/
So, I'd love to have this patch committed in order to ease the transition phase from
2.0 to 2.1 for them.
Regards, Wolfgang