Closed edoust closed 3 years ago
Can you sent me a copy of the signed msg file? So that I can test this myself? If so then sent it to sicos2002@hotmail.com ... zip the file before sending it to me otherwise Outlook has the bad habbit of converting in to EML format.
Without an example file I can't see if I can fix it.
Sorry didn't get to it yet, since I have to create a nonconfidential repro and also test against .NET 4.x to see the exact difference in behavior. Will definitely get back to you on this issue
Using this code leads to an exception when trying to load a file that contains a signed e-mail message:
This is the exception:
System.PlatformNotSupportedException: 'The OID value cannot be changed from its current value.'
This happens on .NET 5 and may be related to this: Breaking change: System.Security.Cryptography.Oid is functionally init-only
This is the stacktrace until the exception occurs: