Page MenuHome GnuPG
Feed Advanced Search

Dec 17 2018

werner added a parent task for T4274: Fail selftests when checksum file is missing in FIPS mode only: T4294: Release Libgcrypt 1.9.0.
Dec 17 2018, 10:11 AM · Restricted Project, libgcrypt, Bug Report
werner closed T3223: gcry_mpi_ec_mul with Montgomery curves produces segfault as Resolved.

See T4293

Dec 17 2018, 10:07 AM · libgcrypt, Bug Report
werner closed T3731: gcry_pk_genkey() segfaults for ecdsa 384 as Resolved.

With GCRYCTL_AUTO_EXPAND_SECMEM we won't anymore run out of secure memory. This has even silent been backported to 1.8.x (using the numerical value of that constant) and is for long an option of gpg-agent. Thus closing.

Dec 17 2018, 10:01 AM · libgcrypt, Bug Report
werner closed T3982: libgcrypt.m4 is not multilib friendly as Resolved.

Closing, given that we implemented a general solution; see the parent task.

Dec 17 2018, 9:57 AM · libgcrypt, Bug Report
werner closed T3737: libgcrypt's gcry_kdf_scrypt has incorrectly set N and P values as Invalid.

I have seen no responses on your two mails to the ML and given th athere is no concrete protocol bug, I close this issue. If you can show a concrete bug please re-open this issue again.

Dec 17 2018, 9:55 AM · libgcrypt, Bug Report
gniibe claimed T4225: Gpg4win - Yubikey failure after generating an OTP.

I think that all that we can do is to improve documentation.

Dec 17 2018, 9:33 AM · Documentation, Bug Report
gniibe added a comment to T4243: Test failure in libgcrypt-1.8.4.

Apparently, it's an error from your installed /usr/local/opt/libgpg-error/lib/libgpg-error.0.dylib (you have some configuration to prefer this library), while your configure is for /usr/local/lib (because you specify no --prefix).

Dec 17 2018, 9:31 AM · Documentation, Tests, libgcrypt, Bug Report
aheinecke closed T4291: Bug from Kleopatra as Invalid.

that error means that the message was somehow corrupted during transfer. Are you maybe using ftp in text mode on a binary message for example?
You could ask your communication partner to send you messages in text (ASCII Armor) mode which is more robust.
In Kleopatra you can change that in Settings -> Configure Kleopatra -> Crypto Operations -> Create signed or encrypted files as text files.
On the command line you need to add "--armor" option.

Dec 17 2018, 8:37 AM · Bug Report, gpg4win

Dec 16 2018

iAlpha created T4291: Bug from Kleopatra.
Dec 16 2018, 12:46 AM · Bug Report, gpg4win

Dec 14 2018

werner added a comment to T4159: Kleopatra fails to create new Key Pair.

The usual reasons for corruptions of binary data are FTP transfers in text mode; or opening a file with a Windows editor.

Dec 14 2018, 2:56 PM · gnupg, Bug Report, gpg4win
aheinecke added a comment to T4159: Kleopatra fails to create new Key Pair.

Got another reliable report in the Wald Forum about this. https://wald.intevation.org/forum/message.php?msg_id=6371&group_id=11

Dec 14 2018, 1:36 PM · gnupg, Bug Report, gpg4win

Dec 13 2018

gniibe closed T3880: gpg-agent's ssh-agent does not handle flags in signing requests properly as Resolved.
Dec 13 2018, 3:42 PM · ssh, gpgagent, Bug Report

Dec 12 2018

pmgdeb added a comment to T4274: Fail selftests when checksum file is missing in FIPS mode only.

Adding the patch here.

Dec 12 2018, 5:30 PM · Restricted Project, libgcrypt, Bug Report
werner added a project to T4198: Pinentry doesn't capture input correctly, crashes terminal instead: pinentry.
Dec 12 2018, 9:18 AM · pinentry, Bug Report
werner triaged T4105: Inconsistent output for revocation keys in --list-keys --with-colons as Normal priority.
Dec 12 2018, 9:17 AM · Documentation, gnupg, Bug Report
werner triaged T4280: gnupg doc doesn't build due to ImageMagick default policy as Normal priority.
Dec 12 2018, 9:16 AM · gnupg, Documentation, Info Needed, Bug Report
werner closed T4286: Incorrect use of <langinfo.h> in libgpg-error as Resolved.

