Skip to content

Feature request: We should sign our official releases #711

Closed

Description

@justinclift

We should probably sign our official releases for OSX and Windows, to minimise potential weirdness that can arise from OS warnings about unknown software".

This kind of warning popped up on Windows a while back (3.6.0v2 release), and at least one person has mentioned they have problems on OSX due to us not signing our application.

Useful relevant information here for OSX:

    https://successfulsoftware.net/2014/10/17/signing-qt-applications-for-mac-os-x-10-9-5-and-10-10/

Activity

  1. glawrence commented on Aug 6, 2016

    @glawrence
    Contributor

    You link to issue #284 is broken by the way

  2. justinclift commented on Aug 6, 2016

    @justinclift
    MemberAuthor

    Oops, thanks @glawrence. Fixed. 😄

  3. glawrence commented on Aug 8, 2016

    @glawrence
    Contributor

    When I looked into this before I did find some free code signing certificates for open source projects, so GlobalSign for example. They have been doing so since June 2013. They also provide one certificate that work across platforms.

    The other task is to but the code signing step into the build process and consider if the nightly builds need this.

  4. justinclift commented on Aug 8, 2016

    @justinclift
    MemberAuthor

    Cool, that's good info. 😄

  5. justinclift commented on Aug 20, 2016

    @justinclift
    MemberAuthor

    Relevant reference info for Windows:

    GlobalSign page where MS Authenticode compatible certificates can be bought:

    Although places are giving free SSL certificates to Open Source projects, there doesn't seem to be a similar offering in place for MS Authenticate cert's.

    The screenshots here show than even signed files gets warning messages on them, it's only "EV" signed ones (~$US500/yr) which don't:

    That seems fairly scammy. 😦

    From the author of the screenshots above:

  6. justinclift commented on Aug 20, 2016

    @justinclift
    MemberAuthor

    It seems like some "code signing certificates" can be used for both Windows & OSX signing.

        https://www.sslshopper.com/cheap-code-signing-certificates.html

    Choosing one of those might be useful.

  7. justinclift commented on Aug 20, 2016

    @justinclift
    MemberAuthor

    Cheapest option for signing on Windows so far seems to be US$84, through kSoftware:

        http://codesigning.ksoftware.net

    It's a US business, with a link to the US "Better Business Bureau" on their website, with no complaints. So... might be workable.

  8. justinclift commented on Aug 20, 2016

    @justinclift
    MemberAuthor

    Certum has an "OpenSource Code Signing" thing:

        http://www.certum.eu/certum/cert,offer_code_signing.xml

    At first look, it seems cheap at 14 euro's. It doesn't actually seem to do anything useful though, as their certificates aren't something which MS Authenticode can use.

    Certum does offer Authenticode certificates... but they're ~200 euro. Eg, it sounds like a scam for getting traffic 😦

  9. 5 remaining items

  10. justinclift commented on Aug 21, 2016

    @justinclift
    MemberAuthor

    It's taken some doing, but I think signing on OSX is working ok.

    If anyone on OSX has a few minutes to try it, please grab this latest build (3.9.x series) and test if OSX throws up a warning when trying to run it:

        http://nightlies.sqlitebrowser.org/osx-prerelease/DB%20Browser%20for%20SQLite-3.9.0-beta2.dmg

    If it does... looks like I still have more stuff to figure out. 😉

  11. justinclift commented on Aug 21, 2016

    @justinclift
    MemberAuthor

    The nightly build script for OSX has been updated with the signing pieces too, so (in theory) all of our OSX nightly builds should now "just work" without any "unsigned application" type of warning.

  12. revolter commented on Aug 22, 2016

    @revolter
    Member

    Following these steps:

    • download and open beta 2 .dmg
    • drag the .app to the Downloads folder
    • open the .app

    shows this alert:

    screen shot 2016-08-22 at 18 25 24

    This is the alert that should have been gone, right? Could it be because I didn't move it to the Applications folder (though unlikely)?

  13. justinclift commented on Aug 22, 2016

    @justinclift
    MemberAuthor

    Nah, that's a different warning. Not sure if that one's even possible to get rid of.

    The warning being discussed here is the "Gatekeeper" one, whose settings are controlled through OSX System Preferences → Security.

    Most people seem to change it to "Mac App Store and identified developers", which should make the warning go away for signed applications:
    screen shot 2016-08-22 at 16 32 37
    When an unsigned application runs, it gets blocked and this warning pops up:
    screen shot 2016-08-22 at 16 34 45
    (that's from an older nightly, before they were automatically signed)

  14. justinclift commented on Aug 22, 2016

    @justinclift
    MemberAuthor

    Ugh. I just tried out last night's nightly build. There does seem to be something wrong with it anyway. The .app icon is wrong for starters, and the security certificate doesn't seem ok.

    It's probably a good thing that the logs for the nightlies are keep. Will investigate soon. 😄

  15. justinclift commented on Aug 22, 2016

    @justinclift
    MemberAuthor

    So, StartCom are not that good. The person doing the "verification" step has a script to follow, and that script requires me to submit a utility bill showing my phone number.

    Problem is... none of mine do. I don't like phones, and the area I live in has no mobile service. (I generally consider that a positive thing 😁 )

    Bit of an impasse. I've asked them to reach out to their CEO, Eddy Nigg, to intervene. He's been active on the Mozilla mailing lists previously, so he may be able to help (there are people in common we both know, who may be able to vouch for me).

    Unlikely to have a result before tomorrow though.

  16. justinclift commented on Aug 22, 2016

    @justinclift
    MemberAuthor

    Ok, I think the nightly OSX builds are fixed now. It turns out Debug mode builds don't include the icon. Couldn't find a way to adjust that, so the nightlies are back to using Release mode.

    The signing problem seems due to a problem with the way I'd constructed the keychain (where certificates are stored). Moved the certificate to the system keychain... which (in theory) should work. We can check tomorrow to verify that theory == reality in this case. 😄

  17. revolter commented on Aug 23, 2016

    @revolter
    Member

    It looks like I already had that setting selected instead of Anywhere. Tested it with 3.8.0 and it blocked it, and with beta 2 and it opened it correctly.

  18. justinclift commented on Aug 23, 2016

    @justinclift
    MemberAuthor

    StartCom have ok'd my validation, so going through the code signing/learning experience for Windows now. 😉

  19. justinclift commented on Aug 24, 2016

    @justinclift
    MemberAuthor

    With some assistance from the StartCom online chat staff, it's done. 😄

    Closing this now as both Windows (Win64+Win32) and OSX releases will be signed from here on.

  20. self-assigned this
    on Aug 24, 2016
  21. justinclift commented on Sep 26, 2016

    @justinclift
    MemberAuthor

    StartCom is in hot water: https://news.ycombinator.com/item?id=12582534

    Our already issued certificate(s) will still work, if/when we need stuff from them in future there could be problems.

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions