Portable.Licensing icon indicating copy to clipboard operation
Portable.Licensing copied to clipboard

1.2.12 is not backward compatible, if you start using .net 5

Open dmikov opened this issue 3 years ago • 1 comments

The PR states that it will be backward compatible, but after migrating our project to dot.net 5.0 all previous licenses fail signature validation. Due to the fact they were signed with BouncyCastle key pair and now try to validate with OpenSsl. Give Asn1 corrupted error. I think BouncyCastle compresses the keys and OpenSSL doesn't. Maybe due to the fact that before it was forced to named elliptic curve and now in OpenSsl it is different one.

dmikov avatar May 13 '21 16:05 dmikov

Yea, you have to generate a new license. The code is backwards compat, but as you noticed the generated licenses aren't - at least in my experience.

kfrancis avatar Mar 14 '22 13:03 kfrancis