iminashi/Rocksmith2014.NET

.Net 7 AES error on Windows 7

Opened this issue · 2 comments

When trying to build CDLC (test or release) on ver 2.0.0+ under win7 the following error appears:

AggregateException: One or more errors occurred. (The current platform does not support the specified feedback size.)

Inner exception:
CryptographicException: The current platform does not support the specified feedback size.
   at <StartupCode$Rocksmith2014-PSARC>.$PSARC.Create@309-3.MoveNext()

Version 1.6.2 works, So it must be connected to .Net 7 update.

It seems there was (is) a problem in .Net 7 on win7.
Found the only source with the same error (its in chinese, yet google translates okey-ish) - https://www.cnblogs.com/lindexi/p/17680647.html

It seems there is a workaround, yet it looks bulky and not really trustable.

Can you look into this issue? Is there a way to still support win7?

Windows 7 has never really been supported.

In the 2.0 version I changed the PSARC encryption to use an implementation provided by .NET (added in .NET 5) and it seems that W7 does not provide that algorithm. Reverting that should be relatively simple, but I don't have a Windows 7 machine to test it (I tried to setup a virtual machine some time ago, but couldn't get the program to even run).

Thank you for the answer.
I am eager to help with testing, if you'll find it sensible.

Though even steam stops support of win 7 on jan 1st. So I am not sure if it's worth it.
It's been three months since update, and it feels like I am first to stumble across the issue.