Rubylight Download 7.0.3
On this page
  1. Team roles
  2. What is signed
  3. Certificates the installer trusts
  4. How a release is signed
  5. Privacy
  6. Check a download
  7. Reporting a problem

Code signing policy #

Rubylight docs › Project

Rubylight's Windows releases are signed with the maintainer's code signing certificate for open-source developers, issued by Certum to Open Source Developer Ramazan Kara, starting with the first release after 4.7.1. Earlier releases are unsigned. The certificate's private key stays in Certum's cloud signing service (SimplySign). The release workflow signs in to it with the maintainer's Certum account and its one-time-code secret, stored as GitHub secrets that only the signing job of a run on main or a v* tag can read. Nightjar's Windows installers and nightjar.exe are signed with the same certificate in the same way.

Team roles #

Rubylight has one maintainer, who holds every role.

Role What it means Members
Committers May change the source code in the repository without another review. Ramazan Kara (RamazanKara)
Reviewers Review every change proposed by someone who is not a committer, such as a pull request, before it is merged. Ramazan Kara (RamazanKara)
Releasers Push the release tag, which builds, signs and publishes the release, deciding whether a build may be released as signed. Ramazan Kara (RamazanKara)

Team members use multi-factor authentication for GitHub. Anyone who can push a release tag or change the release workflow can have a build signed, so only the maintainer can. When the team grows, this table is updated before a new member gets any of these roles.

What is signed #

Only files built from this repository's source code by its GitHub Actions workflow (rust-windows.yml) are signed:

Every signed executable and DLL carries the product name Rubylight and the release's version, and the signing script refuses files that don't (sign-local.ps1). The code signing guide describes the setup.

Files from other projects ship as their projects released them and are never signed with Rubylight's certificate:

The NVIDIA component #

RTX HDR and RTX Video enhancement call NVIDIA's proprietary NGX library and need NVIDIA's nvngx_truehdr.dll and nvngx_vsr.dll, which may not be relicensed under the GPL. No signed file contains them: they ship in a separate, unsigned archive, the NVIDIA component (rust\build.ps1 -Nvidia):

The signed installer and its files contain no NVIDIA code. rust/release/test_release.py checks that the NVIDIA component never reaches signing.

Libraries whose projects publish no signed builds ship unsigned: the Opus DLL and the GCC and winpthreads runtimes from MSYS2, and FFmpeg's avcodec and avutil and the PyroWave library, each built from pinned source. Third-party components lists them all with their licences.

Certificates the installer trusts #

Setup adds certificates to Windows' certificate stores on the PC it installs on. Its first page says so before anything is installed, and uninstalling removes them.

Drivers from other projects that setup installs come with their own install scripts, which may trust their publishers' certificates in the same way.

How a release is signed #

  1. Pushing a version tag (v2.* to v9.*), or the maintainer starting the workflow's release on main, runs the Windows workflow on GitHub-hosted runners. It builds everything that ships from that commit and tests and lints the same commit in jobs of the same run. Nothing is signed until those pass.
  2. A separate signing job, the only one that can read the signing secrets, takes the built package and installer, logs its runner in to SimplySign (certum-login.ps1) and runs sign-local.ps1. That checks that the installer carries exactly that package, then signs Rubylight's own binaries, then the display driver's catalog, made from the signed driver DLL, then the installer built again from the signed package. Each signature gets a timestamp.
  3. The script checks every signature, its signer and its timestamp, and that the catalog covers the driver's files. The workflow publishes the release from the signed files only; if any step fails, nothing is published, signed or unsigned.

Pull requests and ordinary pushes to main are never signed. Changes to build scripts and the workflow are reviewed like any other source code, because they decide what gets signed.

Privacy #

Rubylight streams to the devices you pair and announces itself on your local network so Moonlight can find it. Otherwise it transfers information to other networked systems only when the user or the person installing or operating it asks for it, with two exceptions that are on by default. When the host starts and then once a day, or once a day at a set time if one is chosen, it asks GitHub whether a newer release exists; that request carries nothing about you or your PC beyond the IP address any connection reveals, and setting Updates to off turns it off. While the Steam library is on, the host fetches covers missing from Steam's local cache from Valve's image servers, which receive those games' Steam app IDs; turning the Steam library off stops it. The privacy statement lists every connection Rubylight makes, what each one sends, how to turn it off, and the privacy policies of the services involved.

Check a download #

In Explorer, right-click the installer, choose Properties and open Digital Signatures: the signer is Open Source Developer Ramazan Kara, with a timestamp. In PowerShell:

Get-AuthenticodeSignature .\rubylight-setup-<version>.exe | Format-List Status, SignerCertificate, TimeStamperCertificate

Each release also lists the SHA-256 of its files in SHA256SUMS.

Reporting a problem #

If you think a file signed for Rubylight breaks this policy, open an issue or report it to Certum, which issued the certificate.

View this page on GitHub