Comments (3)
@Smurf-IV That does not generate a valid strong name signing key depending on the certificate you are using. The toll will simply extract the public key but that does not mean it's a valid public key pair that can be used for strong-naming. If you try to use that key in Visual Studio it will not sign your binaries either so this is not a bug in the tool since it's just reporting the problem to you, the Keyset does not exist
and it's not a valid signing key.
Visual Studio: `Error signing output with public key from file '..\DelaySign.snk' -- Invalid public key.
Step 7 is saving all the changes made to the IL to disk and validating the assembly. When it gets signed with a faulty key then it will not save because it does not generate a valid strong-name.
from strongnamesigner.
@Smurf-IV Why are you trying to use SN.exe to do this anyway? Rather use the tool itself with your PFX file directly and provide the password during signing. It knows (better than SN.exe) how to use the public key in the certificate to generate a key-pair sign the assemblies.
from strongnamesigner.
Why are you trying to use SN.exe to do this anyway?
- So that it can be used with the delay sign step in visual studio
- Your tool is then used to replace the delaySign.snk with the actual one; (from the pfx (With the password) as expected, and as you have described)
- the picture in #92 was just to show you what the erro was and is not related to the actual DelaySing.snk file (It just created the same error as the commandline with pfx and password !)
from strongnamesigner.
Related Issues (20)
- Writing mixed-mode assemblies is not supported HOT 3
- Transitive dependencies from PackageReferences are not investigated/signed HOT 3
- Use NuGet package, but no automatic signing of assemblies HOT 2
- Use NuGet package, but no automatic signing of assemblies HOT 2
- Virus Detected on Chrome when downloading StrongNameSigner_Setup.exe HOT 1
- SDK style probjects supported? HOT 4
- Failed to resolve assembly: 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' HOT 12
- Fixing unsigned references in signed assemblies when signing unsigned assemblies - unhandled case? HOT 5
- [Bug]: When the GUI comes across a "Unsupported PDB deleted bitset is not empty" it stops processing HOT 1
- [Feature Request]: convert the "Unsupported PDB deleted bitset is not empty" Error to a warning, so that the commandline app does not report errors HOT 2
- [Feature Request]: Can the Gui state what file has been used to sign a binary HOT 1
- [Bug]: If strongnamer is already processing a file, then do not throw an error when it tries to open it again due to parallel builds
- [Change Request]: Please change the column named `Signed` to be `StrongNamed` HOT 1
- [Feature Request]: Have a column called `DigCert` to show if this binary also has been digitally signed HOT 2
- [Bug]: Getting `Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'mscorlib, Version=4.0.0.0` for x86 project HOT 13
- Does not work with VS 2022 started with Admin rights targeting .net 4.8 framework HOT 9
- Can not get it to work with .NET Standard 2.0 Project and Nuget Packages Scrypt.NET and CSVTextFieldParser HOT 2
- Fails to ignore package dlls if %NUGET_PACKAGES% is set to a different format of path. HOT 2
- Failed to resolve System.IO.FileAccess HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from strongnamesigner.