Re: S/MIME sign and immediate verification fails

Lothar Kimmeringer <[email protected]> Fri, 21 Jun 2019 10:53:14 +0200
Newsgroups gmane.comp.encryption.bouncy-castle.devel
Message-ID <[email protected]>
Hi,

Am 21.06.2019 um 09:23 schrieb David Hook:
> 
> Noticed the git issue. I'll take a look, the test case will help.

I can write more of them, that check encryption and compression as
well (my original test of my own stuff does that, so it's essentially
copy&paste of existing stuff anyway).

> Out of
> interest have you tried this with the non-JavaMail API?

I'm not aware of a non-JavaMail API and couldn't use it in my
original case because everything is based on JavaMail there.
But if the non-JavaMail API is using SMIMEUtil.outputBodyPart
I expect the same problem, because that's where the linebreak
got lost. I tried to add one myself and it solves the issue
I described here but after that signed/encrypted data stopped
working, so I stopped trying to fiddle with that myself for now.


Thanks and cheers, Lothar