Codesigning On Windows
From Audacity Wiki
This page is about codesigning on windows for release builds.
|
The Dongle
If you plan to codesign on windows, you will need a USB dongle (smart card reader) , so plan in advance to allow time for delivery.
- The dongle is both a card reader AND a USB key.
- Instructions for using it are in the USB key itself, strangely in the directory marked 'bin'
Activating the Cert
You will need the latest Java with all security patches.
- If you have not used jave ever, or not for a while, you will almost certainly need to update it.
- Update it before you try to activate, as without that it is confusing as to why the process has stalled.
Documentation
You will need to scan
- A page from you passport
- A recent utility bill or credit card statement
Signing the Installer
This is how signing used to work....
"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Bin\signtool.exe" sign /f .\<YourCert>.p12 /p <YourPassword> /fd SHA256 <path-to-audacity-git>\win\Output\audacity-win-2.3.0.exe
The new way, using the dongle and setting a timestamp:
signtool sign /n "James Crook" /t http://time.certum.pl/ /fd sha256 /v <path-to-audacity-git>\win\Output\audacity-win-2.3.0.exe