Page MenuHome GnuPG
Feed All Stories

Jul 5 2018

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
werner added a subtask for T4022: too-large User ID packets result in dropping an entire certificate: T4036: gnupg 2.2.9 release.
Jul 4 2018, 10:17 AM · gnupg, Bug Report
werner committed rG01cd66f9faf1: gpg: Ignore too large user ids during import. (authored by werner).
gpg: Ignore too large user ids during import.
Jul 4 2018, 10:15 AM
werner committed rG60e7e102a153: 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:15 AM
werner claimed T4022: too-large User ID packets result in dropping an entire certificate.
Jul 4 2018, 9:20 AM · gnupg, Bug Report
werner closed T3810: UI workshop as Wontfix.

We didn't found the time to organize it. There will be a OpenPGP summit this fall organized by Patrick, though

Jul 4 2018, 9:19 AM · Documentation, gnupg, UI, Verein
werner added a subtask for T4014: when verifying signatures, gpg and gpgv should ensure signing capabilities: T4036: gnupg 2.2.9 release.
Jul 4 2018, 9:16 AM · gpgv, gnupg, Bug Report
werner added a parent task for T4036: gnupg 2.2.9 release: T4014: when verifying signatures, gpg and gpgv should ensure signing capabilities.
Jul 4 2018, 9:16 AM · Release Info, gnupg
werner added a parent task for T4036: gnupg 2.2.9 release: T4018: gpg --with-colons --show-keys does not show revocation certificates.
Jul 4 2018, 9:15 AM · Release Info, gnupg
werner added a subtask for T4018: gpg --with-colons --show-keys does not show revocation certificates: T4036: gnupg 2.2.9 release.
Jul 4 2018, 9:15 AM · gnupg, Bug Report
werner closed T4018: gpg --with-colons --show-keys does not show revocation certificates as Resolved.

Will be released with 2.2.9

Jul 4 2018, 9:13 AM · gnupg, Bug Report
werner committed rG214b0077264e: gpg: Extra check for sign usage when verifying a data signature. (authored by werner).
gpg: Extra check for sign usage when verifying a data signature.
Jul 4 2018, 9:11 AM
werner committed rGef50fdf82a45: gpg: Extra check for sign usage when verifying a data signature. (authored by werner).
gpg: Extra check for sign usage when verifying a data signature.
Jul 4 2018, 9:11 AM
werner closed T4014: when verifying signatures, gpg and gpgv should ensure signing capabilities as Resolved.

Fix will also go into 2.2.9

Jul 4 2018, 9:10 AM · gpgv, gnupg, Bug Report
aheinecke added a comment to T3999: automatically turn on/offer encryption if recipients' keys are known.

changing to testing is our marker for "done in code but not fully tested / released". It helps to keep an overview of the issues which are "done" for the next release.

Jul 4 2018, 9:09 AM · gpgol, Feature Request
JJworx added a comment to T3999: automatically turn on/offer encryption if recipients' keys are known.

Hi Andre,

Jul 4 2018, 8:51 AM · gpgol, Feature Request
werner added a comment to T4044: HTTP proxy not honoured.

Do you have Tor or the Tor Browser running? Dirmngr will use them instead of a direct or proxy network connection. Di disable this behaviour put

no-use-tor

into dirmngr.conf. If that is not the case we need some more debug info. Put

log-file SOMEFILE
verbose
debug network,dns

into dirmngr.conf and post the log file (or send privately to wk@gnupg.org mentioning T4044 in the subject - no HTML please).

Jul 4 2018, 8:44 AM · Bug Report, gpg4win
aheinecke added a comment to T4038: Kleopatra: Improve handling of MDC errors.

We have two cases:

  1. No MDC with a "modern" cipher algo
Jul 4 2018, 8:33 AM · kleopatra, gpg4win, gpgme
aheinecke changed the status of T3999: automatically turn on/offer encryption if recipients' keys are known from Open to Testing.

This is implemented now and can be turned of in the new config dialog.

Jul 4 2018, 8:17 AM · gpgol, Feature Request
aheinecke changed the status of T4041: Kleopatra: Fix S/MIME file extension for armored files from Open to Testing.

ASCII Armored CMS files now also use p7m and p7s this is already handled gracefully by Kleopatra and does not require us to register new filetypes.

Jul 4 2018, 8:16 AM · gpg4win, kleopatra
gniibe committed rC9660c3fafd73: RFC-8439 was published. (authored by gniibe).
RFC-8439 was published.
Jul 4 2018, 7:27 AM
aheinecke committed rW5934b8a468c5: Update sponsors for first half of 2018 (authored by aheinecke).
Update sponsors for first half of 2018
Jul 4 2018, 7:13 AM

Jul 3 2018

werner raised the priority of T4052: Cannot generate NIST-P or Brainpool-P subkeys without explicitly specifying the algorithm from Wishlist to Low.
Jul 3 2018, 6:27 PM · gnupg, Bug Report
aheinecke added a comment to D463: Add ctx flag for auto-key-locate.

