Skip to content

Almanac 2.1.7

Choose a tag to compare

@twodxme twodxme released this 24 Oct 21:17
· 91 commits to main since this release
776ee0b

Fixes from a full audit of Almanac.

Fixed

  • "Update all" no longer reports every update installed when the check itself failed. Offline or with a mirror down, checkupdates and yay used to read as "nothing pending"; now Almanac says it could not check.
  • Trimming the package cache works. paccache -rk2 -ruk0 as one command only ever cleared uninstalled packages. It now runs -rk2 and then -ruk0.
  • "Clear old session logs" leaves the running shell alone. After 3 days of uptime it deleted the live Quickshell socket.
  • Removing an AppImage from its row menu asks first. It used to delete the AppImage and its rollback copy at once.
  • The header button always does what it says. A scan finishing under Health, AI or Plugins relabelled it "Update all" while it still ran that page's action.
  • Startup apps the system ships switched off can be switched on. That used to do nothing.
  • Scheduled updates hold a kernel back when the list of pending updates can't be read. almanac-autorun --core-holds --stdin now exits 3 on a line it doesn't recognise, instead of treating it as "nothing core".

Hardening

  • Root commands are named by full path. pkexec, pacman, paccache, journalctl and snapper are never looked up through a PATH that has user-writable npm or mise folders first.
  • The build folder baked into the binary is only trusted when no one else can write to it. Translations, icons and release notes are no longer read from a /tmp/pkg/... folder another account could create.
  • Every settings, cache and history file is written atomically. Each write uses its own temp file, is flushed to disk, then renamed, so two writers or a crash can't leave a broken file. History appends hold a lock.
  • TLS updates. rustls-webpki and webpki-roots are past RUSTSEC-2026-0381/0382, and every HTTP client now trusts the system certificate store.
  • Release packages are built only after CI passes on the tagged commit.
    • The build gets a read-only token; a separate job holds the write token.
    • SHA256SUMS and a signed build-provenance attestation come with the package.

Install

curl -LO https://github.com/twodxme/almanac/releases/latest/download/almanac-x86_64.pkg.tar.zst
sudo pacman -U almanac-x86_64.pkg.tar.zst

Verify the download with sha256sum --ignore-missing -c SHA256SUMS or gh attestation verify almanac-x86_64.pkg.tar.zst --repo twodxme/almanac.