Skip to content

v0.3.0

Choose a tag to compare

@rcarback rcarback released this 27 Oct 03:15
· 59 commits to main since this release

Note: Every download is signed. The macOS builds carry an Apple Developer
ID signature and Apple notarization, so they install with no Gatekeeper
warning and no Terminal command. The Windows builds carry an Authenticode
signature issued to HADAMARD GATE INCORPORATED. Each release also publishes
SHA256SUMS and an OpenPGP signature over that file. See
Verify Your Download.

Quick Install

macOS / Linux:

curl -fsSL https://gitlab.com/quip.network/quip-node-manager/-/raw/v0.3.0/scripts/install.sh | sh

Windows (PowerShell):

irm https://gitlab.com/quip.network/quip-node-manager/-/raw/v0.3.0/scripts/install.ps1 | iex

Manual Install

macOS

Download the .dmg, open it, and drag the app to /Applications.

Linux

The recommended format is AppImage (works on any distro):

chmod +x quip-node-manager-linux-x86_64.AppImage
./quip-node-manager-linux-x86_64.AppImage

A .deb package is also available for Debian/Ubuntu:

sudo dpkg -i quip-node-manager-linux-x86_64.deb

A signed .rpm package is available for Fedora, RHEL and openSUSE:

sudo rpm --import https://gitlab.com/quip.network/quip-node-manager/-/raw/v0.3.0/.gitlab/release-signing-key.asc
sudo rpm -i quip-node-manager-linux-x86_64.rpm

Windows

Download the .exe and run it. Windows names HADAMARD GATE INCORPORATED as the
publisher. SmartScreen may still warn until the certificate builds reputation
across enough downloads. Click More info, then Run anyway.

Verify Your Download

scripts/install.sh checks the checksum on every run, and checks the signature
as well when gpg is installed. scripts/install.ps1 checks the checksum and
the Authenticode signature on every run, and the OpenPGP signature as well
when gpg is installed. To check a download by hand instead, expand the
section below.

Manual verification steps

Checksums, every platform

Download SHA256SUMS and SHA256SUMS.asc from this release, then import the
release key and check both the signature and the checksum:

curl -fsSLO https://gitlab.com/quip.network/quip-node-manager/-/raw/v0.3.0/.gitlab/release-signing-key.asc
gpg --import release-signing-key.asc
gpg --verify SHA256SUMS.asc SHA256SUMS
sha256sum --check --ignore-missing SHA256SUMS

On macOS, use shasum -a 256 --check --ignore-missing SHA256SUMS for the last
step.

gpg --verify must report a good signature from this key:

Item Value
Key Quip Node Manager Release Signing <rick@postquant.xyz>
Fingerprint A63860E21E7070C2C26FDA5DC85BEAB01AD9FEE3
Type RSA 4096, expires 2029-09-16

GnuPG reports the key as untrusted until you sign it yourself. That warning is
expected. Compare the fingerprint in the output against the value above.

macOS

xcrun stapler validate quip-node-manager-macos-universal.dmg
spctl --assess --type open --context context:primary-signature -v quip-node-manager-macos-universal.dmg

stapler must report The validate action worked. spctl must report
accepted and source=Notarized Developer ID.

Windows

Get-AuthenticodeSignature .\quip-node-manager-windows-x86_64.exe | Format-List

Status must read Valid, and SignerCertificate.Subject must name
HADAMARD GATE INCORPORATED.

Linux RPM

sudo rpm --import release-signing-key.asc
rpm --checksig quip-node-manager-linux-x86_64.rpm

The output must read digests signatures OK. An unsigned package reports
digests OK and still exits 0, so read the words, not the exit status.

The .deb and the AppImage carry no embedded signature. Check those two
against SHA256SUMS as shown above.


v0.3.0

Start Node works again after the quip-solver rename

Upstream renamed the miner project from quip-miner to quip-solver. The rename
moved its container images and changed the name of its macOS bundle. Earlier
versions looked for tags at the old registry path, found none, and stopped
with the message "Cannot determine which … quip-miner version to run."

  • Docker mode pulls the miner from
    registry.gitlab.com/quip.network/quip-solver/v0.3/quip-solver (CPU) and
    …/quip-solver-cuda (NVIDIA GPU).
  • Native mode downloads quip-solver-darwin-arm64.tar.gz. It still accepts
    quip-miner-darwin-arm64.tar.gz, which every stable v0.3 release before the
    rename ships.
  • The quip-solver registry has no stable tag yet, so the Release channel runs
    the newest release candidate until upstream publishes a stable tag.

Start uses the local image cache when the registry fails

  • When the registry does not answer and .env pins no version, the manager
    now takes the newest copy of the image already on the machine. Before, the
    start stopped.
  • When docker compose pull fails but every image is already on the machine,
    the stack starts from those images and the log shows a warning. Before, a
    failed pull stopped the start even when the machine already had every image.

The Windows installer verifies what it downloads

scripts/install.ps1 downloaded the executable straight to its final path
and checked nothing. It also fetched the build job's artifact, which is the
copy that exists before signing.

  • The installer now downloads the signed executable and SHA256SUMS into a
    scratch directory and compares the SHA-256 digest. It then checks that the
    Authenticode signature is valid and issued to HADAMARD GATE INCORPORATED.
    Only then does it move the file into place.
  • When gpg is installed, the installer also checks the OpenPGP signature on
    SHA256SUMS against the pinned release key, the same check install.sh
    makes.
  • Any failed check removes the download and stops the install with a
    message. The PowerShell window stays open so that you can read the message.
  • A release candidate signed with the SSL.com sandbox does not install, because
    Windows does not trust that certificate chain.

Both installers require a single release key

install.sh and install.ps1 compare the pinned fingerprint with the first
key in the downloaded key file. A key file that carried a second key could
then pass that comparison, and gpg would accept a signature from the second
key. Both installers now stop when the key file holds more than one primary
key.

CI lints the install scripts

  • shellcheck runs on scripts/*.sh, and PSScriptAnalyzer and Pester run on
    scripts/*.ps1, in the lint stage of every pipeline that touches them.

The macOS release check matches the signer exactly

scripts/verify-macos-signing.sh accepted any signer name that started with
the pinned Developer ID name, and it read a . in that name as any
character. The check now requires the whole Authority= line to equal the
pinned name, character for character.