开发者

Forgot password for VS Project pfx file

开发者 https://www.devze.com 2023-03-18 08:27 出处:网络
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

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 projec开发者_开发技巧t without knowing the password?


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.


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.


Open the project file in Notepad. Find the signtool.exe command line. It's the string after the /p switch...


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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消