Page MenuHome GnuPG
Feed All Stories

Jul 6 2018

werner edited projects for T2917: --locate-key should re-fetch key via WKD if it is expired, added: gnupg (gpg22); removed gnupg.
Jul 6 2018, 9:10 AM · gnupg (gpg22), Bug Report
werner renamed T2917: --locate-key should re-fetch key via WKD if it is expired from wkd discovery should re-fetch key if it is expired to --locate-key should re-fetch key via WKD if it is expired.
Jul 6 2018, 9:09 AM · gnupg (gpg22), Bug Report
werner added a comment to T2917: --locate-key should re-fetch key via WKD if it is expired.

Actually the --locate-key command differs from the implicit use of locate key code when encrypting to a mail address.
After importing the expired key and running for example

Jul 6 2018, 9:08 AM · gnupg (gpg22), Bug Report
werner committed rGb4599a0449ea: gpg: Allow decryption using several passphrases in may cases. (authored by werner).
gpg: Allow decryption using several passphrases in may cases.
Jul 6 2018, 8:38 AM
werner closed T4050: GnuPG fails to decrypt file encrypted with more than one password with any password but the first as Wontfix.

Won't fix for 2.2 or CFB encryption.

Jul 6 2018, 8:37 AM · gnupg (gpg22)
aheinecke committed rKLEOPATRA554d5150cac6: Update list of supported smartcards (authored by aheinecke).
Update list of supported smartcards
Jul 6 2018, 8:22 AM
aheinecke added a reverting change for rKLEOPATRAe609c1782ee8: Allow NetKey cards with Version 15: rKLEOPATRAabc85a254444: Revert "Allow NetKey cards with Version 15".
Jul 6 2018, 8:22 AM
aheinecke committed rKLEOPATRAabc85a254444: Revert "Allow NetKey cards with Version 15" (authored by aheinecke).
Revert "Allow NetKey cards with Version 15"
Jul 6 2018, 8:22 AM
aheinecke committed rWc62ad0e96d98: web: Change a sponsor name on request (authored by aheinecke).
web: Change a sponsor name on request
Jul 6 2018, 8:13 AM
werner added a comment to T4050: GnuPG fails to decrypt file encrypted with more than one password with any password but the first.

My bad. I looked at the wrong working copy. Will pick that commit.

Jul 6 2018, 7:55 AM · gnupg (gpg22)
gniibe added a parent task for T4036: gnupg 2.2.9 release: T4050: GnuPG fails to decrypt file encrypted with more than one password with any password but the first.
Jul 6 2018, 6:59 AM · Release Info, gnupg
gniibe added a subtask for T4050: GnuPG fails to decrypt file encrypted with more than one password with any password but the first: T4036: gnupg 2.2.9 release.
Jul 6 2018, 6:59 AM · gnupg (gpg22)
gniibe added a comment to T4050: GnuPG fails to decrypt file encrypted with more than one password with any password but the first.

No, it is your fix: rG278d87465685: gpg: Clear the symmetric passphrase cache for encrypted session keys..
Please cherry pick it to 2.2 branch.

Jul 6 2018, 6:58 AM · gnupg (gpg22)
BenM added a comment to T3813: GPGME error: "invalid crypto engine" in the MSYS2 version.

Slight addendum: MSYS2 isn't even part of MinGW at all, see the commentary in this bug report. Nor is it a part of Cygwin, but apparently it is a part of a fork of Cygwin.

Jul 6 2018, 4:23 AM · Python, gpgme, Bug Report
BenM closed T3813: GPGME error: "invalid crypto engine" in the MSYS2 version as Wontfix.

Not only is this not supported, but I've now confirmed that MSYS2 isn't even supported by its own project and they direct all downloaders to their MinGW-get installer.

Jul 6 2018, 3:47 AM · Python, gpgme, Bug Report

Jul 5 2018

werner closed T4046: GnuPG fails to verify signatures that have a issuer fingerprint but no issuer subpacket as Resolved.

Thanks. The entire getkey.c code better needs a complete overhaul for before we add v5 keys.