Thanks.

Dec 12 2018, 9:15 AM · Bug Report
werner claimed T4286: Incorrect use of <langinfo.h> in libgpg-error.
Dec 12 2018, 9:00 AM · Bug Report
miod created T4286: Incorrect use of <langinfo.h> in libgpg-error.
Dec 12 2018, 8:49 AM · Bug Report
werner closed T3606: failed to build S-Exp (off=0): Cannot allocate memory as Resolved.

T3530 describes the solution. In short: Put "auto-expand-secmem" into gpg-agent.conf.

Dec 12 2018, 8:30 AM · libgcrypt, Bug Report
werner closed T4146: GPG Agent fails in parallel: "gpg: decryption failed: No secret key" as Resolved.
Dec 12 2018, 8:28 AM · gnupg (gpg22), MacOS, Bug Report
gniibe closed T3351: libgcrypt: t_secmem fails on system with large page size (ppc64) as Resolved.
Dec 12 2018, 7:27 AM · libgcrypt, Bug Report
gniibe added a parent task for T4146: GPG Agent fails in parallel: "gpg: decryption failed: No secret key": T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.
Dec 12 2018, 7:26 AM · gnupg (gpg22), MacOS, Bug Report
gniibe added a parent task for T3606: failed to build S-Exp (off=0): Cannot allocate memory: T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.
Dec 12 2018, 7:23 AM · libgcrypt, Bug Report

Dec 11 2018

werner closed T4134: GnuPG: Changing the trust model once changes the default trust model as Resolved.

Fix was released with 2.2.11

Dec 11 2018, 3:51 PM · gpg4win, gpgol, Bug Report, gnupg
werner added a comment to T3972: 100% CPU usage endles loop of gpg --list-keys.

In your second run you added the options after the argument (4E2C6E8793298290) so they won't have an effect. Anyway, I can't see anything from the output. My way to debug that would be to run gpg under strace:

Dec 11 2018, 3:31 PM · gnupg (gpg22)

Dec 10 2018

werner added a comment to T4282: info gnupg.

The command -e does not require any further argument. As with most Unix tools you can either give a file or let the tool read from stdin or output to stdout.

Dec 10 2018, 2:20 PM · Feature Request, Documentation
kalle added a comment to T4282: info gnupg.

In the texinfo document, which is opened, when invoking 'info gnupg', there is a subchapter called "Invoking GPG". In this chapter, commands and options are defined. This is the text I mean.

Dec 10 2018, 10:44 AM · Feature Request, Documentation
werner closed T4283: info gnupg wording error as Invalid.

Thanks. That typo was already fixed in 2.2.7.

Dec 10 2018, 9:20 AM · Bug Report
JJworx added a comment to T4278: Signed mails not visible in Exchange web interface (owa).

Hi, it's OpenPGP and the same Exchange server. Perhaps it has to do with
the "Unterhaltungsmodus" from the error message.

Dec 10 2018, 8:34 AM · Not A Bug, gpgol, Bug Report, gpg4win
aheinecke claimed T4278: Signed mails not visible in Exchange web interface (owa).

I'm pretty sure I tested this in the past using the Outlook.com web interface. The mails should show with an unknown attachment (the signature). I can't think of any changes recently that would have changed it. I'll check again.

Dec 10 2018, 8:31 AM · Not A Bug, gpgol, Bug Report, gpg4win
BenM closed T3815: tests fail in 2021 as Resolved.

Though apparently resolved back in May, this is what ultimately led to T4191 and was thus only properly resolved quite recently.

Dec 10 2018, 6:19 AM · qt, Python, gpgme, Bug Report
BenM closed T4271: python gpg.Context.decrypt(verify=False) no longer works as Resolved.

Confirmed that this is indeed fixed and made the (rather minor) change to the HOWTO that was needed. No changes were needed for the example script (decrypt-file.py).

Dec 10 2018, 6:08 AM · Python, gpgme, Bug Report
BenM closed T4191: gpgme python bindings test t-callbacks.py fails on 32-bit platforms as Resolved.

