Page MenuHome GnuPG
Feed All Stories

Dec 5 2018

aheinecke committed rM2491e6f92f5b: python: simplify Context.decrypt() (authored by dkg).
python: simplify Context.decrypt()
Dec 5 2018, 11:50 AM
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 · gpgol, Bug Report, gpg4win
aheinecke committed rE34d6637a34b1: Fix gpgrt_ftruncate declaration. (authored by Marcus Brinkmann <marcus.brinkmann@rub.de>).
Fix gpgrt_ftruncate declaration.
Dec 5 2018, 11:44 AM
JJworx created T4278: Signed mails not visible in Exchange web interface (owa).
Dec 5 2018, 11:42 AM · 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
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
gniibe committed rGe154fba30ba0: g10: Fix print_pubkey_info new line output. (authored by gniibe).
g10: Fix print_pubkey_info new line output.
Dec 5 2018, 8:53 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
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
BenM committed rM1dffdcc6e9d2: python: windows c and cython (authored by BenM).
python: windows c and cython
Dec 5 2018, 12:56 AM
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
dkg committed rMac8d7238dbf1: python: overhaul logic of Context.decrypt() (authored by dkg).
python: overhaul logic of Context.decrypt()
Dec 5 2018, 12:50 AM
dkg committed rM5e21e61cfef8: python: ctx.decrypt() has problematic error handling (authored by dkg).
python: ctx.decrypt() has problematic error handling
Dec 5 2018, 12:50 AM
dkg committed rM30ddb2cabcd6: python: gpg.Context.decrypt verify_sigs and sink_result are bools (authored by dkg).
python: gpg.Context.decrypt verify_sigs and sink_result are bools
Dec 5 2018, 12:50 AM
dkg committed rMfefa46173e50: python: Clarify the meaning of ctx.decrypt(verify=[]) (authored by dkg).
python: Clarify the meaning of ctx.decrypt(verify=[])
Dec 5 2018, 12:50 AM
dkg committed rM827a2f3ad562: python: simplify Context.decrypt() (authored by dkg).
python: simplify Context.decrypt()
Dec 5 2018, 12:50 AM
dkg committed rM9a1903cc4292: python: clarify documentation for verify argument for Context.decrypt() (authored by dkg).
python: clarify documentation for verify argument for Context.decrypt()
Dec 5 2018, 12:50 AM

Dec 4 2018

BenM committed rMc8a04af676d9: python: sphinx modification (authored by BenM).
python: sphinx modification
Dec 4 2018, 11:35 PM
BenM committed rM6d8823b81162: python: Sphinx support (authored by BenM).
python: Sphinx support
Dec 4 2018, 11:35 PM
BenM committed rM8d2621fcad3d: Merge branch 'master' of ssh+git://playfair.gnupg.org/git/gpgme (authored by BenM).
Merge branch 'master' of ssh+git://playfair.gnupg.org/git/gpgme
Dec 4 2018, 10:50 PM
BenM committed rM8613727f1ee9: python: docs update (authored by BenM).
python: docs update
Dec 4 2018, 10:50 PM
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
aheinecke added a comment to T3321: Make it possible to combine GpgMEpp and QGpgme with MSVC compiled binaries.

Cool and yes, that could also be an option. I was explicitly told by KDE-Windows that this would work for them, too. The problem for me is that I feel comfortable to add a CMake Buildsystem for the Cpp and Qt bindings (maybe Python?). It would be very simple for me, I would not extend it to GPGME core, at least not at first. I could do that on GNU/Linux without having to test an MSVC build.
It will be more effort for me to make autotools work nicely with MSVC. I would have to test that etc.

Dec 4 2018, 8:55 AM · Feature Request, gpgme
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
gniibe committed rG802b23289cc9: build: Remove --with-*-prefix from configure_opts. (authored by gniibe).
build: Remove --with-*-prefix from configure_opts.
Dec 4 2018, 4:40 AM
gniibe committed rM5dbac555f23b: build: Remove --with-*-prefix, which is no need any more. (authored by gniibe).
build: Remove --with-*-prefix, which is no need any more.
Dec 4 2018, 4:38 AM

Dec 3 2018

aheinecke added a comment to T3321: Make it possible to combine GpgMEpp and QGpgme with MSVC compiled binaries.