Jul 5 2018, 9:57 PM · gnupg (gpg22)
werner committed rG833738a31697: po: Add flag options for xgettext. (authored by werner).
po: Add flag options for xgettext.
Jul 5 2018, 9:54 PM
werner committed rG221af19351ad: gpg: Prepare for signatures with ISSUER_FPR but without ISSUER. (authored by werner).
gpg: Prepare for signatures with ISSUER_FPR but without ISSUER.
Jul 5 2018, 9:54 PM
werner committed rGcb71573f3762: po: Add flag options for xgettext. (authored by werner).
po: Add flag options for xgettext.
Jul 5 2018, 9:48 PM
werner committed rGf7526c7bc754: gpg: Prepare for signatures with ISSUER_FPR but without ISSUER. (authored by werner).
gpg: Prepare for signatures with ISSUER_FPR but without ISSUER.
Jul 5 2018, 9:04 PM
werner claimed T4046: GnuPG fails to verify signatures that have a issuer fingerprint but no issuer subpacket.
Jul 5 2018, 5:24 PM · gnupg (gpg22)
werner accepted D463: Add ctx flag for auto-key-locate.
Jul 5 2018, 5:23 PM
werner lowered the priority of T3101: GnuPG 2.2 cannot import secret keys from 1.4/2.0's secring.gpg directly (if it is expired by original expiration date) from High to Normal.

We have a workaround thus lowering the priority.

Jul 5 2018, 5:07 PM · workaround, gnupg, Bug Report
werner updated subscribers of T4050: GnuPG fails to decrypt file encrypted with more than one password with any password but the first.

It seems @gniibe fixed that en-passant in master. At least I can only replicate this with 2.2.

Jul 5 2018, 4:57 PM · gnupg (gpg22)
aheinecke added a comment to T4036: gnupg 2.2.9 release.

Ok yeah. I can aim for a Gpg4win for next week, too.

Jul 5 2018, 4:49 PM · Release Info, gnupg
aheinecke added a project to T4029: Gpg4win 3.1.3: Release Info.
Jul 5 2018, 4:48 PM · Release Info, gpg4win
werner added a comment to T4036: gnupg 2.2.9 release.

next week?

Jul 5 2018, 4:48 PM · Release Info, gnupg
aheinecke added a comment to T4036: gnupg 2.2.9 release.

What is the ETA for 2.2.9?

Jul 5 2018, 4:48 PM · Release Info, gnupg
aheinecke added a parent task for T4029: Gpg4win 3.1.3: T3238: kleopatra uses short key ids.
Jul 5 2018, 4:44 PM · Release Info, gpg4win
aheinecke added a subtask for T3238: kleopatra uses short key ids: T4029: Gpg4win 3.1.3.
Jul 5 2018, 4:44 PM · kleopatra
aheinecke removed a parent task for T3238: kleopatra uses short key ids: T4029: Gpg4win 3.1.3.
Jul 5 2018, 4:43 PM · kleopatra
aheinecke removed a subtask for T4029: Gpg4win 3.1.3: T3238: kleopatra uses short key ids.
Jul 5 2018, 4:43 PM · Release Info, gpg4win
aheinecke added a subtask for T4036: gnupg 2.2.9 release: T4029: Gpg4win 3.1.3.
Jul 5 2018, 4:42 PM · Release Info, gnupg
aheinecke added a parent task for T4029: Gpg4win 3.1.3: T4036: gnupg 2.2.9 release.
Jul 5 2018, 4:42 PM · Release Info, gpg4win
aheinecke renamed T4029: Gpg4win 3.1.3 from Gpg4win 3.2.0 to Gpg4win 3.1.3.
Jul 5 2018, 4:42 PM · Release Info, gpg4win
aheinecke added a subtask for T4029: Gpg4win 3.1.3: T3238: kleopatra uses short key ids.
Jul 5 2018, 4:40 PM · Release Info, gpg4win
aheinecke added a parent task for T3238: kleopatra uses short key ids: T4029: Gpg4win 3.1.3.
Jul 5 2018, 4:40 PM · kleopatra
aheinecke closed T3238: kleopatra uses short key ids as Resolved.

Finally changed it. Especially for keyserver search this was important.

