The certificate
The executables are signed with a code signing certificate issued to Raffaele Romano and generated by me (self-signed), not purchased from a commercial certificate authority. The signature guarantees that the file has not been modified after publication and that it always comes from the same author.
- Issued to
- Raffaele Romano
- Thumbprint (SHA-1)
to be announced
Verifying a program
Right-click the executable, choose Properties and open the Digital Signatures tab: the signer must be Raffaele Romano. In PowerShell you can read the thumbprint of the certificate that signed the file:
(Get-AuthenticodeSignature .\ProgramName.exe).SignerCertificate.ThumbprintThe value must match the thumbprint shown above. The signature status will be “not trusted” (UnknownError): this is normal with a self-signed certificate, because Windows does not know the authority that issued it.
Certificate-based antivirus exclusion
Many advanced antivirus products and corporate security consoles let you allow programs based on the certificate that signed them, rather than on the individual file. With a single rule you allow all my programs, including future versions, without having to update the exclusion at every release.
- download the public certificate above and verify its thumbprint;
- in the antivirus console, create an exclusion or an indicator of type “certificate” and upload the .cer file;
- if your antivirus does not support this, create the exclusion on the program folder or on its SHA-256 hash.
It is not necessary, nor advisable, to install the certificate in the Windows Trusted Root Certification Authorities store.
The “Windows protected your PC” warning
SmartScreen only recognizes certificates issued by commercial authorities and very widely used programs: with a self-signed certificate the warning may appear. Click More info and then Run anyway. If the file comes from a downloaded zip, you can also open the zip file's properties and select Unblock before extracting it.
Zip integrity
Each page shows the SHA-256 hash of the zip file. To check it, open PowerShell in the download folder:
Get-FileHash .\FileName.zipThe Hash value must match the published one.