Fails to decode inline GPG payload

Hi, I’m not sure this is the correct forum; if not, please let me know a better place.

I am running Gpg4Win with Kleopatra + Microsoft Outlook APP on Windows.
I have a sender who uses an email app which places the PGP encrypted message as the body of the email, instead of an attachment “encrypted.asc” like other clients.

This in-line message has no problem being decoded by a Thunderbird recipient, as well as a Gmail + FlowCrypt recipient. But Outlook + Kleopatra doesn’t recognize it as an encrypted message, and just show the body raw.

Is this a known issue? Or is there a setting I can change to allow Kleopatra to decode these types of messages?

Hi @chrissv,
we would need some more information to try to help you.

Aside from the Gpg4win version you are using we would especially need to know more about the problematic mail and/or the program it was sent with. Do you now which program was used? Is the message PGP/MIME encrypted or PGP/inline? Does the “raw body” begin with “-----BEGIN PGP MESSAGE-----”?

Hi, thanks for the reply.
The email was composed using Gmail + FlowCrypt extension.
Here is the the raw message data (skipping the standard email headers):

From: Xxxxx Xxxxxx <xxxxxxx@xxxxxx.org>
MIME-Version: 1.0
Date: Wed, 2 Apr 2025 16:51:57 -0700
X-Gm-Features: AQ5f1JoGYyrmYdpbmO5uEs_dB71kfAn5kH4YVE3toMlEacitYuTi1tPvs7r9Bcc
Message-ID: <CAPf-+Scx32y8A34VFecbN+d_adPJ=85-JF2xBdGqbr_g4U8EqA@mail.gmail.com>
Subject: Test email from flowcrypt
To: yyyyyyy@yyyyyyy.com
Content-Type: text/plain; charset="UTF-8"

-----BEGIN PGP MESSAGE-----
Version: FlowCrypt Email Encryption 8.5.10
Comment: Seamlessly send and receive encrypted email

wcDMA893w9R/ScsgAQwAg8jQRpHPNh+8Xjs4Dsfl6KBzO+Sy28ki95B7BwCv
lMXqak6VRUlyy+sOt1QUXNQRBCH48wnJZCSO0ybzpi+fsWofKBoSH1UWxKSD
gaXW28rlvHl1XN+vBRAmu4AZMDRxsxnUOsfKsrAh9oPioexCfQgczQWF5l20
pv6R2RP1ZHM599QOIshU1r5/aeAPa5RZTF3S2QvwsKWILpNoJSA3wGoahJiT
zbmeDQpqylI++DvZcHfaCYCnp+lUsszT21H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J1Ca0UPjU+cUqBkoxDzAiLZyZ01XSPVslbSfr3HeKM7ljBrRGcDP
TBZHE8HT/dhwvy0ww4ZaXFV8A3J6796nUYpaqa3/cVgaljA1T+QcKOkppdp9
ruJVhHp07iBXhWbpkJhGUIRnwkwoBjxQ5qZXiALCoaBjY+LqPpNbY47mupNl
6bJb27r/DtwfHj8tOoKFwuYlvgKTwwMSZC8R1X/nmtTKqXWRvT9WACwtkoiA
keq72uh/QpA/VmasDLpECghVDtUEXof4gj9fsEYbnyi3HsLR0IO7daN+XURg
y7GCPCK9ht7hqm9LbsVMie4qFCerXS3aE3338JdpJGZCA02ytC3akLbXuh6n
IgudVAF9qxYbQZKAB3kBaAES1+/YyBiYUSfFzPzyDsw64Bqj19GybaBX2gY7
0FCIwm4sdVaUpQF7G101D4TdOl8CDJMwqSB8+bp46/0QP9nYwv1aJqG5SRmG
dU6QfnrY5LNHQchpYZDHlCY+dzzKqeXMEH6yRDbhM2gBg9dMUW7T
=/D44
-----END PGP MESSAGE-----

So it looks like a standard text-only email with the PGP MESSAGE data in the body, no indication that it is an encrypted email.

Like I mentioned, some other clients (Thunderbird and obviously Gmail + Flowcrypt) recognize the content and decode it.

I am using gpg4win version 4.4.0.20250221. The email was created by Gmail using the FlowCrypt extension.

We have never tested with FlowCrypt, it was not a known issue. We’ll have to test the compatibility, which will take a while.

The structure looks ok on first glance. Could you check if it decrypts when you paste this into the notepad of Kleopatra?

Could you check if it decrypts when you paste this into the notepad of Kleopatra?

I took the message body (which Outlook + Kleopatra isn’t interpreting as a PGP message) and put it in Kleopatra’s Notepad and verified the message decrypts:

ok, so it’s purely a GpgOL issue. I’ll make a ticket at dev.gnupg.org

Hi!

I can’t replicate the problem. GpgOL correctly shows me that it has been encrypted to two keys and that I don’t have the private key. For testing I took the message, put it into a file x.eml and opened it with Outlook (i.e. right click in the explorer). I also checked that the missing traling LF does not matter. Granted that is with gpgol 2.6.0 but I doubt that we changed anything relevant. since 2.5.14 or earlier

Werner

But of course: YMMV if you have other active Outlook Add-Ins.

I’d be happy to send an email with FlowCrypt to help someone diagnose the problem (since I reported the problem in the first place).

We made a test with my Outlook account. I could decrypt it without problems.

@chrissv Are you using any Outlook add-ins that might interfere with your mail? Maybe an extra virus scanner or something?

I’m not using any add-ins, but I did notice that there is a banner imposed by my company I.T. department (it’s not anything I have control over on the client side):

Maybe this banner is confusing GpgOL?

This is very likely. The Addin “TITUS Message Classification”, which does insert such a banner into the mail structure, is listed among the incompatible Addins: https://wiki.gnupg.org/GpgOL/IncompatibleAddons .

I have heard that there are configurations of that software which make it somewhat workable with GpgOL, but nobody shared their config AFAIK.

What I’d like to know is: Are you only getting flowcrypt encrypted messages on your work account? How about other PGP/inline messages, are those decrypted? (PGP/inline is not state of the art securitywise, btw.)
I assume GpgOL encrypted messages are decrypted on your work account? (Those use PGP/MIME)

I did some Googling, and found a picture of the banner and it looks like something from Proofpoint, not TITUS Message Classification:

Would the same incompatibility exist with this?

Looks like it, at least for PGP/inline and our Addin for Outlook classic.
Any software which inserts a banner or otherwise changes the mail structure will cause problems with GpgOL and has a high probability of making parallel usage impossible.

@chrissv

As it depends on how the email was changed by the the product or how it hooks into Outlook. It is not clear from the PDF that you have linked how Proofpoint works.