This has now been tested on a 32-bit Gentoo VM and it behaves as expected with 32-bit system detection and creating keys with pre-2038 expirations working.

Dec 10 2018, 4:51 AM · Python, gpgme, Bug Report

Dec 7 2018

werner closed T4284: no description of the homedir option as Wontfix.

Most options are not explained with --help. Right before the examples you see

Dec 7 2018, 7:31 PM · Bug Report
GotLib created T4284: no description of the homedir option.
Dec 7 2018, 7:27 PM · Bug Report
werner removed a project from T3733: Kleopatra, Libgpg-error: Let the GUI change the language on Windows: gpgrt.
Dec 7 2018, 5:01 PM · gpd5x, kleopatra, gpg4win, Bug Report
aheinecke added a comment to T3733: Kleopatra, Libgpg-error: Let the GUI change the language on Windows.

I don't think this works for me in that way.

Dec 7 2018, 4:02 PM · gpd5x, kleopatra, gpg4win, Bug Report
werner added a comment to T3733: Kleopatra, Libgpg-error: Let the GUI change the language on Windows.

Use that function as early as possible. The gpg-error tool has also be enahnced on Windows:

Dec 7 2018, 3:02 PM · gpd5x, kleopatra, gpg4win, Bug Report
aheinecke added a comment to T3733: Kleopatra, Libgpg-error: Let the GUI change the language on Windows.

Thanks. In the meantime GpgOL takes it's language from the Outlook configured display language setting. I'll add support for override locale to gpgol so that the locale is set accordingly

Dec 7 2018, 2:55 PM · gpd5x, kleopatra, gpg4win, Bug Report
werner closed T4265: GPA: Can't create new keys with GPGME 1.12.x as Resolved.

Regession due to my commit 10 days after the last release. Thus no need to do a release.

Dec 7 2018, 11:54 AM · Bug Report, gpg4win, gpa
aheinecke added a comment to T4265: GPA: Can't create new keys with GPGME 1.12.x.

Should we close this or do you want to investigate why the segfault happened after the error?

Dec 7 2018, 11:50 AM · Bug Report, gpg4win, gpa
werner added a comment to T4265: GPA: Can't create new keys with GPGME 1.12.x.

Thanks.

Dec 7 2018, 11:49 AM · Bug Report, gpg4win, gpa
aheinecke added a comment to T4265: GPA: Can't create new keys with GPGME 1.12.x.

I ran it with GPGME_DEBUG and it errors out at
GPGME 2018-12-07 10:34:32 <0x19c43> gpgme_op_genkey_start:293: error: Invalid argument <GPGME>

Dec 7 2018, 10:38 AM · Bug Report, gpg4win, gpa
werner added a comment to T4265: GPA: Can't create new keys with GPGME 1.12.x.

Sorry, I am still not able to replicate it:

Dec 7 2018, 10:19 AM · Bug Report, gpg4win, gpa
aheinecke added a comment to T4265: GPA: Can't create new keys with GPGME 1.12.x.

Just by going through the standard "new key wizard".


GPA 0.11.0-beta5 [70858dc]

Dec 7 2018, 8:33 AM · Bug Report, gpg4win, gpa

Dec 6 2018

werner added a comment to T4265: GPA: Can't create new keys with GPGME 1.12.x.

Can you give me a reproducer on Linux. I am not able to reproduce it. What versions of gnupg and gpgme are you using (see gpa's about)

Dec 6 2018, 6:29 PM · Bug Report, gpg4win, gpa
BenM added a comment to T4191: gpgme python bindings test t-callbacks.py fails on 32-bit platforms.

I'll deploy one on AWS somewhere briefly once I've replaced a certain external keyboard, there will almost certainly be an existing image of some Linux distro in the AWS marketplace and I'd be very surprised if it took more than an hour or two of compute time to confirm.

Dec 6 2018, 2:50 PM · Python, gpgme, Bug Report
werner added a comment to T4282: info gnupg.

I am not sure what text you reference. Can you please explain?

Dec 6 2018, 1:40 PM · Feature Request, Documentation
kalle created T4283: info gnupg wording error.
Dec 6 2018, 11:15 AM · Bug Report
kalle created T4282: info gnupg.
Dec 6 2018, 11:13 AM · Feature Request, Documentation
werner added a comment to T4280: gnupg doc doesn't build due to ImageMagick default policy.

ImageMagick version with that regression?

Dec 6 2018, 9:29 AM · gnupg, Documentation, Info Needed, Bug Report

Dec 5 2018

dkg added a comment to T4276: Context.decrypt() throws an error if *any* signature is bad.

One more semantic question about how folks think Context.decrypt(verify=True) should work: if the decrypted thing has no signature at all, should the function succeed without throwing an exception? it currently does, but the returned verify_result has its signatures member set to the empty list.

Dec 5 2018, 6:30 PM · gpgme, Python, Bug Report
BenM added a comment to T4271: python gpg.Context.decrypt(verify=False) no longer works.

Ooh, nice catch @dkg, I just stepped through each of your changes and it all looks good. I'll tweak the relevant sections of the HOWTO dealing with this in the next few days (I need to replace a keyboard here before properly diving back in) and then close this case once done.

Dec 5 2018, 4:14 PM · Python, gpgme, Bug Report
marcus created T4280: gnupg doc doesn't build due to ImageMagick default policy.
Dec 5 2018, 3:55 PM · gnupg, Documentation, Info Needed, Bug Report
marcus added a comment to T4277: libgpg-error gpgrt_ftruncate decl breaks libgcrypt build.

Dec 5 2018, 3:23 PM · Bug Report
dkg added a comment to T4271: python gpg.Context.decrypt(verify=False) no longer works.

since @aheinecke merged my changes, i think this bug is now resolved. I'll let @BenM close it though :)

Dec 5 2018, 2:06 PM · Python, gpgme, Bug Report
dkg added a comment to T4276: Context.decrypt() throws an error if *any* signature is bad.

@aheinecke thanks for the merge of my other branch! sadly, that branch does *not* address this issue yet. It doesn't even test for it. :( I can work on trying to fix it (and test it) if there's a consensus that we want this particular change in behavior.

Dec 5 2018, 2:04 PM · gpgme, Python, Bug Report
GotLib closed T4279: option -o and --output does not work as Invalid.
Dec 5 2018, 1:15 PM · Bug Report
GotLib added a comment to T4279: option -o and --output does not work.

I apologize for the wrong report.
Files to be encrypted should be at the end of the command.
It's my mistake.

Dec 5 2018, 1:13 PM · Bug Report
GotLib created T4279: option -o and --output does not work.
Dec 5 2018, 12:35 PM · Bug Report
JJworx updated the task description for T4278: Signed mails not visible in Exchange web interface (owa).
Dec 5 2018, 12:32 PM · Not A Bug, gpgol, Bug Report, gpg4win
aheinecke added a comment to T4276: Context.decrypt() throws an error if *any* signature is bad.

Is this fixed now?

Dec 5 2018, 11:54 AM · gpgme, Python, Bug Report
aheinecke changed the status of T4271: python gpg.Context.decrypt(verify=False) no longer works from Open to Testing.

Ben is not even subscribed to this issue.
With the volatility of gpgme-python I think that this can easily be merged. I did a quick review and it looked good to me.

Dec 5 2018, 11:49 AM · Python, gpgme, Bug Report
JJworx updated the task description for T4278: Signed mails not visible in Exchange web interface (owa).
Dec 5 2018, 11:44 AM · Not A Bug, gpgol, Bug Report, gpg4win
JJworx created T4278: Signed mails not visible in Exchange web interface (owa).
Dec 5 2018, 11:42 AM · Not A Bug, gpgol, Bug Report, gpg4win
aheinecke closed T4277: libgpg-error gpgrt_ftruncate decl breaks libgcrypt build as Resolved.

Thanks! Applied.

Dec 5 2018, 11:36 AM · Bug Report
marcus created T4277: libgpg-error gpgrt_ftruncate decl breaks libgcrypt build.
Dec 5 2018, 11:17 AM · Bug Report
werner added a comment to T4271: python gpg.Context.decrypt(verify=False) no longer works.

Needs to be merged. (Note that Phabricator does not show the branch in the tooltip for commit ids.)

Dec 5 2018, 10:44 AM · Python, gpgme, Bug Report
dkg added a comment to T4271: python gpg.Context.decrypt(verify=False) no longer works.

note that the branch also updates the test suite to make sure the verify=False case is tested.

Dec 5 2018, 6:34 AM · Python, gpgme, Bug Report
dkg created T4276: Context.decrypt() throws an error if *any* signature is bad.
Dec 5 2018, 6:18 AM · gpgme, Python, Bug Report
dkg added a comment to T4271: python gpg.Context.decrypt(verify=False) no longer works.

I've just pushed a branch dkg/fix-T4271 , currently at ac8d7238dbf165950c9844e5cb41da8eb4d37bc0 that resolves this problem.

Dec 5 2018, 12:51 AM · Python, gpgme, Bug Report

Dec 2 2018

werner triaged T4275: python gpg binding VCS contains generated files (documentation) as Normal priority.
Dec 2 2018, 11:54 AM · gpgme, Bug Report

Dec 1 2018

dkg created T4275: python gpg binding VCS contains generated files (documentation).
Dec 1 2018, 12:53 AM · gpgme, Bug Report

Nov 29 2018

werner added a project to T4274: Fail selftests when checksum file is missing in FIPS mode only: libgcrypt.
Nov 29 2018, 2:55 PM · Restricted Project, libgcrypt, Bug Report
pmgdeb created T4274: Fail selftests when checksum file is missing in FIPS mode only.
Nov 29 2018, 11:34 AM · Restricted Project, libgcrypt, Bug Report

Nov 28 2018

werner added a comment to T4093: Undefined shift in parse_symkeyenc.

In this case the data is taken from a byte buffer, (unsigned char *). I can't see why iobuf_readbyte should be invoked here.

Nov 28 2018, 9:38 PM · Bug Report
catenacyber added a comment to T4093: Undefined shift in parse_symkeyenc.

@gniibe there seems to be one remaining issue.
Even with iobuf_get_noeof, we have to cast to an unsigned integer before shifting 24 places to avoid undefined behavior :

diff --git a/common/iobuf.c b/common/iobuf.c
index 5eeba8fe6..1b9722d0a 100644
--- a/common/iobuf.c
+++ b/common/iobuf.c
@@ -878,7 +878,7 @@ block_filter (void *opaque, int control, iobuf_t chain, byte * buffer,
                    }
                  else if (c == 255)
                    {
-                     a->size = iobuf_get_noeof (chain) << 24;
+                     a->size = (size_t)iobuf_get_noeof (chain) << 24;
                      a->size |= iobuf_get_noeof (chain) << 16;
                      a->size |= iobuf_get_noeof (chain) << 8;
                      if ((c = iobuf_get (chain)) == -1)
``
Nov 28 2018, 9:27 PM · Bug Report
werner triaged T4271: python gpg.Context.decrypt(verify=False) no longer works as Unbreak Now! priority.

Regression introduced with 1.12.0.

Nov 28 2018, 9:30 AM · Python, gpgme, Bug Report
JJworx added a comment to T4267: X.509 mails will not be decrypted.

This is a new bug, I believe, but perhaps it only appears with "broken"
S/MIME-messages of this type, So I'll first post it here:

Nov 28 2018, 9:26 AM · gpgol, Bug Report, gpg4win
JJworx added a comment to T4267: X.509 mails will not be decrypted.

fine with me

Nov 28 2018, 8:58 AM · gpgol, Bug Report, gpg4win
aheinecke added a comment to T4267: X.509 mails will not be decrypted.

I'll leave the fallback to "just try to decrypt" in though because it is better then doing nothing like we did before.

Nov 28 2018, 8:49 AM · gpgol, Bug Report, gpg4win
aheinecke added a comment to T4267: X.509 mails will not be decrypted.

Thanks, from that log I can understand the problem:

Nov 28 2018, 8:47 AM · gpgol, Bug Report, gpg4win

Nov 27 2018

dkg added a comment to T4271: python gpg.Context.decrypt(verify=False) no longer works.

please add a unit to the test suite to make sure something like this doesn't happen in the future!

Nov 27 2018, 10:14 PM · Python, gpgme, Bug Report
dkg created T4271: python gpg.Context.decrypt(verify=False) no longer works.
Nov 27 2018, 10:10 PM · Python, gpgme, Bug Report
JJworx added a comment to T4267: X.509 mails will not be decrypted.

Ok, with the beta gpgol the mail is successfully decrypted. This is the debug.log:

Nov 27 2018, 4:34 PM · gpgol, Bug Report, gpg4win

Nov 26 2018

aheinecke claimed T4267: X.509 mails will not be decrypted.

You are running in a codepath that means "Outlook told us this was S/MIME, but we have not seen the proper message headers and neither does the data look like it is S/MIME."
Sadly your log does not help much in that case because it marked the mail as bad and aborts.
I've changed that "marking a mail as bad" so that future logs will be more helpful and that it will still try to treat this case as "encrypted" maybe that will already work, although I doubt it. The log will at least be a bit more helpful.

Nov 26 2018, 2:49 PM · gpgol, Bug Report, gpg4win
aheinecke created T4269: Kleopatra / GpgOL: Test and fix disabled key handling.
Nov 26 2018, 10:56 AM · Bug Report, kleopatra, gpgol, gpg4win
JJworx added a comment to T4267: X.509 mails will not be decrypted.

additional info: I have their certificate(s) and sending encrypted mails to them is successful.

Nov 26 2018, 10:21 AM · gpgol, Bug Report, gpg4win
JJworx added a comment to T4267: X.509 mails will not be decrypted.

I forgot the debug log:

Nov 26 2018, 10:20 AM · gpgol, Bug Report, gpg4win
JJworx created T4267: X.509 mails will not be decrypted.
Nov 26 2018, 10:19 AM · gpgol, Bug Report, gpg4win
aheinecke added a subtask for T4265: GPA: Can't create new keys with GPGME 1.12.x: T4264: Gpg4win 3.1.6.
Nov 26 2018, 9:16 AM · Bug Report, gpg4win, gpa
aheinecke raised the priority of T4265: GPA: Can't create new keys with GPGME 1.12.x from Normal to High.

Gets reported multiple times and should be fixed for the next Gpg4win release as it is a bad first impression. (Although it can convert users to Kleopatra ;-) )

Nov 26 2018, 9:16 AM · Bug Report, gpg4win, gpa
aheinecke added a comment to T4241: GpgOL: Unable to save an encrypted message over the microsoft outlook interface.

not yet, I try to get to it this week.

Nov 26 2018, 8:47 AM · Bug Report, gpg4win

Nov 22 2018

dkg added a comment to T4191: gpgme python bindings test t-callbacks.py fails on 32-bit platforms.

i'd be happy to help you set up your own x86 32-bit guest VM for testing
if you like, even if you're running on x86_64 hardware. they're cheap
and easy to run, and have a delightfully small memory footprint :P just
let me know!

Nov 22 2018, 1:44 PM · Python, gpgme, Bug Report
BenM changed the status of T4191: gpgme python bindings test t-callbacks.py fails on 32-bit platforms from Open to Testing.
Nov 22 2018, 10:31 AM · Python, gpgme, Bug Report
msc added a comment to T4241: GpgOL: Unable to save an encrypted message over the microsoft outlook interface.

I'll look into it.

Nov 22 2018, 9:29 AM · Bug Report, gpg4win
skalee added a comment to T4263: Pinentry does not support --disable-doc configure option.

BTW I am aware that Git repository does not contain many files which are prebuilt in tarballs. I am okay with that, I know the difference. I am just reporting that pinentry's configure script is missing an option, which is clearly needed and which is present in other components.

Nov 22 2018, 6:38 AM · pinentry, Bug Report
skalee added a comment to T4263: Pinentry does not support --disable-doc configure option.

I wasn't using tarballs. I have fetched code from Git (git clone git://git.gnupg.org/pinentry).

Nov 22 2018, 6:32 AM · pinentry, Bug Report

Nov 20 2018

aheinecke created T4265: GPA: Can't create new keys with GPGME 1.12.x.
Nov 20 2018, 8:14 AM · Bug Report, gpg4win, gpa