Skip to content

Releases

cig 0.4.1

Choose a tag to compare

@moneroism moneroism released this 27 Nov 23:30

cig 0.4.1

cig 0.4.1 is the first signed release, and the first install medium that is a netinstall: the ISO
carries the live system and the installer, and fetches prebuilt packages from cig's package pool.

Download and verify

  • cig-0.4.1.iso.xz (~1.5 GB; 2.8 GB unpacked): xz -d cig-0.4.1.iso.xz, then write it to a USB stick
    (dd if=cig-0.4.1.iso of=/dev/<stick> bs=4M conv=fsync) or boot it as a CD. UEFI only.
  • SHA256SUMS and SHA256SUMS.asc: signed by the release key
    CD38EABE19D767349A620576BFD64F1940F00EA2 (also in release-key in this repository).
  • cig-release.tar.gz and .sig: the release's source tree. smoke update on an installed system
    fetches it and checks it with gpgv against the key the installed release trusts.

Install medium

  • Netinstall: before partitioning, the live system goes online. It tries a cable (DHCP) first. With no
    cable it asks for a WiFi network straight away (WPA2/WPA3-Personal, picked from a scan).
  • Prebuilt packages come from the pool (moneroism/pool). It has one index of every file's SHA256
    and size, signed by the release key and dated, so an older index is refused. Sources come from
    their upstreams, as before.
  • Firmware for the detected drivers is copied from the medium (zstd-compressed on the medium, plain on
    the installed system); never CPU microcode.
  • The WiFi network is asked once, at the start. cig-check (hardware check) runs once on the
    medium; on installed systems it is an optional component, off by default.
  • A failed install says where it stopped and copies its log to the stick's CIG-DATA partition.
  • The medium boots only when exactly one device carries its label; the live system starts only the
    logins and seatd.

Packages

  • New: Chromium 157 (Wayland only, optional, off by default), fuzzel, swayidle, swaylock, yambar
    (with cig's default bar), nnn, cava, clock (cig's own terminal clock), and the toolchains
    Chromium needs to build (llvm, rust, go, nodejs, gn, typescript-go and others).
  • Mesa: Intel (Iris, ANV) and AMD (RADV) drivers by the build's detected GPUs, without LLVM.
  • Kernel linux-hardened 6.18.65: randstruct and stack erase on; unused protocol families
    (PPPoX/PPTP/L2TP and others) no longer built.
  • 32 recipe updates plus security point releases (curl, OpenSSH, unbound, expat, D-Bus).

Security and correctness

  • Every signed source keeps its SHA256 pin too: both must match. A signing key that changes stops
    the pin until the key is checked on the project's own site.
  • Signed release tags and a signed SHA256SUMS for the ISO; smoke update refuses a release older
    than the installed one.
  • The first user is no longer in group input (it could read every key typed).
  • smoke: the inventory seal is checked before anything changes; smoke seal recovers from an
    inventory changed outside smoke.
  • The kernel package kept for reinstalls is root-owned on installed systems.
  • A coverage-guided fuzzer for cig's own C code (test/fuzz).

Tested

Installed on an ASUS VivoBook E210MA (Celeron N4020, Intel graphics, eMMC, Realtek RTL8821CE WiFi)
from the USB stick over WiFi, with prebuilt packages and the generic kernel. WiFi (WPA2, 5 GHz),
graphics, speakers, touchpad, battery and Chromium work, the backlight control and the Bluetooth
controller are found; 105 MB RAM used after
boot with dwl + foot (101 MB without the kernel's per-CPU free pages).

Known issues

  • RAM with dwl + foot: 105 MB on the test laptop; the target is 100 MB.
  • On the test laptop the microphone recording was not heard on playback (cig-check).
  • smoke audit run as a regular user reports dbus's dbus-daemon-launch-helper as modified: the
    file is not readable by users. As root the audit does not report it.
  • Dead keys / Compose don't work yet (no X11 Compose data for xkbcommon).
  • Chromium's GPU acceleration on Intel is not checked yet.