Page MenuHome GnuPG
Feed All Stories

Jun 1 2018

aheinecke committed rMd46768c96082: cpp: Add legacy_cipher_nomdc (authored by aheinecke).
cpp: Add legacy_cipher_nomdc
Jun 1 2018, 11:12 AM
aheinecke committed rM00b027af86f3: cpp: Add gpgme_(get)set_ctx_flag (authored by aheinecke).
cpp: Add gpgme_(get)set_ctx_flag
Jun 1 2018, 11:12 AM
aheinecke committed rOa193ad36f82e: Show error status on syserror verify (authored by aheinecke).
Show error status on syserror verify
Jun 1 2018, 10:42 AM
aheinecke committed rOb2ed39c55af2: Block HTML for unsigned S/MIME messages (authored by aheinecke).
Block HTML for unsigned S/MIME messages
Jun 1 2018, 10:42 AM
aheinecke closed T3998: moving signed or encrypted mails in Outlook fails as Invalid.

Thanks for your report, but as JJworx already said this is sadly one of the known issues to which we don't yet have a good idea how to fix it. In T3459 there is an animation what is meant by "unselecting" the mails.

Jun 1 2018, 9:26 AM · Duplicate, gpgol, Bug Report, gpg4win
aheinecke claimed T3999: automatically turn on/offer encryption if recipients' keys are known.

Yes, this is actually pretty high on the wishlist but AFAIK there was not yet a task for this.

Jun 1 2018, 9:23 AM · gpgol, Feature Request
werner added a comment to T3714: Failing to decrypt due to missing MDC.

I justed commited some gadgets to gpgme which might be helpful But please show warnings etc before you use that new option.

Jun 1 2018, 1:51 AM · FAQ, kleopatra
werner committed rM662604c5bcb4: core: New context flag "ignore-mdc-error". (authored by werner).
core: New context flag "ignore-mdc-error".
Jun 1 2018, 1:37 AM
werner committed rMdd19cabe81b7: core: New decryption result flag 'legacy_cipher_nomdc'. (authored by werner).
core: New decryption result flag 'legacy_cipher_nomdc'.
Jun 1 2018, 1:37 AM
werner committed rMe2aa38b56a99: core: Remove cruft from the engine-gpg code. (authored by werner).
core: Remove cruft from the engine-gpg code.
Jun 1 2018, 12:23 AM
werner committed rM2219fc19d58a: core: Minor cleanup in engine-gpg and -gpgsm. (authored by werner).
core: Minor cleanup in engine-gpg and -gpgsm.
Jun 1 2018, 12:23 AM

May 31 2018

werner added projects to T4003: Trusted-certs folder not being taken into account where System folders are read: S/MIME, dirmngr.
May 31 2018, 7:35 PM · dirmngr, S/MIME, Bug Report
werner renamed T3983: GPGME: Improve handling of MDC errors (wrong error code) from GPGME: Improve handling of MDC errors to GPGME: Improve handling of MDC errors (wrong error code).
May 31 2018, 1:27 PM · gpgme
werner added a comment to T3986: GpgOL: Mitigate manipulations of encrypted S/MIME mails.

There won't be anything without MDC in 2.2.8 anymore.

May 31 2018, 1:26 PM · gpg4win, gpgol
werner closed T3981: MDC failures should always trigger fatal error as Resolved.

In addition GnuPG master and 2.2.8 now always create MDC messages (except with option --rfc2440) and always fail for messages without an MDC. For old algorithms a hint is printed:

gpg: WARNING: message was not integrity protected
gpg: Hint: If this message was created before the year 2003 it is
     likely that this message is legitimate.  This is because back
     then integrity protection was not widely used.