Jul 5 2018, 4:40 PM · kleopatra
aheinecke committed rKLEOPATRA8b88c11f4259: Use the new Formatting::prettyID in more places (authored by aheinecke).
Use the new Formatting::prettyID in more places
Jul 5 2018, 4:40 PM
aheinecke committed rKLEOPATRAf76ded8c6f61: Fix lookup dlg by porting it to keytreeview (authored by aheinecke).
Fix lookup dlg by porting it to keytreeview
Jul 5 2018, 4:34 PM
aheinecke committed rKLEOPATRAe605647a15bb: Remove spurious qDebug (authored by aheinecke).
Remove spurious qDebug
Jul 5 2018, 4:34 PM
aheinecke committed rKLEOPATRAa63f57ec316a: Use long KeyID in keyTreeView's (authored by aheinecke).
Use long KeyID in keyTreeView's
Jul 5 2018, 4:34 PM
aheinecke committed rKLEOPATRAe609c1782ee8: Allow NetKey cards with Version 15 (authored by aheinecke).
Allow NetKey cards with Version 15
Jul 5 2018, 4:34 PM
aheinecke committed rW514187fb2f54: web: make note of a mkportable problem (authored by aheinecke).
web: make note of a mkportable problem
Jul 5 2018, 2:27 PM
aheinecke created T4055: mkportable fails with unhelpful error if the path is not at least 4 chars long.
Jul 5 2018, 2:06 PM · gpg4win
aheinecke committed rKLEOPATRA147e3c977465: Handle upcoming "diagnostics" log from GPGME (authored by aheinecke).
Handle upcoming "diagnostics" log from GPGME
Jul 5 2018, 12:51 PM
aheinecke committed rKLEOPATRA27a22d3b78eb: Add new column in subkey details to mark primary (authored by aheinecke).
Add new column in subkey details to mark primary
Jul 5 2018, 12:51 PM
aheinecke committed rM66c2a99422dd: qt: Handle OpenPGP Diagnostic log (authored by aheinecke).
qt: Handle OpenPGP Diagnostic log
Jul 5 2018, 11:32 AM
aheinecke committed rM629afebe5017: cpp: Add enum mapping for GPGME_AUDIT_LOG_DIAG (authored by aheinecke).
cpp: Add enum mapping for GPGME_AUDIT_LOG_DIAG
Jul 5 2018, 11:32 AM
aheinecke committed rMa2458806f8bf: core: Add gpg auditlog to get diagnostics (authored by aheinecke).
core: Add gpg auditlog to get diagnostics
Jul 5 2018, 11:32 AM
werner committed rG9ea9b9db7e1b: doc: Typo fix in a comment. (authored by werner).
doc: Typo fix in a comment.
Jul 5 2018, 9:50 AM
werner committed rGfaf3c70c7715: tools: Add experimental code for a pairing protocol (authored by werner).
tools: Add experimental code for a pairing protocol
Jul 5 2018, 9:50 AM
werner committed rE1ac63f630cbe: Remove leftover debug output from gpg-error. (authored by werner).
Remove leftover debug output from gpg-error.
Jul 5 2018, 9:21 AM
werner committed rE8a72604dc44d: po: Update Ukrainian translation. (authored by Yuri Chornoivan <yurchor@ukr.net>).
po: Update Ukrainian translation.
Jul 5 2018, 9:21 AM
werner added a comment to rEfe2f8fca3114: core: Initialize values in estream_format.

The comment is a bit misleading. It does not fix the crash because it all depends on the stack layout: printf takes the args from the stack and if there are not enough args pushed by the caller printf happily uses args which are the local vars from our printf function. Clearing a few vars there seems to have the effect that the args for the "%s" now points to a NULL. In fact you can't fix such crashes with any stdarg function on any platform I know. That is why gcc as a couple of helpful attributes to detect misuse of stdarg args at compile time (e.g. sentinel, printf).

Jul 5 2018, 9:20 AM
aheinecke committed rEfe2f8fca3114: core: Initialize values in estream_format (authored by aheinecke).
core: Initialize values in estream_format
Jul 5 2018, 9:13 AM
werner added a comment to T4022: too-large User ID packets result in dropping an entire certificate.

It won't import that keyblock. We can fixup some trivial cases but there will always be ways to create a garbled keyblock and that is nothing we can fix. Better restore the keyblock from a backup or write a dedicated tool fsck-like tool.

Jul 5 2018, 9:04 AM · gnupg, Bug Report
aheinecke closed T4054: libgpg-error, w32: logging crashes on unmatched %s on window as Resolved.

IMO this can be closed. At least the problem for which I intended this ticket is fixed.

Jul 5 2018, 8:56 AM · Windows, gpgrt
aheinecke abandoned D465: Fix uninitialized access to valutable_buffer.

I agree that the underlying problem is something else but I also think that if a function can avoid a crash on bad input it should try to do so (or at least assert).

Jul 5 2018, 8:54 AM
aheinecke closed T3738: Kleopatra: Key text export should contain information about subkeys as Wontfix.

I'm going for Wontfix here. It's just too verbose and I don't really see the point of that additional information.