Further discussion revealed that the main problem is QtWebengine, which is a requirement of KMail and basically a fully fledged web browser with millions of lines of code. QtWebengine is only supported for MSVC on Windows and a MinGW port is not feasible, so just compiling KMail with MinGW all the way through like I did in the past is no longer an option. :-(

Dec 3 2018, 4:49 PM · Feature Request, gpgme
aheinecke raised the priority of T3321: Make it possible to combine GpgMEpp and QGpgme with MSVC compiled binaries from Wishlist to High.

I give this high priority. This blocks for years that the KDE-Windows initiative provides a way to install the very good crypto MUA KMail on windows. They rely on MSVC (you can say that this is bad, but it is a fact of life). As a former member of that community I am a bit ashamed that I made it harder / impossible for them to build KMail with MSVC because I've moved it to GPGME proper.

Dec 3 2018, 4:44 PM · Feature Request, gpgme
aheinecke claimed T3321: Make it possible to combine GpgMEpp and QGpgme with MSVC compiled binaries.

I think that is something I want to grapple with next year. The maintainer of KDE 4 windows noted that they currently rely on the patches from:

Dec 3 2018, 4:35 PM · Feature Request, gpgme
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
Laurent Montel <montel@kde.org> committed rKLEOPATRA703709aa9fbe: GIT_SILENT: time to increase it (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: time to increase it
Dec 3 2018, 1:23 PM
Laurent Montel <montel@kde.org> committed rKLEOPATRA038be98afb24: GIT_SILENT: prepare 5.10.0 (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: prepare 5.10.0
Dec 3 2018, 1:07 PM
aheinecke added a comment to T3618: Gpg4win: Update german compendium on the Homepage.

It might also be noted there in the installation instructions that it might be better not to run the installer from the download folder. (internal tracker issue45)

Dec 3 2018, 12:48 PM · gpg4win
aheinecke committed rM1d31420650bf: qt,cpp: Consistently use nullptr and override (authored by aheinecke).
qt,cpp: Consistently use nullptr and override
Dec 3 2018, 12:25 PM
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
Laurent Montel <montel@kde.org> committed rKLEOPATRAe02e3d1175eb: GIT_SILENT: increase cmake 3.5 (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: increase cmake 3.5
Dec 2 2018, 10:14 AM

Dec 1 2018

jukivili committed rC66d2b7fc1725: rijndael-aesni: interleave last CTR encryption round with xoring (authored by jukivili).
rijndael-aesni: interleave last CTR encryption round with xoring
Dec 1 2018, 1:21 PM
jukivili committed rC168668228c7c: Use explicit_bzero for wipememory (authored by jukivili).
Use explicit_bzero for wipememory
Dec 1 2018, 1:21 PM
jukivili committed rG73e74de0e33b: g10/mainproc: disable hash contexts when --skip-verify is used (authored by jukivili).
g10/mainproc: disable hash contexts when --skip-verify is used
Dec 1 2018, 12:59 PM
jukivili committed rG654e353d9b20: common/iobuf: fix memory wiping in iobuf_copy (authored by jukivili).
common/iobuf: fix memory wiping in iobuf_copy
Dec 1 2018, 12:59 PM
jukivili committed rG2a650772b4e1: common/mischelp: use platform memory zeroing function for wipememory (authored by jukivili).
common/mischelp: use platform memory zeroing function for wipememory
Dec 1 2018, 12:59 PM
dkg created T4275: python gpg binding VCS contains generated files (documentation).
Dec 1 2018, 12:53 AM · gpgme, Bug Report

Nov 30 2018

BenM committed rM2e3a681d0c35: python: documentation fixes (authored by BenM).
python: documentation fixes
Nov 30 2018, 10:20 PM
BenM committed rM3b056a01a252: python: documentation (authored by BenM).
python: documentation
Nov 30 2018, 10:20 PM
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
mjb updated the task description for T4273: agent: Request insertion of smartcard when no card present.
Nov 30 2018, 10:26 AM · Feature Request, Documentation, gpgagent
mjb updated the task description for T4273: agent: Request insertion of smartcard when no card present.
Nov 30 2018, 10:25 AM · Feature Request, Documentation, gpgagent
mjb added a comment to T4273: agent: Request insertion of smartcard when no card present.

..... And now after looking into this a bit deeper after attempting to build gpg-agent for windows, it appears that this is a bit deeper than the logic above (which is actually sound, when I read it for the second time)

Nov 30 2018, 10:20 AM · Feature Request, Documentation, gpgagent

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
pmgdeb added a watcher for libgcrypt: pmgdeb.
Nov 29 2018, 11:32 AM
mjb removed External Link on T4273: agent: Request insertion of smartcard when no card present.
Nov 29 2018, 10:39 AM · Feature Request, Documentation, gpgagent
mjb created T4273: agent: Request insertion of smartcard when no card present.
Nov 29 2018, 10:36 AM · Feature Request, Documentation, gpgagent
l10n daemon script <scripty@kde.org> committed rKLEOPATRA045e371918fb: GIT_SILENT made messages (after extraction) (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT made messages (after extraction)
Nov 29 2018, 7:17 AM
l10n daemon script <scripty@kde.org> committed rKLEOPATRA6cfe57708af6: GIT_SILENT made messages (after extraction) (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT made messages (after extraction)
Nov 29 2018, 3:24 AM

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 created T4272: More screenshots for gpa.
Nov 28 2018, 2:53 PM · gpa, gpgweb
aheinecke committed rMa9cfb6dad8ac: tests, json: Make them run on debian stable (authored by aheinecke).
tests, json: Make them run on debian stable
Nov 28 2018, 10:48 AM
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
aheinecke added a comment to T4268: Provide a method to build a simple WKD server filestructure on Windows.

@werner Be my guest.

Nov 28 2018, 9:22 AM · wkd, Windows
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
gniibe committed rG47106ac435e8: scd: Serialize opening device by select_application. (authored by gniibe).
scd: Serialize opening device by select_application.
Nov 28 2018, 7:06 AM

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
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
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
dkg created T4270: pinentry-curses should ring the terminal bell.
Nov 27 2018, 3:51 PM · gpgagent, Feature Request, pinentry
bernhard added a comment to T4268: Provide a method to build a simple WKD server filestructure on Windows.

Precondition: A list of pubkeys, as keyring or as keyring file with list of fingerprints.
Goal: a static file structure that can be uploaded on my webserver.
Platform: Windows, a better solution does require less additional dependencies apart from Gpg4win.

Nov 27 2018, 8:28 AM · wkd, Windows
gniibe committed rG483e63f9b5fa: agent: Better serialization for scdaemon access. (authored by gniibe).
agent: Better serialization for scdaemon access.
Nov 27 2018, 3:13 AM

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