Page MenuHome GnuPG
Feed All Stories

Dec 1 2018

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
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
aheinecke committed rWa31dfffa8200: Update Kleopatra to latest master (authored by aheinecke).
Update Kleopatra to latest master
Nov 26 2018, 3:52 PM
aheinecke committed rW2ec66c613c25: Update Kleopatra to latest master (authored by aheinecke).
Update Kleopatra to latest master
Nov 26 2018, 3:52 PM
aheinecke committed rO019395666f17: Fix two memdbg refcount errors (authored by aheinecke).
Fix two memdbg refcount errors
Nov 26 2018, 3:23 PM
aheinecke committed rO572420273d97: Avoid use of error msg class "IPM.Note.GpgOL" (authored by aheinecke).
Avoid use of error msg class "IPM.Note.GpgOL"
Nov 26 2018, 3:23 PM
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 committed rGf12fcd907903: w32: Fix linkage of gpg-pair-tool (authored by aheinecke).
w32: Fix linkage of gpg-pair-tool
Nov 26 2018, 1:07 PM
aheinecke committed rKLEOPATRA86612d8375b0: Handle imports from X509 dirserver better (authored by aheinecke).
Handle imports from X509 dirserver better
Nov 26 2018, 12:46 PM
aheinecke committed rKLEOPATRAb4e46cd46a3b: Factor out ownertrust handling into own func (authored by aheinecke).
Factor out ownertrust handling into own func
Nov 26 2018, 12:46 PM
bernhard added a comment to T4268: Provide a method to build a simple WKD server filestructure on Windows.

... that would be useful in many ways. I'd say we should support anyone who wants to use pythong-gnupg on windows.

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

@werner it is like @aheinecke writes:

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

As I see it Bernhard is just asking for the flat strucuture so basically some export script that creates the needed files on windows.

Nov 26 2018, 11:32 AM · 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
aheinecke created T4269: Kleopatra / GpgOL: Test and fix disabled key handling.
Nov 26 2018, 10:56 AM · Bug Report, kleopatra, gpgol, gpg4win
bernhard created T4268: Provide a method to build a simple WKD server filestructure on Windows.
Nov 26 2018, 10:50 AM · wkd, Windows
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 created T4266: Kleopatra: trusted-certs not imported when importing from X509 Keyserver.
Nov 26 2018, 9:18 AM · gpg4win, kleopatra
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 added a parent task for T4264: Gpg4win 3.1.6: T4265: GPA: Can't create new keys with GPGME 1.12.x.
Nov 26 2018, 9:16 AM · Release Info, gpg4win
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
gniibe committed rG40c7923ea881: agent: Have a thread to wait for the child process of scdaemon. (authored by gniibe).
agent: Have a thread to wait for the child process of scdaemon.
Nov 26 2018, 4:15 AM
gniibe committed rG9fb3f0f3f79e: agent: Defer calling assuan_release when it's still in use. (authored by gniibe).
agent: Defer calling assuan_release when it's still in use.
Nov 26 2018, 4:15 AM
gniibe committed rGf45d6124696c: agent: Clean up SCDaemon management. (authored by gniibe).
agent: Clean up SCDaemon management.
Nov 26 2018, 4:15 AM
BenM committed rM1c92f3ff55ad: python docs: checking key signatures (authored by BenM).
python docs: checking key signatures
Nov 26 2018, 3:24 AM

Nov 23 2018

