Page MenuHome GnuPG
Feed All Stories

Jun 6 2018

mkrambach committed rM7a072270ac03: js: change Keyinfo timestamps into javascript date (authored by mkrambach).
js: change Keyinfo timestamps into javascript date
Jun 6 2018, 3:29 PM
Arnaud added a comment to T3891: kdf-setup does not set admin and user PIN codes.

Here is a sequence of operations/commands that permits to setup or update KDF-DO and align PIN codes accordingly:

Jun 6 2018, 2:58 PM · Restricted Project, scd, Bug Report
technicalsupport created T4006: Sling Contact +1 (877) =852= (0777) Sling Customer Care Phone Number in the S1 Public space.
Jun 6 2018, 2:53 PM
ktalik added a comment to T3972: 100% CPU usage endles loop of gpg --list-keys.
$ gpg -k --verbose --debug ipc,trust
gpg: reading options from '/home/konrad/.gnupg/gpg.conf'
gpg: enabled debug flags: trust ipc
gpg: using pgp trust model
gpg: checking the trustdb
gpg: removing stale lockfile (created by 14064)
[FREEZE]
Jun 6 2018, 2:48 PM · gnupg (gpg22)
werner triaged T3972: 100% CPU usage endles loop of gpg --list-keys as Normal priority.
Jun 6 2018, 2:33 PM · gnupg (gpg22)
werner added a comment to T3972: 100% CPU usage endles loop of gpg --list-keys.

Please add

Jun 6 2018, 2:32 PM · gnupg (gpg22)
mkrambach committed rMbfd3799d39df: js: code cleanup (eslint) (authored by mkrambach).
js: code cleanup (eslint)
Jun 6 2018, 1:10 PM
werner committed rGdc87a3341f28: gpg: New command --show-keys. (authored by werner).
gpg: New command --show-keys.
Jun 6 2018, 12:08 PM
werner committed rG257661d6ae0c: gpg: New command --show-keys. (authored by werner).
gpg: New command --show-keys.
Jun 6 2018, 12:06 PM
mkrambach committed rM0356a667c5a8: js: implement import/delete Key, some fixes (authored by mkrambach).
js: implement import/delete Key, some fixes
Jun 6 2018, 12:02 PM
werner committed rD3ce9d4cdbccc: web: Use strike-through for EOLed versions. (authored by werner).
web: Use strike-through for EOLed versions.
Jun 6 2018, 10:00 AM
gniibe created D462: Figure out the session key by looking at all PKT_PUBKEY_ENC packets.
Jun 6 2018, 9:44 AM · gnupg
werner committed rDe03e4c73c8d4: web: Add more prose to the end-of-life section (authored by werner).
web: Add more prose to the end-of-life section
Jun 6 2018, 9:35 AM
werner committed rD07d8e33edb34: web: Add end-of-life dates (authored by werner).
web: Add end-of-life dates
Jun 6 2018, 9:15 AM
an2347 added a comment to Image Macro "dancewithme".
Jun 6 2018, 6:35 AM
gniibe closed T3823: gpg frontend support to setup KDF DO as Resolved.
Jun 6 2018, 3:41 AM · scd
gniibe closed T3823: gpg frontend support to setup KDF DO, a subtask of T3152: KDF DO support in OpenPGP card, as Resolved.
Jun 6 2018, 3:41 AM · scd

Jun 5 2018

werner committed rGPA48a685eec194: Simplify a xmalloc+snprintf use. (authored by werner).
Simplify a xmalloc+snprintf use.
Jun 5 2018, 9:19 PM
werner committed rGPA85baf24947e4: Unescape description texts. (authored by Ineiev <ineiev@gnu.org>).
Unescape description texts.
Jun 5 2018, 9:19 PM
werner committed rGPAa5db9c242b87: Fix percent unescaping. (authored by Ineiev <ineiev@gnu.org>).
Fix percent unescaping.
Jun 5 2018, 9:19 PM
werner committed rGPAfa562297a5ae: Eliminate arbitrary length limit on labels. (authored by Ineiev <ineiev@gnu.org>).
Eliminate arbitrary length limit on labels.
Jun 5 2018, 9:19 PM
werner closed T3971: gpgme-1.11.1 fails to build: cJSON.c:45:20: fatal error: gpgrt.h: Datei oder Verzeichnis nicht gefunden as Resolved.

Please dee the commit for a description of this fix.

Jun 5 2018, 9:54 AM · Debian, Bug Report, gpgme
werner committed rM998fec8a4fbc: json: Allow to compile with libgpg-error < 1.28 (authored by werner).
json: Allow to compile with libgpg-error < 1.28
Jun 5 2018, 9:51 AM
gniibe committed rGd2e6b3ea1d70: g10: Remove bogus comment. (authored by gniibe).
g10: Remove bogus comment.
Jun 5 2018, 4:26 AM
gniibe committed rG7c004dd58f28: po: Fix Swedish and Turkish translations. (authored by gniibe).
po: Fix Swedish and Turkish translations.
Jun 5 2018, 3:43 AM
gniibe committed rG9f70e0af784d: po: Fix Danish translation. (authored by gniibe).
po: Fix Danish translation.
Jun 5 2018, 3:43 AM

Jun 4 2018

BenM added a comment to T4001: Import and Export for python bindings.

Not for export, there's a few traps in there, but if you want to take a second swing at import, I'd probably accept that instead.

Jun 4 2018, 8:45 PM · gpgme, patch, Python, Feature Request
Eagle_Erwin added a comment to T3971: gpgme-1.11.1 fails to build: cJSON.c:45:20: fatal error: gpgrt.h: Datei oder Verzeichnis nicht gefunden.

I don't think this is an error in Debian. Debian Squeeze is packed with libgpg-error 1.26 in the latest stable release [1].
According to the list of changes, gpgrt.h is addes as an alias for gpg-error.h in 1.27 [2].
I think a quick (and correct) fix is to increase the NEED_GPG_ERROR_VERSION in configure.ac to at least 1.27 [3], so the build will fail nicely in the configure-step with a correct error.

Jun 4 2018, 8:40 PM · Debian, Bug Report, gpgme

Jun 3 2018

tookmund added a comment to T4001: Import and Export for python bindings.

That makes sense. If you don't have any other patches floating around for this, would you mind if I took a crack at rewriting export?

Jun 3 2018, 12:01 AM · gpgme, patch, Python, Feature Request

Jun 2 2018

BenM committed rM897423422b9d: docs: python bindings howto (authored by BenM).
docs: python bindings howto
Jun 2 2018, 4:51 PM
marcus reopened T4000: GnuPG does not check encrypted messages for well-formed composition as "Open".

Yeah, that's not good enough. You also need to check if literals_seen is 0 before BEGIN_DECRYPTION to catch the case where the plaintext packet comes before the encrypted packet. See https://github.com/das-labor/neopg/commit/30623bcd436a35125f21fe6f29272a5fa7212d3f

Jun 2 2018, 12:53 PM · gnupg (gpg22), Bug Report
BenM committed rMe144a6d70657: Authors: DCO (authored by BenM).
Authors: DCO
Jun 2 2018, 9:18 AM
BenM added a comment to T4001: Import and Export for python bindings.

Okay, the import is pretty much a match for what I have tucked away elsewhere, to that will probably get merged as is, more or less.

Jun 2 2018, 4:00 AM · gpgme, patch, Python, Feature Request
BenM claimed T4001: Import and Export for python bindings.

Actually op_import and op_export do work, but they're the underlying SWIG bindings, not the more pythonic layer Justus added a couple of years ago. I'd been planning on fixing that this month (part of the work is in one of the ben/howto-update branches), but not merged with master until it could be documented since there's something potentially hazardous in there (exporting secret keys).

Jun 2 2018, 3:26 AM · gpgme, patch, Python, Feature Request

Jun 1 2018

Breach added a comment to T3990: Kleopatra change expiry date on year doesn't work.

Thanks. Yes, I think that's it. Here's a video just in case.

Jun 1 2018, 11:36 PM · gpg4win, kleopatra, Bug Report
wltjr updated the task description for T4005: Travis CI and Sonar Scan for Pinentry.
Jun 1 2018, 7:37 PM · pinentry
wltjr created T4005: Travis CI and Sonar Scan for Pinentry in the S1 Public space.
Jun 1 2018, 7:36 PM · pinentry
aheinecke committed rKLEOPATRA40cb68f4e64d: Update calendarwidget selection when page changes (authored by aheinecke).
Update calendarwidget selection when page changes
Jun 1 2018, 4:23 PM
aheinecke committed rKLEOPATRA4d925a85ce7a: Translate placeholder string in pad (authored by aheinecke).
Translate placeholder string in pad
Jun 1 2018, 4:23 PM
aheinecke added a parent task for T3990: Kleopatra change expiry date on year doesn't work: T3925: Gpg4win 3.1.2.
Jun 1 2018, 4:21 PM · gpg4win, kleopatra, Bug Report
aheinecke added a subtask for T3925: Gpg4win 3.1.2: T3990: Kleopatra change expiry date on year doesn't work.
Jun 1 2018, 4:21 PM · gpg4win
aheinecke changed the status of T3990: Kleopatra change expiry date on year doesn't work from Open to Testing.

Ok You could notice it because if the year changes there was no "blue" selected date in the current page.

Jun 1 2018, 4:21 PM · gpg4win, kleopatra, Bug Report
aheinecke added a comment to T3990: Kleopatra change expiry date on year doesn't work.

Had a bit trouble reproducing it. It worked for me.

Jun 1 2018, 3:54 PM · gpg4win, kleopatra, Bug Report
werner claimed T3994: import-clean drops a seemingly valid subkey.
Jun 1 2018, 3:02 PM · gnupg (gpg22), Bug Report
aheinecke committed rO75e02a5985d3: Clarify comment about inline pgp encoding (authored by aheinecke).
Clarify comment about inline pgp encoding
Jun 1 2018, 3:00 PM
aheinecke committed rO9f7ec6eb2962: Add distinct error for legacy nomdc (authored by aheinecke).
Add distinct error for legacy nomdc
Jun 1 2018, 3:00 PM
aheinecke added a comment to T3714: Failing to decrypt due to missing MDC.

It's nice. Although for now I've only added a message in the legacy_cipher_nomdc case:

Jun 1 2018, 2:57 PM · FAQ, kleopatra
aheinecke added a subtask for T3925: Gpg4win 3.1.2: T3975: Special characters not displayed anymore in Outlook.
Jun 1 2018, 2:34 PM · gpg4win
aheinecke added a parent task for T3975: Special characters not displayed anymore in Outlook: T3925: Gpg4win 3.1.2.
Jun 1 2018, 2:34 PM · gpgol, Bug Report
aheinecke changed the status of T3975: Special characters not displayed anymore in Outlook from Open to Testing.

I've noticed during testing that GpgOL would not send valid PGP/Inline signed only messages and also failed to verify such messages itself when special characters were in the mix.

Jun 1 2018, 2:34 PM · gpgol, Bug Report
aheinecke added a comment to T3962: GpgOL: Switch to external resolver when encryption with internal resolution fails.

Oops. The commits added here belong to T3975

Jun 1 2018, 2:32 PM · gpg4win, gpgol
aheinecke committed rOfc05ec082038: Try to convert clearsigned to utf8 on verify fail (authored by aheinecke).
Try to convert clearsigned to utf8 on verify fail
Jun 1 2018, 2:17 PM
aheinecke committed rO5f31ee9b15b3: Properly set UTF8 encoding for clearsigned (authored by aheinecke).
Properly set UTF8 encoding for clearsigned
Jun 1 2018, 2:17 PM
aheinecke committed rOf46586d886cd: Fix encoding for some inline pgp mails (authored by aheinecke).
Fix encoding for some inline pgp mails
Jun 1 2018, 2:17 PM
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