Archi.exe Signature Invalid

Started by ostkrokens, November 01, 2021, 08:10:11 AM

Previous topic - Next topic

ostkrokens

Dear,

Version 4.9.1

The signature of Archi.exe is invalid.

Can you please update and verify? Thanks.


Phil Beauvoir

#1
Hi,

what do you mean by "invalid" and what signature?

Perhaps you could provide some detail about your issue that we could act on...
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

ostkrokens

Thanks for your reply.

Once the application is installed under $ProgramFiles - the Archi.Exe executable signature is not valid

https://imgur.com/a/mqX04AP

Please let me know if you need further information

Phil Beauvoir

#3
The "Archi.exe" file is generated from a base "eclipse.exe" file signed by the Eclipse Foundation. The Archi icon is embedded into it so, yes, the digital signature will no longer be valid. This has been the case since Archi 4.6. In fact, Archi is not the only app with an exe file of this format, download this app and you'll see the same digital signature and "invalid" message.

Here are your options:

  • Build your own binaries from the source and provide your own digital signature. See https://github.com/archimatetool/archi/wiki/Building-the-Binaries
  • Copy the "eclipse.exe" file from a Windows Eclipse distribution, rename it to "Archi.exe" and replace the existing one
  • Use the Windows "signtool" application to remove the signature using this command: "signtool remove /s Archi.exe" (in fact I will do this for future versions of Archi)
  • Do nothing and just enjoy the fact that Archi is free and open source software that works just fine regardless of this

More information:

https://github.com/eclipse/tycho/discussions/353
https://bugs.eclipse.org/bugs/show_bug.cgi?id=565937
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

Bain19

Just going to leave this here for the google bot and others users that this snags.
"Windows protected your PC"
"Unknown publisher"
"Archi.exe"

Without valid signatures, Archi will be constantly getting flagged as a risk by windows. 



You can go around it and force the execution by launching it via commandline vs mouse click, but this is starting to feel like hostile architecture.

Phil Beauvoir

#5
> Without valid signatures, Archi will be constantly getting flagged as a risk by windows. 

Even with a code signature SmartScreen will still flag an app as unrecognized until it has built up reputation. To keep SmartScreen totally happy one has to sign the app with an Extended Validation (EV) certificate.

An EV certificate can cost up to £800 per year. To apply for one you need to secure the services of a lawyer to notarize the EV certificate application process. Individuals can't apply for an EV certificate. only companies can. I am not a company.
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

Phil Beauvoir

#6
SmartScreen complains because an app has little or no "reputation"....according to Microsoft.

In addition, two *.exe files are not signed:

1. Archi.exe (the main executable launcher)
2. Archi-Win64-Setup-X.X.X.exe (the installer)

One way to solve this when building Archi:

1. Use the "eclipse.exe" file renamed to "Archi.exe". This is signed by the Eclipse Foundation but has the Eclipse icon, not the Archi icon. This gets packaged in the Archi-Win64-X.X.X.zip distribution.
2. No longer distribute the Archi-Win64-Setup-X.X.X.exe installer.
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

Phil Beauvoir

#7
I've managed to secure a code signing certificate from Sectigo and the next release of Archi 5 will be signed.
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.