Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sign windows installation package #277

Closed
rainmaker2k opened this issue May 18, 2022 · 9 comments
Closed

Sign windows installation package #277

rainmaker2k opened this issue May 18, 2022 · 9 comments
Labels
bug Something isn't working

Comments

@rainmaker2k
Copy link

rainmaker2k commented May 18, 2022

Describe the bug
On Windows when you try to run the setup installation it will try to prevent the installation, because the package is not signed.

Leapp Version
0.12.0 (Windows)

To Reproduce
Steps to reproduce the behavior:

  1. Download Windows package through the releases page on https://leapp.cloud
  2. Unpack zip
  3. Run Leapp Setup.exe

Microsoft Defender will block the installation and you can only continue if you explicitly.

Expected behavior
Installation should not be blocked by Defender or User Account Control

Desktop (please complete the following information):

  • OS: Windows
  • OS Version: 11
  • Leapp Version: 0.12.0

Additional context
I'm on a company controlled laptop that doesn't allow any unsigned installations.

@rainmaker2k rainmaker2k added the bug Something isn't working label May 18, 2022
@urz9999
Copy link
Contributor

urz9999 commented May 18, 2022

Hi, @rainmaker2k! As you may know, Windows UAC bases its warning message on the reputation of the software and how many times has been downloaded and effectively used. To prevent this, developers can buy ad hoc certificates, to help with the process of being recognized as fast as possible as a valid application.

Currently, we are renovating our certificate and changing our pipeline to avoid having the pfx certificate in our codebase. Unfortunately, our certifying company is still evaluating in these days the new certificate, so there is a small maintenance time window, in which in some cases UAC warns about the issue. It will be auto-resolved by itself in no more than 2-3 days.

Sorry for the inconvenience

@3apa3a-b-ta3e
Copy link

Honestly speaking, there is a signature on both setup file and main exe, but cert is explicitly revoked — that's why Windows Defender was blocking it and doesn't allow to launch anyway.

@Plasma
Copy link
Contributor

Plasma commented May 25, 2022

Hi @urz9999 unfortunately I think as per @3apa3a-b-ta3e 's comment, the certificate in use has been revoked, so now the latest release has been blocked from use even after installation:

image

@urz9999
Copy link
Contributor

urz9999 commented May 26, 2022

We know, we are currently asking Sectigo for support, it seems that the old certificate has been revoked while the new one is STILL in review. It's a very frustrating situation, but we hope to get in touch with them soon. Unfortunately, they already missed the SLA for replying to our support ticket.

@jbouse
Copy link

jbouse commented May 30, 2022

Leapp has become totally useless at this point

@pethron
Copy link
Contributor

pethron commented May 30, 2022

We are working with the certificate supplier to fix this, and bear in mind that we want this issue fixed asap as much as you. To give you a bit of insight if we can’t come to an agreement with our supplier in a short time we’ll change supplier and request a new certificate. I can’t give you an ETA other than this is one of our top priorities right now.

Leaving the certificate issue aside, the application logic fully works and you can compile and run it yourself if the windows certificate is blocking you. Also, Leapp is free and open-source and for this kind of problem there’s always the option of the enterprise support 🙂

I'll keep you guys updated as soon as we have news.

@urz9999
Copy link
Contributor

urz9999 commented May 30, 2022

We just released a patch for the Windows certificate. Please verify that it no longer shows the UAC warning.

@jbouse
Copy link

jbouse commented May 30, 2022

@urz9999 0.12.2 worked fine on Windows 11

@rainmaker2k
Copy link
Author

Awesome. UAC warning is gone. I'll close this issue.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants