Page MenuHome GnuPG
Feed All Stories

Dec 12 2018

BenM committed rM4c324ac1beb7: python: howto examples equirements (authored by BenM).
python: howto examples equirements
Dec 12 2018, 1:04 PM
aheinecke added a comment to T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.

Uhm, if this option is useful why isn't it default behavior?

Dec 12 2018, 10:34 AM · gnupg, gpgagent
werner committed rC876f7280e860: secmem: Prepare for easier debugging. (authored by werner).
secmem: Prepare for easier debugging.
Dec 12 2018, 9:34 AM
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 committed rE12349de46d24: estream: Use correct POSIX name THOUSEP. (authored by werner).
estream: Use correct POSIX name THOUSEP.
Dec 12 2018, 9:16 AM
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 T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP as Resolved.
Dec 12 2018, 8:30 AM · gnupg, gpgagent
werner closed T3606: failed to build S-Exp (off=0): Cannot allocate memory, a subtask of T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP, as Resolved.
Dec 12 2018, 8:30 AM · gnupg, gpgagent
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
werner closed T4146: GPG Agent fails in parallel: "gpg: decryption failed: No secret key", a subtask of T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP, as Resolved.
Dec 12 2018, 8:28 AM · gnupg, gpgagent
werner closed T3530: Option to auto-increase secmem in gpg-agent as Resolved.

The --auto-expand-secmem option is available in 2.2. and master for quite some time. It works if libgcrypt 1.8.2 or newer is used.

Dec 12 2018, 8:28 AM · Feature Request, gpgagent
werner closed T3530: Option to auto-increase secmem in gpg-agent, a subtask of T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP, as Resolved.
Dec 12 2018, 8:28 AM · gnupg, gpgagent
werner added a comment to T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.

Not a bug :-). I should have read my own docs before starting a long debug session. The things is that the auto expanding of the secmem area is only done for xmalloc_secure and the internal MPI allocation functions. It is not dne for any memory which is allocated with xtrymalloc becuase those properly return an error to the caller. The idea is that if the caller wants to get an error back he has also the assurance that them memory is allocated in the non-swappable memory (i.e. not in the expanded parts of the secmem).

Dec 12 2018, 8:24 AM · gnupg, gpgagent
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 subtask for T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP: T4146: GPG Agent fails in parallel: "gpg: decryption failed: No secret key".
Dec 12 2018, 7:26 AM · gnupg, gpgagent
gniibe added a subtask for T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP: T3606: failed to build S-Exp (off=0): Cannot allocate memory.
Dec 12 2018, 7:23 AM · gnupg, gpgagent
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
gniibe added a subtask for T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP: T3530: Option to auto-increase secmem in gpg-agent.
Dec 12 2018, 7:22 AM · gnupg, gpgagent
gniibe added a parent task for T3530: Option to auto-increase secmem in gpg-agent: T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.
Dec 12 2018, 7:22 AM · Feature Request, gpgagent
gniibe merged T3529: Connection limit for gpg-agent into T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.
Dec 12 2018, 7:16 AM · gnupg, gpgagent
gniibe merged task T3529: Connection limit for gpg-agent into T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.
Dec 12 2018, 7:16 AM · Feature Request, gnupg (gpg23), gpgagent
gniibe added a comment to T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.

For my case, with $GNUPGHOME/gpg-agent.conf having debug-all, I observed that rsa_decrypt failes with 'Cannot allocate memory', after debug output of 'res'.
Reading libgcrypt/cipher/rsa.c, it is line 1439, where it calls sexp_build (MPI of PLAIN into SEXP of R_PLAIN).
I think that it does indeed memory failure here.
Having "auto-expand-secmem" in gpg-agent.conf, it goes well.

Dec 12 2018, 3:47 AM · gnupg, gpgagent
gniibe committed rGebf775eb16fe: card: Suppress error message by agent_scd_cardlist. (authored by gniibe).
card: Suppress error message by agent_scd_cardlist.
Dec 12 2018, 2:29 AM

Dec 11 2018

werner added a comment to T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.

I can easily replicate this; it is a problem somewhere in the secure memory code of Libgcrypt.

Dec 11 2018, 9:08 PM · gnupg, gpgagent
werner triaged T4282: info gnupg as Low priority.
Dec 11 2018, 7:10 PM · Feature Request, Documentation
werner committed rGde29a50e7c8a: agent: Make the S2K calibration time runtime configurable. (authored by werner).
agent: Make the S2K calibration time runtime configurable.
Dec 11 2018, 6:16 PM
werner committed rG0cf0f3aaf835: agent: compile-time configuration of s2k calibration. (authored by dkg).
agent: compile-time configuration of s2k calibration.
Dec 11 2018, 6:16 PM
werner committed rGcbcc8c19541f: agent: Make the S2K calibration time runtime configurabe. (authored by werner).
agent: Make the S2K calibration time runtime configurabe.
Dec 11 2018, 6:13 PM
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 edited projects for T3065: dirmngr: proxy issues with dnslookup causing failure, added: FAQ; removed gnupg (gpg22).
Dec 11 2018, 3:48 PM · gnupg (gpg22), dns, dirmngr
werner added a comment to T3065: dirmngr: proxy issues with dnslookup causing failure.

