Page MenuHome GnuPG
Feed Advanced Search

Dec 12 2018

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

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

Dec 10 2018

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
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

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
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
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 · 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
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
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
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

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
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
werner committed rEb7fae45c24cc: logging: Escape controls in string arguments of log_ functions. (authored by werner).
logging: Escape controls in string arguments of log_ functions.
Dec 6 2018, 11:33 AM
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

werner added a comment to T3443: Install gpg 1.4 as gpg1.

That is good.

Dec 5 2018, 6:38 PM · Feature Request
werner committed rE793838fd859a: tests: Check print arguments of t-common functions. (authored by werner).
tests: Check print arguments of t-common functions.
Dec 5 2018, 6:30 PM
werner committed rEf4d139b399e1: core: Allow logging to an estream. (authored by werner).
core: Allow logging to an estream.
Dec 5 2018, 6:30 PM
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
werner committed rGc5aba093b86e: g10: Fix print_pubkey_info new line output. (authored by gniibe).
g10: Fix print_pubkey_info new line output.
Dec 5 2018, 8:56 AM
werner committed rG9b538451682c: gpg: New list-option "show-only-fpr-mbox". (authored by werner).
gpg: New list-option "show-only-fpr-mbox".
Dec 5 2018, 8:51 AM
werner committed rG80bf1f8901dc: wks: Fix filter expression syntax flaw. (authored by werner).
wks: Fix filter expression syntax flaw.
Dec 5 2018, 8:51 AM
werner committed rGb6fd60dfa170: wks: Allow reading of --install-key arguments from stdin. (authored by werner).
wks: Allow reading of --install-key arguments from stdin.
Dec 5 2018, 8:51 AM
werner committed rGbf29d7c82226: wks: Create sub-directories (authored by werner).
wks: Create sub-directories
Dec 5 2018, 8:51 AM
werner committed rG5b4aa8c6d4ab: wks: Add new commands --install-key and --remove-key to the client. (authored by werner).
wks: Add new commands --install-key and --remove-key to the client.
Dec 5 2018, 8:51 AM
werner committed rG6008410e512c: g10/mainproc: disable hash contexts when --skip-verify is used (authored by jukivili).
g10/mainproc: disable hash contexts when --skip-verify is used
Dec 5 2018, 8:51 AM
werner committed rG51b722c6f57b: wks: Move a few server functions to wks-util. (authored by werner).
wks: Move a few server functions to wks-util.
Dec 5 2018, 8:51 AM
werner committed rGebd434a45eef: common/iobuf: fix memory wiping in iobuf_copy (authored by jukivili).
common/iobuf: fix memory wiping in iobuf_copy
Dec 5 2018, 8:51 AM
werner committed rG21fdef696353: common: Use platform memory zeroing function for wipememory (authored by jukivili).
common: Use platform memory zeroing function for wipememory
Dec 5 2018, 8:51 AM
werner committed rGedeebe0a6b9a: gpg: Improve error message about failed keygrip computation. (authored by werner).
gpg: Improve error message about failed keygrip computation.
Dec 5 2018, 8:51 AM

Dec 4 2018

werner added a comment to T4268: Provide a method to build a simple WKD server filestructure on Windows.

With master we can now do:

Dec 4 2018, 4:36 PM · wkd, Windows
werner committed rG0c36ec241d28: wks: Fix filter expression syntax flaw. (authored by werner).
wks: Fix filter expression syntax flaw.
Dec 4 2018, 4:29 PM
werner committed rGc6e2ee020784: gpg: Prepare revocation keys for use with v5 keys. (authored by werner).
gpg: Prepare revocation keys for use with v5 keys.
Dec 4 2018, 4:29 PM
werner committed rGba46a359b9d6: wks: Allow reading of --install-key arguments from stdin. (authored by werner).
wks: Allow reading of --install-key arguments from stdin.
Dec 4 2018, 3:34 PM
werner committed rG0e8bf204791e: gpg: New list-option "show-only-fpr-mbox". (authored by werner).
gpg: New list-option "show-only-fpr-mbox".
Dec 4 2018, 3:34 PM
werner committed rG73e5b0ec9b9b: wks: Create sub-directories (authored by werner).
wks: Create sub-directories
Dec 4 2018, 3:34 PM
werner committed rG602b19096329: wks: Add new commands --install-key and --remove-key to the client. (authored by werner).
wks: Add new commands --install-key and --remove-key to the client.
Dec 4 2018, 3:34 PM
werner committed rG99094c992c20: wks: Move a few server functions to wks-util. (authored by werner).
wks: Move a few server functions to wks-util.
Dec 4 2018, 3:34 PM
werner added a comment to T3321: Make it possible to combine GpgMEpp and QGpgme with MSVC compiled binaries.

