Reputation: 79
I'm trying to work on an old Visual Studio 2010 project from another computer, but I forgot the password for the pfx file used to sign the assembly. Is it possible to crack the password or is there a way to build the project without knowing the password?
Upvotes: 6
Views: 16387
Reputation: 1459
This was an old project and the author was gone. I just made sure the sign the assembly was unchecked and the I deleted any pfx files in the project.
Upvotes: 0
Reputation: 2181
You can create a new key to sign the assembly with.
1) Open the project.
2) Right click the project name in solution explorer and click properties.
3) On the Signing tab where it says "Choose a strong name key file:", select "New.."
4) Use the dialog window to create a new key file and password encode it with something you can remember.
Upvotes: 2
Reputation: 7
Open the project file in Notepad. Find the signtool.exe command line. It's the string after the /p switch...
Upvotes: 1
Reputation: 415
If you remember certain characteristics about your password (i.e. starts with 'pass', does not contain tilde, ampersand, digits 6 - 9, etc...) you could use this utility (boredwookie.net) I wrote to help you recover the password. It is released under an Open Source (MIT) License so you can see how it works.
Upvotes: 8
Reputation: 1793
Can you just create a new one? You might be able to crack the password but if you arent using it in other projects it would be easier.
Upvotes: 0