gpg: Use the option '--ignore-mdc-error' to decrypt anyway.
gpg: decryption forced to fail!
May 31 2018, 1:23 PM · Bug Report
werner closed T4000: GnuPG does not check encrypted messages for well-formed composition as Resolved.
May 31 2018, 1:14 PM · gnupg (gpg22), Bug Report
werner committed rG825909e9cd5f: gpg: Print a hint on how to decrypt a non-mdc message anyway. (authored by werner).
gpg: Print a hint on how to decrypt a non-mdc message anyway.
May 31 2018, 1:13 PM
werner committed rG874e39166540: gpg: Print a hint on how to decrypt a non-mdc message anyway. (authored by werner).
gpg: Print a hint on how to decrypt a non-mdc message anyway.
May 31 2018, 1:11 PM
werner committed rG2f2b1d1da949: gpg: Detect multiple literal plaintext packets more reliable. (authored by werner).
gpg: Detect multiple literal plaintext packets more reliable.
May 31 2018, 12:21 PM
werner committed rG866667765f38: gpg: Remove MDC options (authored by werner).
gpg: Remove MDC options
May 31 2018, 12:21 PM
werner committed rG3db1b48a2da4: gpg: Hard fail on a missing MDC even for legacy algorithms. (authored by werner).
gpg: Hard fail on a missing MDC even for legacy algorithms.
May 31 2018, 12:21 PM
werner committed rG26c0d3a3fc90: gpg: Turn --no-mdc-warn into a NOP. (authored by werner).
gpg: Turn --no-mdc-warn into a NOP.
May 31 2018, 12:21 PM
aheinecke committed rW32a4a65f78ff: Add gpg4win-professional key to WKD (authored by aheinecke).
Add gpg4win-professional key to WKD
May 31 2018, 10:13 AM

May 30 2018

werner committed rGd3d41146b330: gpg: Ignore the multiple message override options. (authored by werner).
gpg: Ignore the multiple message override options.
May 30 2018, 10:15 PM
werner committed rG97183b5c0fae: gpg: Detect multiple literal plaintext packets more reliable. (authored by werner).
gpg: Detect multiple literal plaintext packets more reliable.
May 30 2018, 10:15 PM
werner edited projects for T4000: GnuPG does not check encrypted messages for well-formed composition, added: gnupg (gpg22); removed gpgme.

I need to revise my statement (partly because fixing gpgme would be quite complicated). Marcus is right in that using the the literals_seen counter is the straightforward way to get this right. And it will fix it also for non-GPGME applications.

May 30 2018, 9:51 PM · gnupg (gpg22), Bug Report
werner triaged T4000: GnuPG does not check encrypted messages for well-formed composition as High priority.

[We do things in the public unless explicitly requested by a bug reporter writing to security.]

May 30 2018, 8:48 PM · gnupg (gpg22), Bug Report
werner changed the visibility for T4000: GnuPG does not check encrypted messages for well-formed composition.
May 30 2018, 8:34 PM · gnupg (gpg22), Bug Report
patrick updated subscribers of T4000: GnuPG does not check encrypted messages for well-formed composition.
May 30 2018, 6:08 PM · gnupg (gpg22), Bug Report
patrick added a comment to T4000: GnuPG does not check encrypted messages for well-formed composition.

I have changed visibility of the bug, as I think you can do a lot more with this than Marcus imagined.

May 30 2018, 6:04 PM · gnupg (gpg22), Bug Report
patrick changed the visibility for T4000: GnuPG does not check encrypted messages for well-formed composition.
May 30 2018, 5:58 PM · gnupg (gpg22), Bug Report
werner committed rE043a91b8cd4b: po: Update Russian translation. (authored by Ineiev <ineiev@gnu.org>).
po: Update Russian translation.
May 30 2018, 5:29 PM
werner committed rE3eee9efc46f9: core: Fix problem with C11 and stdnoreturn.h. (authored by werner).
core: Fix problem with C11 and stdnoreturn.h.
May 30 2018, 5:24 PM
werner added a comment to T4002: gpg-error.h uses c11 reserved word "noreturn".

Do you have a need for doing a new release immediately?