If you specify a pool of keyservers dirmngr selects a keyserver on its won from the pool. This is so that it can use its own heuristics to detect whether a keyserver is dead and then retry another one. Now the default is a pool and your specified keyserver.ubuntu.com is also a pool (of two servers). So if your DNS resolver does not tell us the IP addresses, we can't do anything about it.

Dec 11 2018, 3:48 PM · gnupg (gpg22), dns, dirmngr
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)
werner closed T4175: HTTP 5xx should fail over to the next server as Resolved.
Dec 11 2018, 3:05 PM · dirmngr, Feature Request
werner added a comment to T4175: HTTP 5xx should fail over to the next server.

Will go into 2.1.12 to be released next week.

Dec 11 2018, 3:05 PM · dirmngr, Feature Request
werner committed rGe5abdb6da7fa: dirmngr: Retry another server from the pool on 502, 503, 504. (authored by werner).
dirmngr: Retry another server from the pool on 502, 503, 504.
Dec 11 2018, 1:41 PM
werner committed rGb9d71ea64a69: dirmngr: New function http_status2string. (authored by werner).
dirmngr: New function http_status2string.
Dec 11 2018, 1:41 PM
werner committed rG05ef62827844: dirmngr: Retry another server from the pool on 502, 503, 504. (authored by werner).
dirmngr: Retry another server from the pool on 502, 503, 504.
Dec 11 2018, 1:40 PM
werner committed rGdc61f4ecea5c: dirmngr: New function http_status2string. (authored by werner).
dirmngr: New function http_status2string.
Dec 11 2018, 1:40 PM
werner added a project to T3168: dirmngr: gpg: keyserver receive failed: No keyserver available: dns.
Dec 11 2018, 12:40 PM · dns, dirmngr
werner closed T1166: Connecting once-per-key for keys with keyserver preference vs server violate reconnection limit as Wontfix.
Dec 11 2018, 12:39 PM · Ubuntu, gnupg, Feature Request
werner closed T3830: Dirmngr: Bad error message (regression) when no key is found on the keyserver as Resolved.

Thanks.

Dec 11 2018, 12:34 PM · gnupg, dirmngr
werner committed rGf7ff25edadd4: gpg: In search-keys return "Not found" instead of "No Data". (authored by werner).
gpg: In search-keys return "Not found" instead of "No Data".
Dec 11 2018, 12:33 PM
werner committed rGe7252ae57f3c: gpg: In search-keys return "Not found" instead of "No Data". (authored by werner).
gpg: In search-keys return "Not found" instead of "No Data".
Dec 11 2018, 12:31 PM
werner committed rG2c35e67e3475: tools: Use POSIX compatible arguments for find (authored by Tomi Leppänen <tomi.leppanen@jolla.com>).
tools: Use POSIX compatible arguments for find
Dec 11 2018, 8:50 AM
werner committed rGdfcc5e6d3ec9: tools: Use POSIX compatible arguments for find (authored by Tomi Leppänen <tomi.leppanen@jolla.com>).
tools: Use POSIX compatible arguments for find
Dec 11 2018, 8:50 AM
aheinecke committed rW8223b4025b25: Minor README fix (authored by aheinecke).
Minor README fix
Dec 11 2018, 8:19 AM
gniibe committed rE27ded21fea2a: syscfg: Add a riscv32 architecture (authored by Alistair Francis <Alistair.Francis@wdc.com>).
syscfg: Add a riscv32 architecture
Dec 11 2018, 6:03 AM

Dec 10 2018