Jul 5 2018, 8:22 AM · kleopatra
BenM added a comment to T3505: Port GPGME's Python bindings to Windows.

Though a CFFI/ABI solution may be the only option, it would still be preferable to get SWIG working under Windows. The reasons for this are many, but not least of which would include not needing to duplicate effort to accommodate Windows, no functionality mismatch due to using the Windows version and not needing to implement every function manually since CFFI can't generate low level bindings the same way that SWIG does.

Jul 5 2018, 8:15 AM · Feature Request, gpgme, Python

Jul 4 2018

stm added a comment to T4022: too-large User ID packets result in dropping an entire certificate.

What happens, if other bad packets beside PKT_USER_ID, PKT_ATTRIBUTE, PKT_OLD_COMMENT, and PKT_COMMENT are found?

Jul 4 2018, 9:56 PM · gnupg, Bug Report
werner added a comment to T4054: libgpg-error, w32: logging crashes on unmatched %s on window.

Printing "(null)" is just coincidence because NULL is stored at the respective stack address on one platform.

Jul 4 2018, 8:04 PM · Windows, gpgrt
werner added a comment to D465: Fix uninitialized access to valutable_buffer.

The patch fixes a symptom of wrong format specs usage. What happens with %s with no supplied arg depends on the platform and what is currently on the stack. So it will always be incorrect and you can't do anything about it except for letting the gettext tools checking the PO files for correct format specifier usage. In the english version gcc does the check.

Jul 4 2018, 7:59 PM
aheinecke reassigned T4054: libgpg-error, w32: logging crashes on unmatched %s on window from aheinecke to werner.

Well I'm pretty sure the reason is that valuetable_buffer is not inialized in _gpgrt_estream_format. But the resulting behavior confused me. It would not crash. But it would also not print "gpg: Entschlüsselung als fehlgeschlagen angesehen: (null)" It would just print nothing instead of that string.

Jul 4 2018, 6:26 PM · Windows, gpgrt
aheinecke created D465: Fix uninitialized access to valutable_buffer.
Jul 4 2018, 6:24 PM
aheinecke added a revision to T4054: libgpg-error, w32: logging crashes on unmatched %s on window: D465: Fix uninitialized access to valutable_buffer.
Jul 4 2018, 6:24 PM · Windows, gpgrt
aheinecke renamed T4054: libgpg-error, w32: logging crashes on unmatched %s on window from libgpg-error: w32 gettext crashes on unmatched %s in translation to libgpg-error, w32: logging crashes on unmatched %s on window.
Jul 4 2018, 6:06 PM · Windows, gpgrt
fritzle added a comment to T4053: gpg.exe 2.2.8.52634 crashes in msvcrt.dll.

Thank you for your prompt response and your suggestion for a workaround.

Jul 4 2018, 6:04 PM · i18n, gnupg, gpg4win, Bug Report
aheinecke committed rG063cf45c142f: po: Fix bug in german translation (authored by aheinecke).
po: Fix bug in german translation
Jul 4 2018, 5:58 PM
aheinecke added a parent task for T4036: gnupg 2.2.9 release: T4053: gpg.exe 2.2.8.52634 crashes in msvcrt.dll.
Jul 4 2018, 5:58 PM · Release Info, gnupg
aheinecke added a subtask for T4053: gpg.exe 2.2.8.52634 crashes in msvcrt.dll: T4036: gnupg 2.2.9 release.
Jul 4 2018, 5:58 PM · i18n, gnupg, gpg4win, Bug Report
aheinecke changed the status of T4053: gpg.exe 2.2.8.52634 crashes in msvcrt.dll from Open to Testing.

Got it. The reason was a broken translation. I've opened T4054 to fix in general that broken translations can cause crashes.

Jul 4 2018, 5:57 PM · i18n, gnupg, gpg4win, Bug Report
aheinecke created T4054: libgpg-error, w32: logging crashes on unmatched %s on window.
Jul 4 2018, 5:50 PM · Windows, gpgrt
aheinecke added a comment to T4053: gpg.exe 2.2.8.52634 crashes in msvcrt.dll.

I can reproduce it with a german windows

Jul 4 2018, 5:34 PM · i18n, gnupg, gpg4win, Bug Report
aheinecke triaged T4053: gpg.exe 2.2.8.52634 crashes in msvcrt.dll as High priority.

Thank you for your detailed report!