May 30 2018, 5:23 PM · Bug Report
werner changed the status of T4002: gpg-error.h uses c11 reserved word "noreturn" from Open to Testing.
May 30 2018, 5:22 PM · Bug Report
mkrambach committed rM332b4adbcc52: js: more Keyring/Key handling (authored by mkrambach).
js: more Keyring/Key handling
May 30 2018, 5:06 PM
wltjr added a comment to T2905: EFL-based pinentry.

@gouttegd Thank you very much!

May 30 2018, 3:32 PM · pinentry, Feature Request
gouttegd closed T2905: EFL-based pinentry as Resolved.

Following in-person discussion with @werner last week, I have now added this EFL pinentry to the master branch of pinentry (commit 948105b).

May 30 2018, 12:42 PM · pinentry, Feature Request
werner created T4004: Curve25519 for Zeitcontrol card.
May 30 2018, 12:15 PM · Feature Request, scd
werner added a comment to T3997: After tampering, a file still decrypts and returns incorrect plaintext, rather than giving an error.

The set of information returned by gpg is too large to be mapped on an exit code. Thus we have status codes and the gpgv tool.

May 30 2018, 11:50 AM · Bug Report
werner added a project to T3998: moving signed or encrypted mails in Outlook fails: gpgol.
May 30 2018, 11:44 AM · Duplicate, gpgol, Bug Report, gpg4win
werner added a project to T3999: automatically turn on/offer encryption if recipients' keys are known: gpgol.
May 30 2018, 11:43 AM · gpgol, Feature Request
marcus added a comment to T4000: GnuPG does not check encrypted messages for well-formed composition.

The impact is low to our current understanding, that's why I didn't report it as a security vulnerability. I tried to use this for signatures, but GnuPG has more verification for signatures, so it doesn't work there as far as I can see. So that's good.
If you allow for a BADMDC, you can easily downgrade the content of an encrypted data packet from, for example, compressed to private packet type, and then you don't even need the public key, just an encrypted message. The MDC will notice this, and since Efail the clients should have strict MDC checking, so I didn't include that variation in my report.
By the way, there are other clients I didn't test which are probably affected, such as kmail, claws, gpgtools.
I only have Outlook 2007 and no funds to buy software I don't use, as I am unemployed and using up my savings. So, next time I won't be able to do the testing, sorry!

May 30 2018, 10:34 AM · gnupg (gpg22), Bug Report
aheinecke added a comment to T4000: GnuPG does not check encrypted messages for well-formed composition.

Can you help me understand what the impact of this is? AFAIK Back in 2007 the problem was that it could be faked that data looked like it was signed.

May 30 2018, 9:53 AM · gnupg (gpg22), Bug Report
werner triaged T4002: gpg-error.h uses c11 reserved word "noreturn" as High priority.

Oh dear, adding new keywords which have not been reserved in the past was a bad idea by C11. This will eventually require fixes at lot of places because the noreturn attribute is widely used ( other common headers may include the noreturn header as well).

May 30 2018, 8:40 AM · Bug Report
gouttegd committed rP948105b7a34e: efl: Add an EFL-based pinentry. (authored by William L. Thomson Jr <wlt@o-sinc.com>).
efl: Add an EFL-based pinentry.
May 30 2018, 3:22 AM
BenM committed rMfd4226429d92: examples: exporting keys (authored by BenM).
examples: exporting keys
May 30 2018, 1:21 AM
BenM committed rM93bdf4b50aca: examples: python bindings (authored by BenM).
examples: python bindings
May 30 2018, 1:21 AM

May 29 2018

dkg added a comment to T3277: decrypting data symmetrically doesn't reliably convey confidentiality property.

@werner, what protocol design rule do you think is not being followed specifically?

