Closed tmat closed 6 years ago
FYI @JohnTortugo
Thanks @jcagme .
Seems like we were trying to sign a file that was already signed.. How should this be handled? Do we want to skip those files or remove the existing signature and sign again?
These files are not signed.
I'm actually not sure how signed PowerShell file looks like, but I guess it likely has the signature in it in some kind of comment form.
Talked with Trevor Short (not sure about his github alias) and he clarified the issue. The certificate that we are using to sign the file is trying to sign the file twice and that is the reason of the error. This kind of file should actually be signed with a different certificate: Microsoft400.
I'll create a PR in a few minutes.
The scripts: https://github.com/dotnet/roslyn-analyzers/blob/master/assets/install.ps1 https://github.com/dotnet/roslyn-analyzers/blob/master/assets/uninstall.ps1