6 ms·
The problem with distributing standalone installers on Windows is that all non-popular apps are immediately regarded as malware by Windows Defender unless you g
by rubymamis 2y ago
The problem with distributing standalone installers on Windows is that all non-popular apps are immediately regarded as malware by Windows Defender unless you go through the horrendous process of signing your app, which requires obtaining a certificate (which also requires forming a company that is not an LLC) and waiting more than a month while navigating multiple rounds of bureaucracy. I’ve done it for my app, and it was a terrible experience. Microsoft should study how Apple handles signing and notarization.
EDIT: spelling.
- kryptocannon 2y ago> which also requires forming a company that is not an LLC I always thought that an LLC was sufficient, what's the actual requirement if an LLC is not enough?
- wongarsu 2y agoWe got a certificate with a company that's the local equivalent of an LLC, and have seen certificates issued to private individuals. As far as I can tell it's up to the issuer who they support in their verification process. Many of them are pretty inflexible with somewhat arcane processes designed decades ago (with ancient websites portals to match), so your experience may vary An additional detail is that there are two levels of code signing certificates, normal and EV (extended validation) certificate. EV certificates make windows completely drop the low-reputation screen and causes many antivirus solutions to trust you but are expensive and are a bit of a pain to get. Normal certificates are cheaper and comparatively easier to acquire, but only give partial benefits (less scary screen from Windows, some leeway from antivirus).
- rubymamis 2y agoLike wongarsu described, there are two types of certificates. I got the more trusted one (EV certificate) which has higher requirement standards (one of which is to be a formed corporation that is not a sole proprietorship).
- Nzen 2y agoFor an EV certificate, you need to have a government-registered business [0], though a record of Doing Business As should be sufficient. Where I live, that involves filling a form, paying a fee, and taking out a classified add for 3 weeks [1]. There are cheaper certificates, OV, that merely require a notary public's confirmation (which is what I did). However, as the other post said, Windows will treat an EV certificate with very high trust and should not show SmartScreen. For OV signed software, it looks like [3] Microsoft will use some telemetry to assemble a trust score as people download and accept the risk of running the software, over days or weeks. [0] https://support.ksoftware.net/support/solutions/articles/35844-what-are-the-requirements-to-obtain-an-ov-or-ev-code-signing-certificate- https://support.ksoftware.net/support/solutions/articles/358... KSoftware is a sales partner for Sectigo. I used their service and later Sectigo directly, before last year's change to require FIPS hardware for managing the code signing certificate. [1] https://www.cookcountyclerkil.gov/vital-records/business-notary/assumed-business-name-registration https://www.cookcountyclerkil.gov/vital-records/business-not... [2] https://support.ksoftware.net/support/solutions/articles/232500-what-are-the-differences-between-ov-and-ev-level-code-signing-certificates- https://support.ksoftware.net/support/solutions/articles/232... [3] https://stackoverflow.com/a/65653792/504994 https://stackoverflow.com/a/65653792/504994
- 9cb14c1ec0 2y agoAzure trusted signing for the win. Only $9.99/month.
- _mlbt 2y agoThat is still more expensive than the $99 a year Apple charges, and you get al lot more than just signing for that price.
- rubymamis 2y agoNever heard of this! What kind of certificate does it support (oddly enough, it doesn't say on the website). Do you have experience with the process?
- 9cb14c1ec0 2y agoCode signing cert. It works best as part of Github actions.
- JanisErdmanis 2y agoCan Azure sign MSIX application bundles with that subscription price?
- huhtenberg 2y ago> signing your app, which requires obtaining a certificate (which also requires forming a company that is not an LLC) and waiting more than a month while navigating multiple rounds of bureaucracy. This is not true, not as phrased. A. You can get a cert issued in your personal name. Not an EV one, but still. B. You are likely to already have a company if you are selling online. C. It doesn't take "a month" even for an EV cert. Several days tops unless you go through Comodo, in which case you get what you pay for. D. It is perfectly fine to distribute unsigned installers. They produce a warning on launch, granted, but contrary to the urban legend they are not getting instantly shit-canned by the Defender.
- rubymamis 2y agoA. Indeed, that requirement only apply to EV cert (at least for the cert authority I used). B. That's not always the case with indie developers. C. Well, it took me. My cert authority was GlobalSign. > but contrary to the urban legend they are not getting instantly shit-canned by the Defender. That was not my experience. Try to download an unsigned binary using Edge and see what happens. From what I remember (I'm on macOS, mostly), they are "getting instantly shit-canned".
- lazyeye 2y agoThere is a new approach to doing code-signing called "trusted signing". Havent used it myself so can't comment on the benefits https://www.advancedinstaller.com/trusted-signing-integration.html https://www.advancedinstaller.com/trusted-signing-integratio... https://learn.microsoft.com/en-us/azure/trusted-signing/overview https://learn.microsoft.com/en-us/azure/trusted-signing/over...
- mike_hearn 2y agoThey don't produce a warning on launch, but browsers will make it hard to open unsigned installers. Edge makes it especially hard. Chrome less so.
- mceachen 2y agoWho was your EV cert vendor? I've recently used two different vendors, replied within minutes to each of their queries in hopes of expediting the process, but each time it took the better part of 2 months before I was in possession of a USB signing key. This is for a Delaware C-corp, so it was about as vanilla as it could be for their side.
- bagels 2y agoJust went through the code signing odyssey. It is a racket, but it did not take me a month. It took me a week and a half, including integration in to automated builds.