May 29 2018, 11:31 PM · Feature Request, gnupg (gpg22)
tookmund updated the task description for T4001: Import and Export for python bindings.
May 29 2018, 9:37 PM · gpgme, patch, Python, Feature Request
tookmund updated the task description for T4001: Import and Export for python bindings.
May 29 2018, 9:36 PM · gpgme, patch, Python, Feature Request
eoincreedon_gmail.com created T4003: Trusted-certs folder not being taken into account where System folders are read.
May 29 2018, 6:49 PM · dirmngr, S/MIME, Bug Report
slandden updated the task description for T4002: gpg-error.h uses c11 reserved word "noreturn".
May 29 2018, 6:35 PM · Bug Report
slandden created T4002: gpg-error.h uses c11 reserved word "noreturn".
May 29 2018, 6:34 PM · Bug Report
tookmund added a project to T4001: Import and Export for python bindings: gpgme.
May 29 2018, 5:27 PM · gpgme, patch, Python, Feature Request
luc added a comment to T3997: After tampering, a file still decrypts and returns incorrect plaintext, rather than giving an error.

The primary function of those other tools is not securely encrypting data. If the message is too large to keep in memory at once, then there is indeed no choice to process it as a stream, but users should be aware of this. Perhaps a flag can be used, along the lines of --stream-without-verification? The man page could explain: "GPG computes an MDC over the whole message, so it can only check at the end whether the message was tampered with. This flag can be used to stream the output, so that the entire message does not have to be kept in memory. You must check the exit status to verify that decryption was successful and that the message was not tampered with, because with this flag, the data returned by GPG may be incorrect or even malicious. If the exit status is zero, then the MDC is correct and the message was not tampered with."

May 29 2018, 5:13 PM · Bug Report
dkg committed rE619abb6211e8: po: More Spanish translations. (authored by emma peel <emmapeel@aktivix.org>).
po: More Spanish translations.
May 29 2018, 5:12 PM
tookmund created T4001: Import and Export for python bindings.
May 29 2018, 5:08 PM · gpgme, patch, Python, Feature Request
patrick added a comment to T4000: GnuPG does not check encrypted messages for well-formed composition.

This looks similar to the "multiple plaintext" issue that we had in Feb. / March 2007.

May 29 2018, 4:18 PM · gnupg (gpg22), Bug Report
wojnilowicz added a comment to T3996: Undefined reference to GpgME::Data::seek(long, int) on MinGW.

Maybe the off_t mess comes from following line

May 29 2018, 3:05 PM · Windows, C++, gpgme, Bug Report
marcus added a comment to T4000: GnuPG does not check encrypted messages for well-formed composition.

I would also recommend that GPGME does a sanity check on the status fd output for people with new GPGME but old GnuPG binary.

May 29 2018, 1:55 PM · gnupg (gpg22), Bug Report
marcus created T4000: GnuPG does not check encrypted messages for well-formed composition.
May 29 2018, 1:34 PM · gnupg (gpg22), Bug Report
NTSIMM added a comment to T3998: moving signed or encrypted mails in Outlook fails.

Sadly deselecting a mail doesn't help always. Most of the time I cannot move the mails even then. So the only reliable workaround is to deactivate the Addin - what cannot be the goal, at least it is not mine ;-).

May 29 2018, 1:23 PM · Duplicate, gpgol, Bug Report, gpg4win
werner committed rGb2c05d691247: gpg: Remove PGP6 compliance mode. (authored by werner).
gpg: Remove PGP6 compliance mode.
May 29 2018, 1:09 PM
werner committed rGa042799c8697: doc: Add a hint about gpgsm and DECRYPTION_INFO. (authored by werner).
doc: Add a hint about gpgsm and DECRYPTION_INFO.
May 29 2018, 12:56 PM
werner committed rG253e8bdd9014: gpg: Remove MDC options (authored by werner).
gpg: Remove MDC options
May 29 2018, 12:56 PM
werner committed rGaf4a5dbe575f: gpg: Fix detection of the AEAD feature flag. (authored by werner).
gpg: Fix detection of the AEAD feature flag.
May 29 2018, 12:56 PM
JJworx updated the task description for T3999: automatically turn on/offer encryption if recipients' keys are known.
May 29 2018, 12:56 PM · gpgol, Feature Request
JJworx created T3999: automatically turn on/offer encryption if recipients' keys are known.
May 29 2018, 12:55 PM · gpgol, Feature Request
JJworx added a comment to T3998: moving signed or encrypted mails in Outlook fails.

