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

Investigate signing Windows and macOS binary executables #1952

Closed
devinbileck opened this issue Nov 23, 2018 · 14 comments · Fixed by #3772
Closed

Investigate signing Windows and macOS binary executables #1952

devinbileck opened this issue Nov 23, 2018 · 14 comments · Fixed by #3772

Comments

@devinbileck
Copy link
Member

devinbileck commented Nov 23, 2018

Launching the installation exe on Windows 10 triggers Windows Defender SmartScreen (see below). To install you have to select More info and then click Run anyway.

In order to prevent this, we will need to investigate signing the executable.

image

@ManfredKarrer
Copy link
Contributor

Signing for windows is long time on our todo list. That would be definitely good.

@devinbileck
Copy link
Member Author

@ripcurlx feel free to assign this one to me to investigate. Unless you have some ideas.

@ManfredKarrer ManfredKarrer assigned devinbileck and unassigned ripcurlx Dec 9, 2018
@devinbileck devinbileck changed the title Launching installation executable on Windows 10 triggers Windows Defender SmartScreen Investigate signing Windows and macOS binary executables Dec 28, 2018
@devinbileck
Copy link
Member Author

Since Bisq is a decentralized project and team, there is no official business entity to register and sign the code signatures as required by certificate authorities.

Potentially a single trusted contributor could register and manage the code signing, likely as a bonded role.

However, Bitcoin Core has implemented code signing by having some core developers create an association with the single purpose of registering for code signing certificates. To quote their website (https://bitcoincorecodesigning.org/):

Bitcoin Core signs its Windows and macOS binaries with code signing certificates. Those certificates either need to be bound to an individual or a company organization. Bitcoin Core is purely an open source project and has no legal entity, thus, some of the Core Developers have founded an association with the single purpose of registering for code signing certificates.

So Bisq could potentially follow suit and create an association just for the purpose of registering for code signing certificates. This approach would likely still require a bonded role for all those involved.

@ManfredKarrer @cbeams @ripcurlx Do you have any comments or suggestions on which approach and whether to proceed?

@stale
Copy link

stale bot commented Mar 28, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@ManfredKarrer
Copy link
Contributor

Still a priority!

@stale
Copy link

stale bot commented Jun 26, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the was:dropped label Jun 26, 2019
@devinbileck
Copy link
Member Author

Still relevant

@stale stale bot removed the was:dropped label Jun 26, 2019
@stale
Copy link

stale bot commented Sep 24, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the was:dropped label Sep 24, 2019
@devinbileck
Copy link
Member Author

Still relevant.

@stale stale bot removed the was:dropped label Sep 28, 2019
@ripcurlx ripcurlx self-assigned this Oct 24, 2019
@ripcurlx
Copy link
Contributor

To reduce unnecessary OS warnings and AntiVirus issues on Windows we need to sign our Windows builds.

I'll apply for a certificate to have everything ready for v1.2.1

@ripcurlx ripcurlx added this to the v1.2.1 milestone Oct 24, 2019
@ripcurlx
Copy link
Contributor

@devinbileck It would be great if you could help out if I'm stuck on the way. Or maybe even prepare the build file for Windows to make the signing of the executable as easy as possible 😄

@devinbileck
Copy link
Member Author

Sure! Let me know when you start the process and if you need any help.

@ripcurlx
Copy link
Contributor

Ok, as I was able to package and sign our installer with a self signed developer certificate. I'll buy an official code signing certificate next.
I looked at a couple of cert authorities and it looks like Sectigo (former Comodo) has a reasonable offering: https://sectigo.com/signing-certificates/code-signing
I used them already in the past for acquiring a ssl certificate once when it wasn't that easy/common to use and it worked quite ok. Did anyone have recent problems with their services?

@CarvalhoBarberino
Copy link

image

It happen again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment