On 06/28/2016 07:47 AM, Kyle Francis wrote:
Didn't end up needing to modify that function. It turns out I wasn't passing all the information needed in my enigma_error from enigma_driver_phpssl::decrypt. Also, SMIME encrypted messages are attachments, vice inline so there was some fudging with that.
Yup. As you can see in parse_encrypted() and parse_pgp_encrypted() PGP/MIME also uses an attachment part for encrypted body. I think this is pretty the same as in S/MIME.