Jul 4 2018, 5:28 PM · i18n, gnupg, gpg4win, Bug Report
aheinecke added inline comments to rKLEOPATRA9e5fa86561ae: Handle no MDC for legacy algos gracefully.
Jul 4 2018, 4:34 PM
aheinecke committed rKLEOPATRA349d0338c413: Clarify i18n comment (authored by aheinecke).
Clarify i18n comment
Jul 4 2018, 4:34 PM
aheinecke added inline comments to rKLEOPATRA9e5fa86561ae: Handle no MDC for legacy algos gracefully.
Jul 4 2018, 4:29 PM
mkrambach committed rM10f2106404f0: js: properly reject pgp message without signature (authored by mkrambach).
js: properly reject pgp message without signature
Jul 4 2018, 3:48 PM
aheinecke created D464: core: Add gpg auditlog to get diagnostics.
Jul 4 2018, 3:45 PM
fritzle created T4053: gpg.exe 2.2.8.52634 crashes in msvcrt.dll.
Jul 4 2018, 3:35 PM · i18n, gnupg, gpg4win, Bug Report
werner added inline comments to rKLEOPATRA9e5fa86561ae: Handle no MDC for legacy algos gracefully.
Jul 4 2018, 2:13 PM
mkrambach committed rM1919fa41b6da: js: Add jsdoc, update webpack-cli dependency (authored by mkrambach).
js: Add jsdoc, update webpack-cli dependency
Jul 4 2018, 1:38 PM
aheinecke committed rKLEOPATRA9e5fa86561ae: Handle no MDC for legacy algos gracefully (authored by aheinecke).
Handle no MDC for legacy algos gracefully
Jul 4 2018, 12:38 PM
aheinecke committed rKLEOPATRAb176527193f1: Improve error handling for decrypt/verify (authored by aheinecke).
Improve error handling for decrypt/verify
Jul 4 2018, 12:38 PM
aheinecke committed rKLEOPATRAb9b56973d17d: Replace Q_FOREACH in decverifyfilesdialog (authored by aheinecke).
Replace Q_FOREACH in decverifyfilesdialog
Jul 4 2018, 12:38 PM
aheinecke committed rKLEOPATRA012e78866c40: Don't show message box for task errors (authored by aheinecke).
Don't show message box for task errors
Jul 4 2018, 12:38 PM
aheinecke committed rKLEOPATRA44036abe96f9: Make recipients look better (authored by aheinecke).
Make recipients look better
Jul 4 2018, 12:38 PM
aheinecke added a parent task for T4029: Gpg4win 3.1.3: T4038: Kleopatra: Improve handling of MDC errors.
Jul 4 2018, 12:31 PM · Release Info, gpg4win
aheinecke added a subtask for T4038: Kleopatra: Improve handling of MDC errors: T4029: Gpg4win 3.1.3.
Jul 4 2018, 12:31 PM · kleopatra, gpg4win, gpgme
aheinecke changed the status of T4038: Kleopatra: Improve handling of MDC errors from Open to Testing.

Now we have this:

Jul 4 2018, 12:31 PM · kleopatra, gpg4win, gpgme
aheinecke committed rM7d65dc2a5c4f: cpp: Fix memory of DecryptionResult::symkeyAlgo (authored by aheinecke).
cpp: Fix memory of DecryptionResult::symkeyAlgo
Jul 4 2018, 12:18 PM
mkrambach committed rM1105fc87a3bd: js: add Key lookup (authored by mkrambach).
js: add Key lookup
Jul 4 2018, 12:13 PM
aheinecke committed rM76b847091593: json: Add keylist mode locate (authored by aheinecke).
json: Add keylist mode locate
Jul 4 2018, 11:19 AM
BenM added a member for Python: BenM.
Jul 4 2018, 10:55 AM
werner closed T4022: too-large User ID packets result in dropping an entire certificate as Resolved.

Fixed for master and 2.2.9.

Jul 4 2018, 10:19 AM · gnupg, Bug Report
werner committed rGcb6b925f94b4: gpg: Ignore too large user ids during import. (authored by werner).
gpg: Ignore too large user ids during import.
Jul 4 2018, 10:19 AM
werner committed rG5b47b4613221: indent: Fix indentation of read_block in g10/import.c (authored by werner).
indent: Fix indentation of read_block in g10/import.c
Jul 4 2018, 10:19 AM
werner added a parent task for T4036: gnupg 2.2.9 release: T4022: too-large User ID packets result in dropping an entire certificate.
Jul 4 2018, 10:17 AM · Release Info, gnupg