This is well-known and can't be changed without a lot of hassle. There is a work-around:

  • Deselect the mail by selecting another mail.
  • Drag-n-drop the mail to be moved.
May 29 2018, 12:45 PM · Duplicate, gpgol, Bug Report, gpg4win
NTSIMM created T3998: moving signed or encrypted mails in Outlook fails.
May 29 2018, 12:29 PM · Duplicate, gpgol, Bug Report, gpg4win
Laurent Montel <montel@kde.org> committed rKLEOPATRA8c50dae40ced: GIT_SILENT: Prepare 5.8.2 (authored by Laurent Montel <montel@kde.org>).
GIT_SILENT: Prepare 5.8.2
May 29 2018, 9:33 AM
aheinecke changed the status of T3996: Undefined reference to GpgME::Data::seek(long, int) on MinGW from Open to Testing.

The gpgme c api already had a convenience function gpgme_data_rewind to do data.seek (0, SEEK_SET); As this is by far the most common seek operation. KMymoney also only uses such seeks.

May 29 2018, 9:29 AM · Windows, C++, gpgme, Bug Report
aheinecke committed rM618aa7f08db4: cpp: Add gpgme_data_rewind to cpp API (authored by aheinecke).
cpp: Add gpgme_data_rewind to cpp API
May 29 2018, 9:21 AM
werner closed T3997: After tampering, a file still decrypts and returns incorrect plaintext, rather than giving an error as Invalid.

Sorry. gpg is a real software and not some memory hog. real software runs under Unix and complies with the Unix rules, where one of them is to allow the use in a pipeline. All standard Unix tools have this feature and you need to check the error code ("set -e" in the simplest case). It is not different from gzip, tar, curl, rsync, ...

May 29 2018, 8:20 AM · Bug Report

May 28 2018

luc created T3997: After tampering, a file still decrypts and returns incorrect plaintext, rather than giving an error.
May 28 2018, 8:55 PM · Bug Report
werner raised the priority of T3804: --export-options export-minimal,export-clean includes multiple subkey binding signatures when only one is necessary from Normal to High.
May 28 2018, 7:11 PM · gnupg (gpg22)
werner raised the priority of T3622: --export-options export-minimal,export-clean includes unusable subkeys from Normal to High.
May 28 2018, 7:11 PM · Feature Request, gnupg (gpg22)
werner added a comment to T3277: decrypting data symmetrically doesn't reliably convey confidentiality property.

From the autocrypt page:

May 28 2018, 7:09 PM · Feature Request, gnupg (gpg22)
wojnilowicz added a comment to T3996: Undefined reference to GpgME::Data::seek(long, int) on MinGW.

Uhm, yeah I would be willing to help. But I tried to understand it and don't see the problem.

So what the error tells us is that "off_t" is defined as long in the declaration but as something else in the definition.

But how can that be? data.cpp includes the data.h header so they both should have the same definition of off_t.

The only thing I could imagine is that something which is included in the cpp but not in the header undef's off_t and defines it to something else.

Or more likely that the archive was compiled with a different definition of off_t then what is included in the headers when kmymoney is built.

Are you using the same mingw version as the buildchain which compiles the gpgme binary?

May 28 2018, 6:52 PM · Windows, C++, gpgme, Bug Report
werner added a comment to T3277: decrypting data symmetrically doesn't reliably convey confidentiality property.

Let me state it again: Using symmetric encryption for authentication is Bad Thing™.

