Re: S/MIME sign and immediate verification fails

David Hook <dgh-rTAZ0PM/[email protected]> Fri, 21 Jun 2019 17:23:17 +1000
Newsgroups gmane.comp.encryption.bouncy-castle.devel
Message-ID <[email protected]>
Noticed the git issue. I'll take a look, the test case will help. Out of
interest have you tried this with the non-JavaMail API?

Regards,

David

On 18/6/19 12:52 am, Lothar Kimmeringer wrote:
> Hi again,
>
> some more data points:
>
>  - Bouncy Castle 1.62 leads to the same problem.
>  - Only the combination multipart/mixed, containing multipart/alternative
>    and an attachment leads to this effect.
>
> For the latter I've extended my test by creating different mail body
> parts
> for signing. All signatures created from these mails successfully verify,
> except the "full mail", so I start thinking that I might have found a bug
> in BouncyCastle here. Attached you can find a revised version of my
> test case.
>
> I can open an issue on GitHub if needed.
>
>
> Thanks and cheers, Lothar