Just to stress it; I am in favor of allowing builds using other compilers. We allow this on Unix and so we should allow this on Windows as well. We should remember to use different DLL names to make it explicit that a certain DLL is targetting a specific ABI.

Dec 4 2018, 8:50 AM · Feature Request, gpgme
werner added a comment to T3321: Make it possible to combine GpgMEpp and QGpgme with MSVC compiled binaries.

Another build systems does not solve your problem. If you want to support another toolchain, that is fine. But it can as well be done with the current build system. it is a matter of adding a new platform triplet to make sure we are not linking against different libc versions. In fact we can build all our code on a wide range of platforms with very different compilers, so supporting MSVC won't be a problem. Mixing them is a bad idea as can be shown by the usual cross-runtime malloc/free problems.

Dec 4 2018, 8:46 AM · Feature Request, gpgme

Dec 3 2018

werner claimed T4255: gpg-agent: "<gcrypt> Cannot allocate memory" with 10 threads decrypting OpenPGP.
Dec 3 2018, 3:05 PM · gnupg, gpgagent
werner added a project to T4273: agent: Request insertion of smartcard when no card present: Windows.
Dec 3 2018, 3:04 PM · Feature Request, Documentation, gpgagent
werner committed rM649b19688132: doc: Minor comment cleanups. (authored by werner).
doc: Minor comment cleanups.
Dec 3 2018, 10:43 AM

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

Nov 30 2018

werner committed rG3a90efb7cf13: scd: Add strerror to new error message. (authored by werner).
scd: Add strerror to new error message.
Nov 30 2018, 12:44 PM
werner committed rGcd64af003d4b: gpg: Improve error message about failed keygrip computation. (authored by werner).
gpg: Improve error message about failed keygrip computation.
Nov 30 2018, 12:44 PM

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

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
werner created T4272: More screenshots for gpa.
Nov 28 2018, 2:53 PM · gpa, gpgweb
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

Nov 27 2018

werner added a comment to T4268: Provide a method to build a simple WKD server filestructure on Windows.

Why not using PowerShell? Because --with-colons does not output the required hash? But that can't be the reason because Python has the very same problem. Using Python for scripts is anyway a bit of overkill.

Nov 27 2018, 5:25 PM · wkd, Windows
werner triaged T4270: pinentry-curses should ring the terminal bell as Normal priority.
Nov 27 2018, 5:20 PM · gpgagent, Feature Request, pinentry

Nov 26 2018

werner committed rEbd8668c120ac: core: New functions gpgrt_fprintf_sf anf gpgrt_fprintf_sf_unlocked. (authored by werner).
core: New functions gpgrt_fprintf_sf anf gpgrt_fprintf_sf_unlocked.
Nov 26 2018, 8:36 PM
werner committed rEffb49b72f132: core: Add a limited version of gpgrt_ftruncate. (authored by werner).
core: Add a limited version of gpgrt_ftruncate.
Nov 26 2018, 8:36 PM
werner added a comment to T4268: Provide a method to build a simple WKD server filestructure on Windows.
gpg-wks-server --install-key fingerprint
Nov 26 2018, 8:35 PM · wkd, Windows
werner triaged T4268: Provide a method to build a simple WKD server filestructure on Windows as Low priority.

If they really want to do that for Windows, they can use some database approach like Protonmail does it. This does not require any file structure.

Nov 26 2018, 11:26 AM · wkd, Windows
werner added a comment to T4268: Provide a method to build a simple WKD server filestructure on Windows.

Sorry, we won't implement a server for WIndows. No sane provider uses Windows for a large mail setup.

Nov 26 2018, 11:25 AM · wkd, Windows

Nov 23 2018

werner committed rG4a4bb874f637: dirmngr: Avoid possible CSRF attacks via http redirects. (authored by werner).
dirmngr: Avoid possible CSRF attacks via http redirects.
Nov 23 2018, 9:29 AM

Nov 22 2018

werner committed rGfa1b1eaa4241: dirmngr: Avoid possible CSRF attacks via http redirects. (authored by werner).
dirmngr: Avoid possible CSRF attacks via http redirects.
Nov 22 2018, 10:37 PM

Nov 21 2018

werner committed rGe5c3a6999a37: doc: Clarify use of clear and nodefault in the AKL. (authored by werner).
doc: Clarify use of clear and nodefault in the AKL.
Nov 21 2018, 9:38 AM
werner committed rG6acca0e4d9f9: doc: Clarify use of clear and nodefault in the AKL. (authored by werner).
doc: Clarify use of clear and nodefault in the AKL.
Nov 21 2018, 9:38 AM