Yuri Chornoivan <yurchor@ukr.net> committed rKLEOPATRAe90d94dd0486: Fix minor EBN issues (authored by Yuri Chornoivan <yurchor@ukr.net>).
Fix minor EBN issues
Nov 23 2018, 7:35 PM
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
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
BenM committed rMc87155e6eba2: python: docs update (authored by BenM).
python: docs update
Nov 22 2018, 10:03 AM
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
Laurent Montel <montel@kde.org> committed rKLEOPATRA80daafe4515e: GIT_SILENT: prepare 5.10rc (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: prepare 5.10rc
Nov 22 2018, 8:22 AM
BenM committed rMde6bb2327979: python: version as integers (authored by BenM).
python: version as integers
Nov 22 2018, 8:09 AM
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 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
l10n daemon script <scripty@kde.org> committed rKLEOPATRA0037d9913446: GIT_SILENT made messages (after extraction) (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT made messages (after extraction)
Nov 21 2018, 7:27 AM
l10n daemon script <scripty@kde.org> committed rKLEOPATRA63a9e2d5b542: GIT_SILENT made messages (after extraction) (authored by l10n daemon script <scripty@kde.org>).
GIT_SILENT made messages (after extraction)
Nov 21 2018, 3:29 AM

Nov 20 2018

jukivili committed rC9d9c4fd18b44: Add clang target pragma for mixed C/assembly x86-64 implementations (authored by jukivili).
Add clang target pragma for mixed C/assembly x86-64 implementations
Nov 20 2018, 8:19 PM
jukivili committed rCb42de67f3487: Optimizations for AES-NI OCB (authored by jukivili).
Optimizations for AES-NI OCB
Nov 20 2018, 8:19 PM
aheinecke created T4265: GPA: Can't create new keys with GPGME 1.12.x.
Nov 20 2018, 8:14 AM · Bug Report, gpg4win, gpa
werner triaged T4263: Pinentry does not support --disable-doc configure option as Normal priority.

Well, that is a detailed bug report. Thanks.

Nov 20 2018, 8:06 AM · pinentry, Bug Report
aheinecke closed T4247: GPG4WIN / Kleopatra (3.1.4) Encrypt file / Decryption fails on Network Associates PGP 6.5.8 as Invalid.

I'm closing this issues as "Invalid" because it is not an issue of Gpg4win. You can still comment and discuss here.

Nov 20 2018, 8:06 AM · gpg4win, Not A Bug
aheinecke added a subtask for T4262: Reading / marking old signed Mails crashes Outlook: T4264: Gpg4win 3.1.6.
Nov 20 2018, 8:04 AM · Bug Report, gpg4win
aheinecke added a parent task for T4264: Gpg4win 3.1.6: T4262: Reading / marking old signed Mails crashes Outlook.
Nov 20 2018, 8:04 AM · Release Info, gpg4win
aheinecke changed the status of T4262: Reading / marking old signed Mails crashes Outlook from Open to Testing.

Ok. If you can confirm that then it means that my analysis is right. Still unexpected to get an error there. I have to do some more tests with Exchange Online but that would be another issue. If this issue is fixed by turning of debugging then it will also be fixed by my patches.

Nov 20 2018, 8:04 AM · Bug Report, gpg4win
aheinecke created T4264: Gpg4win 3.1.6.
Nov 20 2018, 8:03 AM · Release Info, gpg4win

Nov 19 2018

JJworx added a comment to T4262: Reading / marking old signed Mails crashes Outlook.

You are right that Outlook behaves normally if debugging is deactivated.
I had major problems with 3.1.4 and never used it until 3.1.5 came
along, so I guess it might be an existing problem.

Nov 19 2018, 11:12 PM · Bug Report, gpg4win
skalee updated the task description for T4263: Pinentry does not support --disable-doc configure option.
Nov 19 2018, 10:18 PM · pinentry, Bug Report
skalee created T4263: Pinentry does not support --disable-doc configure option.
Nov 19 2018, 10:17 PM · pinentry, Bug Report
aheinecke claimed T4262: Reading / marking old signed Mails crashes Outlook.

While I can't reproduce it myself (because I probably don't have the right mails in my exchange) looking at your log I think that I see the problem there might be an issue with the error handling in openProperty. So for old mails the openProperty probably fails because we have exchange online for that and the property is not yet available in Outlook and then the error is not correctly handled and it crashes.

Nov 19 2018, 3:46 PM · Bug Report, gpg4win
werner awarded T4242: Improper construction for gpg.constants.import in GPGME python bindings a Pterodactyl token.
Nov 19 2018, 12:59 PM · Bug Report
werner committed rMb182838f71d8: core: Fix format string errors in w32-io.c and use of TRACE_SUC. (authored by werner).
core: Fix format string errors in w32-io.c and use of TRACE_SUC.
Nov 19 2018, 12:49 PM
BenM committed rMfd34415bdd57: python: import type (authored by BenM).
python: import type
Nov 19 2018, 11:48 AM
BenM committed rMf773ad392da5: python: import constant (authored by BenM).
python: import constant
Nov 19 2018, 11:48 AM