I find this better then a new "KEYLIST_MODE_WKD" as it is more flexible and this flexibility with context flags is currently our thing anyway.

Jul 3 2018, 6:07 PM
tookmund triaged T4052: Cannot generate NIST-P or Brainpool-P subkeys without explicitly specifying the algorithm as Wishlist priority.

This is really minor, just wanted to report it so it did not get forgotten.

Jul 3 2018, 6:06 PM · gnupg, Bug Report
tookmund created T4052: Cannot generate NIST-P or Brainpool-P subkeys without explicitly specifying the algorithm.
Jul 3 2018, 6:05 PM · gnupg, Bug Report
aheinecke created D463: Add ctx flag for auto-key-locate.
Jul 3 2018, 6:03 PM
aheinecke added a revision to T2917: --locate-key should re-fetch key via WKD if it is expired: D463: Add ctx flag for auto-key-locate.
Jul 3 2018, 6:03 PM · gnupg (gpg22), Bug Report
aheinecke committed rO61956b72ebf4: Remove now unused WinAPI dialog resource (authored by aheinecke).
Remove now unused WinAPI dialog resource
Jul 3 2018, 4:35 PM
aheinecke committed rO541333d406df: Change addion-options to use external dialog (authored by aheinecke).
Change addion-options to use external dialog
Jul 3 2018, 4:35 PM
aheinecke committed rGTOd6f0ca99b4d3: First working implementation of the config dialog (authored by aheinecke).
First working implementation of the config dialog
Jul 3 2018, 4:11 PM
aheinecke added a comment to T4048: Wrong/stupid result with decryption of sent maisl when reopening them in the sent-directory in outlook 2007.

I don't think that this was ever working the Outlook 2007 code has been pretty much unchanged since 2013.
According to T1137 a workaround seems to be to enable the S/MIME Support in GpgOL.

Jul 3 2018, 3:13 PM · Bug Report, gpg4win
Togok added a comment to T4048: Wrong/stupid result with decryption of sent maisl when reopening them in the sent-directory in outlook 2007.

Thanks very much for your help! Could you please tell me the latest version, that is running without any mistakes on outlook 2007?

Jul 3 2018, 3:08 PM · Bug Report, gpg4win
aheinecke closed T4048: Wrong/stupid result with decryption of sent maisl when reopening them in the sent-directory in outlook 2007 as Wontfix.

Outlook 2007 is no longer supported. Neither by Microsoft nor by GpgOL. Sorry for that. But the 2010 and later GpgOL had a completely different codebase and we had to remove the support at some point.

Jul 3 2018, 2:30 PM · Bug Report, gpg4win
aheinecke created T4051: Gpg4win: Installer does not kill processes in silent mode.
Jul 3 2018, 2:23 PM · gpg4win
mkrambach committed rMa52ec87d4063: js: fixing Key import/export test (authored by mkrambach).
js: fixing Key import/export test
Jul 3 2018, 12:52 PM
werner closed T1173: gpg has no easy way to view the reason and description of revocation sigs as Resolved.

Backport done. To be released with 2.2.9.

Jul 3 2018, 12:34 PM · gnupg, Debian, Feature Request
werner committed rG04fb76684d8b: gpg: Print revocation reason for "rev" records. (authored by werner).
gpg: Print revocation reason for "rev" records.
Jul 3 2018, 12:33 PM
werner committed rGa8e24addcc4e: gpg: Print revocation reason for "rvs" records. (authored by werner).
gpg: Print revocation reason for "rvs" records.
Jul 3 2018, 12:33 PM
werner committed rG5c67ee160d49: gpg: Let --show-keys print revocation certificates. (authored by werner).
gpg: Let --show-keys print revocation certificates.
Jul 3 2018, 12:33 PM
werner triaged T4050: GnuPG fails to decrypt file encrypted with more than one password with any password but the first as High priority.
Jul 3 2018, 11:38 AM · gnupg (gpg22)
Volker Krause <vkrause@kde.org> committed rKLEOPATRA3fdec6a03369: Remove dead code (authored by Volker Krause <vkrause@kde.org>).
Remove dead code
Jul 3 2018, 8:45 AM
gniibe triaged T4047: Memory leak in function buf_to_sig as Normal priority.

Fixed in master and 2.2 branch.

Jul 3 2018, 2:22 AM · Bug Report
gniibe committed rG2809be1f97a4: g10: Fix memory leak for PKT_signature. (authored by gniibe).
g10: Fix memory leak for PKT_signature.
Jul 3 2018, 2:22 AM
gniibe added a comment to T4047: Memory leak in function buf_to_sig.

I found two more cases. Those are included in the fix.

Jul 3 2018, 2:16 AM · Bug Report
gniibe committed rG996febbab21e: g10: Fix memory leak for PKT_signature. (authored by gniibe).
g10: Fix memory leak for PKT_signature.
Jul 3 2018, 2:16 AM
gniibe closed T3900: Memory leak in check_sig_and_print as Resolved.
Jul 3 2018, 2:14 AM · gnupg (gpg22), Bug Report