May 28 2018, 6:48 PM · Feature Request, gnupg (gpg22)
mkrambach committed rM53ce2b94bc35: js: Keyring listing keys (authored by mkrambach).
js: Keyring listing keys
May 28 2018, 5:34 PM
mkrambach committed rMd4adbf453d39: js: Treat a connection as a gpgme Context (authored by mkrambach).
js: Treat a connection as a gpgme Context
May 28 2018, 4:56 PM
aheinecke claimed T3996: Undefined reference to GpgME::Data::seek(long, int) on MinGW.

Uhm, yeah I would be willing to help. But I tried to understand it and don't see the problem.

May 28 2018, 4:43 PM · Windows, C++, gpgme, Bug Report
werner triaged T3996: Undefined reference to GpgME::Data::seek(long, int) on MinGW as Normal priority.

You are not cross-compiling. This is not suggested and I don't have the environment to replicate this. Maybe @aheinecke can help.

May 28 2018, 2:53 PM · Windows, C++, gpgme, Bug Report
werner set the color for C++ to Orange.
May 28 2018, 2:51 PM
werner closed T3993: A Solution for Sending Messages Safely from EFAIL-safe Senders to EFAIL-unsafe Receivers as Wontfix.

Please discuss this at gnupg-devel. A bug tracker is not a useful here.

May 28 2018, 2:45 PM · Feature Request
werner merged T3995: make --force-mdc the default into T3981: MDC failures should always trigger fatal error.
May 28 2018, 2:40 PM · Bug Report
werner merged task T3995: make --force-mdc the default into T3981: MDC failures should always trigger fatal error.
May 28 2018, 2:40 PM · gnupg, Bug Report
wojnilowicz created T3996: Undefined reference to GpgME::Data::seek(long, int) on MinGW.
May 28 2018, 12:28 PM · Windows, C++, gpgme, Bug Report
werner committed rD7564686ae621: drafts,openpgp-webkey-service: Typo fix. (authored by werner).
drafts,openpgp-webkey-service: Typo fix.
May 28 2018, 12:11 PM
werner committed rM77166851f165: json: Fix compiler warning. (authored by werner).
json: Fix compiler warning.
May 28 2018, 10:27 AM
werner committed rM0de991fee05a: json: Do not allow to export or delete secret keys. (authored by werner).
json: Do not allow to export or delete secret keys.
May 28 2018, 10:27 AM
werner committed rM368f2d9db30d: json: Fix use of get_context. (authored by werner).
json: Fix use of get_context.
May 28 2018, 10:27 AM
gniibe changed the status of T3980: gpg-agent: error allocating thread attributes when starting as daemon from Open to Testing.
May 28 2018, 2:11 AM · npth, Bug Report
gniibe committed rPTHf8b8e5d1112a: build: Fix libraries for HP-UX. (authored by gniibe).
build: Fix libraries for HP-UX.
May 28 2018, 2:10 AM

May 27 2018

jcrben awarded T3902: Use the term password instead of passphrase a Like token.
May 27 2018, 8:48 PM · gnupg24, FAQ, Documentation
jcrben added a comment to T3810: UI workshop.

I wonder if there's potential for engaging users remotely? Also, in addition to a workshop, maybe a user interface study of how users learn and interact with the tool? I feel like doing that with people who are relatively light/new users of gpg (like me, currently struggling as I wade thru a mix of docs, some of it outdated) could be beneficial. See also: https://arxiv.org/abs/1510.08555

May 27 2018, 8:42 PM · Documentation, gnupg, UI, Verein

May 25 2018

jhirsch added a comment to T3980: gpg-agent: error allocating thread attributes when starting as daemon.

Thanks, that allowed npth to make successfully without the unsatisfied symbols.

May 25 2018, 7:48 PM · npth, Bug Report
dkg committed rG3308d5e3f4e2: g10: Make force-mdc the default. (authored by dkg).
g10: Make force-mdc the default.
May 25 2018, 7:21 PM