BenM committed rM772b5aae24a2: python: hkp key importer (authored by BenM).
python: hkp key importer
Dec 10 2018, 11:58 PM
BenM committed rM2e7a14c9b369: python: HKP search and import updates (authored by BenM).
python: HKP search and import updates
Dec 10 2018, 9:17 PM
Laurent Montel <montel@kde.org> committed rKLEOPATRA21b6ccf45197: Use https (authored by Laurent Montel <montel@kde.org>).
Use https
Dec 10 2018, 8:14 PM
Laurent Montel <montel@kde.org> committed rKLEOPATRA693cbbe072b8: Use https (authored by Laurent Montel <montel@kde.org>).
Use https
Dec 10 2018, 8:01 PM
BenM committed rMfe7e01d164b6: python: key import via HKP example (authored by BenM).
python: key import via HKP example
Dec 10 2018, 6:46 PM
werner edited projects for T4282: info gnupg, added: Documentation, Feature Request; removed Bug Report.
Dec 10 2018, 2:21 PM · Feature Request, Documentation
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
Laurent Montel <montel@kde.org> committed rKLEOPATRA6ccc50e70592: GIT_SILENT: Use https here too (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Use https here too
Dec 10 2018, 1:51 PM
Laurent Montel <montel@kde.org> committed rKLEOPATRA5e5e2e9613c5: GIT_SILENT: ignore some build dir (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: ignore some build dir
Dec 10 2018, 1:22 PM
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 · 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 · gpgol, Bug Report, gpg4win
Laurent Montel <montel@kde.org> committed rKLEOPATRA8fc4bae02a73: GIT_SILENT: use https here (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: use https here
Dec 10 2018, 8:16 AM
Laurent Montel <montel@kde.org> committed rKLEOPATRA134e807eff67: GIT_SILENT: time to increase it (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: time to increase it
Dec 10 2018, 7:54 AM
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 T4086: GPGME: sharing C compiler configuration with SWIG for generated bindings as Resolved.

See T3505 for more in depth coverage of this issue. Essentially this is a duplicate under a slightly altered POV.

Dec 10 2018, 6:15 AM · gpgme
BenM committed rM7c63bfe4ab43: python: docs updates (authored by BenM).
python: docs updates
Dec 10 2018, 6:12 AM
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
gniibe closed T4239: Should gpgrt-config have default LIBDIR definition in the script? as Resolved.
Dec 10 2018, 3:02 AM · gpgrt
gniibe committed rE1d71dbb13709: gpgrt-config: Portability fix for use of expr. (authored by gniibe).
gpgrt-config: Portability fix for use of expr.
Dec 10 2018, 1:12 AM

Dec 8 2018

BenM updated subscribers of T3505: Port GPGME's Python bindings to Windows.

Commit 8613727f1ee985c3cfa2c815523312914f033ffd adds considerable detail on both the issues affecting compiling and installing a Windows version of the bindings and what it would take to actually resolve it.

Dec 8 2018, 7:02 AM · Feature Request, gpgme, Python

Dec 7 2018

werner added a subtask for T4205: Release libgpg-error 1.33: T4285: Compiler warnings in libgpg-error 1.33 on macOS.
Dec 7 2018, 9:06 PM · gpgrt, Release Info
werner added a parent task for T4285: Compiler warnings in libgpg-error 1.33 on macOS: T4205: Release libgpg-error 1.33.
Dec 7 2018, 9:06 PM
werner closed T4285: Compiler warnings in libgpg-error 1.33 on macOS as Resolved.

Thanks for the report.

Dec 7 2018, 9:00 PM
werner committed rE60f3d4440249: Silence cc warning about snprintf redefinition (authored by werner).
Silence cc warning about snprintf redefinition
Dec 7 2018, 9:00 PM
werner added a comment to T4285: Compiler warnings in libgpg-error 1.33 on macOS.

Well, -Wno-macro-redefined should silence the warning but Iwill add an undef before our macro definition. The snprintf macro is used to make sure the libgpg-error's own printf implementation is used.

Dec 7 2018, 8:58 PM
chdiza created T4285: Compiler warnings in libgpg-error 1.33 on macOS in the S1 Public space.
Dec 7 2018, 8:22 PM
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 committed rD5f6ff6214b0c: swdb: Released gpgrt 1.33 (authored by werner).
swdb: Released gpgrt 1.33
Dec 7 2018, 7:02 PM
werner closed T4205: Release libgpg-error 1.33 as Resolved.

NEWS for 1.33:

Dec 7 2018, 5:32 PM · gpgrt, Release Info
werner committed rEbcf916345790: Post release updates (authored by werner).
Post release updates
Dec 7 2018, 5:20 PM
werner committed rE174985d91ff2: Release 1.33. (authored by werner).
Release 1.33.
Dec 7 2018, 5:20 PM
werner removed a project from T3733: Kleopatra, Libgpg-error: Let the GUI change the language on Windows: gpgrt.
Dec 7 2018, 5:01 PM · Restricted Project, vsd33, 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 · Restricted Project, vsd33, 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 · Restricted Project, vsd33, 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 · Restricted Project, vsd33, kleopatra, gpg4win, Bug Report
werner committed rE0b190ce89de7: Add W32-only function gpgrt_w32_override_locale. (authored by werner).
Add W32-only function gpgrt_w32_override_locale.
Dec 7 2018, 2:52 PM
werner committed rE9e62d5e73f30: doc: Replace gpg-error-config by gpgrt-config. (authored by werner).
doc: Replace gpg-error-config by gpgrt-config.
Dec 7 2018, 2:52 PM
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 committed rM78f6291a3bf5: core: Fix ERR_INV_ARG check in genkey_start (authored by aheinecke).
core: Fix ERR_INV_ARG check in genkey_start
Dec 7 2018, 10:48 AM
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