Code Monkey home page Code Monkey logo

Comments (5)

ojdkbuild avatar ojdkbuild commented on June 29, 2024

Hi,

Yes, the problem is caused by the fact, that windows requires MSI installation packages to be crypto-signed by the publisher. For this a valid certificate (approved by Microsoft) is required.

Ojdkbuild MSIs published on GitHub are not going to be signed. SHA256 sums are published for them instead to check their integrity. SHA256 for each binary are published in two places, in download section (example) and inside project tree itself (example) so should not be that easy to tamper.

I think you can use one of two variants to fix that warning (if you want to distribute MSIs to end-users etc):

  1. You may obtain a valid certificate for yourself (your company) and sign ojdkbuild MSIs (MSI binaries can be signed - rebuild is not required) before distributing them. Signing commands look like this:
signtool.exe" sign /v /s my /n "Company Name" /t "http://timestamp.verisign.com/scripts/timestamp.dll" path/to/jdk.msi
signtool.exe" verify /v /pa path/to/jdk.msi
  1. You may use MSIs from Red Hat (warning: registration is required) that are signed by Red Hat key: https://developers.redhat.com/products/openjdk/download/

from ojdkbuild.

waterlink avatar waterlink commented on June 29, 2024

@ojdkbuild Is it hard to get an approved certificate?

Wouldn’t Microsoft give an approved certificate to an open-source community, such as ojdkbuild? Or does it cost money to be an approved publisher?

from ojdkbuild.

ojdkbuild avatar ojdkbuild commented on June 29, 2024

@waterlink , sorry, cannot answer neither of these questions - never tried to obtain such certificate myself.

from ojdkbuild.

waterlink avatar waterlink commented on June 29, 2024

from ojdkbuild.

Calinou avatar Calinou commented on June 29, 2024

Wouldn’t Microsoft give an approved certificate to an open-source community, such as ojdkbuild? Or does it cost money to be an approved publisher?

Microsoft does not hand code signing certificates directly, instead, many companies offer Windows code signing. Certum has a special offer for open source projects, but it's still not exactly cheap (€86 the first year since you need the reader and cryptographic card, then €28 per year).

from ojdkbuild.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.