Repository navigation
Security fixes for kuma run, Homebrew, the nostr bunker and more. kuma install works on real disks again, restores pick the right backup, and the image is smaller.
Before you update:
- If you use Homebrew, don't open a root terminal or run
sudo kuma difforsudo kuma captureuntil you have updated and restarted. The published niri image includes Homebrew. Don't usekuma runfor anything you don't trust until then either (see Security). - The desktop's Update button does not install this release. From 44.6.0 to 45.8.0 it fails on an installed niri machine (see Fixed). Where it works, it keeps the kuma and the bunker you have. Upgrade in a terminal instead. Later releases need the same, so
kuma upgrade --checksays when there is one.kuma upgradeonly works where an image is published, and only niri's is. On COSMIC or without a desktop, build with the new kuma instead. - If you have ever built your own niri system, do not use your installed kuma for this upgrade. That includes
kuma update --yesand the Update button. In 44.15.1, 44.15.2, and 45.0.1 to 45.8.0,kuma upgradecan leave out parts of your setup (see Fixed). Use the new kuma, which has the fix. This also works if you never built your own:
console $ curl -LO https://github.com/Letdown2491/kumaOS/releases/download/v45.9.0/kuma-x86_64-unknown-linux-musl $ chmod +x kuma-x86_64-unknown-linux-musl $ ./kuma-x86_64-unknown-linux-musl upgrade --yes
Do not use sudo. Restart, and kuma --version should say 45.9.0. Then delete the download. SECURITY.md says how to check that it came from us. If you never built your own system, the installed kuma upgrade --yes is fine.
- Tailscale, Trayscale and
git-core-docleave the niri example. A machine that follows the published niri image without its own declaration loses all three. The COSMIC example drops Trayscale andgit-core-doc. To keep one, name it in your declaration. For Tailscale, addtailscaletorpmandtailscaled.serviceto[services]enable. Homebrew's tailscale does not set up that service.git help <command>needsgit-core-doc. - The first unlock ties your pairings to the key it finds. If you ever destroyed or replaced your identity, run
kuma-nostr appsfirst. Revoke any app you no longer want. - COSMIC is deprecated.
desktop = "cosmic"still works, but a later release will remove it. Usedesktop = "niri"instead.kuma checkand image builds say so. - Building an image now downloads htree from GitHub. This includes
kuma updateand the desktop's Update button. If GitHub can't be reached, the build may fail, but the running system doesn't change.kuma upgradedoesn't need this download. Building a live ISO with a desktop also downloads Zen from GitHub. Neither needs a GitHub account.
Security
- Harmful videos could trigger memory bugs in the file manager. On niri, versions 44.7.0 to 45.8.0 had bugs in Koguma's own code. Copies from our releases also had their own FFmpeg 8.0, which system updates couldn't fix. One of its known bugs, CVE-2026-8461, can sometimes let a video run code. Opening a folder in grid view may be enough to trigger some of these bugs. Koguma now has fixes for its own bugs and uses the system's FFmpeg. Until you update and restart, don't use it to open videos or AVIF pictures you don't trust, or folders that contain them. If you build your own image, update kuma and rebuild kumaUI too. The build now stops if Koguma can't use the image's FFmpeg, and the message says what to do. Your current system stays as it is.
- The bunker checks an event's signature before it acts on it. A relay could resend a captured request with a new id and date, or use up a paired app's rate limit.
- Answered requests stay answered. The replay memory now survives a lock, an unlock and a rotation. After a restart, requests dated before it are refused, so an app has to send those again. Strangers can no longer fill the memory that protects paired apps.
- Locking no longer waits for relays. A relay that stopped responding could leave the key in memory and block other commands.
- Pairings belong to one identity. A new key, or a destroy, unpairs every app and drops remembered approvals and waiting prompts. Revoked apps stay revoked, at Ask. An approval for a removed app, or a request sent to an earlier identity, no longer runs.
- An un-revoked app stays out until it uses a new URI. It used to come back at its old level after a lock and unlock, or a restart. An app un-revoked by an older version still counts as paired. Revoke or delete it to keep it out.
- Waiting requests are limited to 32 for each app and 128 in all. An app that logged out while a request waited could also stop the daemon answering. If a thread panics now, the daemon exits and systemd restarts it.
kuma runshows a command only what it needs. From 45.1.0 to 45.8.0, the command could read other files you can read, such as snapshots of your home folder, andno-homecould send them over the internet. It now gets the system's programs and settings, Homebrew's programs, and the folder you run it in. Copy anything else it needs into that folder. It also refuses to run in a snapshot or a system folder such as/proc.kuma run no-homecan't connect to your X11 apps. It now blocks abstract sockets from outside the sandbox. This needs Linux 6.12 or newer with Landlock turned on, which kumaOS has. On systems without it,no-homeno longer runs.airlockstill does, but it has no internet.kuma doctorwarns about signature settings that replace the system's. With your ownpolicy.json, updates might not check kumaOS's signature. The warning says what to do.- An app can't hide a Blossom delete behind another action. kuma looked only at the first action in a request, but signed them all. At Basic, or with a remembered approval, an app could get permission to delete files without asking. At Ask, the prompt could name only the safe action. Now only one download, upload or list can skip the prompt or be remembered. Anything else always asks, unless the app is set to Trust, and the prompt shows every action. In 44.4.0 and 44.5.0, Basic allowed every Blossom action.
- An app can't put its own words in an encrypt or decrypt prompt. The prompt now shows the other person's key only if it's a real one.
kuma-nostralso removes terminal control codes from prompts. - A relay's redirect follows the rules for relay addresses. It must use
wss://. Only a relay on this computer can usews://, and only to send you to another one on this computer. - Writing
kuma.lockno longer changes its folder's permissions. Withsudoand a config file in a folder such as/etc, it could stop other programs from using that folder. An existing folder keeps the permissions it has now. - Root no longer runs Homebrew, either when a terminal opens or for
sudo kuma diffandsudo kuma capture. Homebrew's files belong to the first account (user ID 1000), so from 0.2.0 to 45.8.0 that account, or malware running as it, could change them and wait for root to run them. Other accounts still run Homebrew, so they have to trust the first one. If you changed/etc/profile.d/kuma-brew.shor/etc/fish/conf.d/kuma-brew.fish, the update keeps your copy. After you restart, replace it:
console $ sudo cp /usr/etc/profile.d/kuma-brew.sh /etc/profile.d/ $ sudo cp /usr/etc/fish/conf.d/kuma-brew.fish /etc/fish/conf.d/
kuma doctor --reporthides the values of apps' environment variables, which can hold tokens. It used to include them, so check any report you have shared. The variable names still appear.- Errors about
kuma.tomlno longer show password hashes, or quote the file. They could show a whole line, or a password hash that kuma didn't accept. Since 45.2.0, a mistake in your ownkuma.tomlcould put them in the system log, and part of that inkuma doctor --report. Errors now say which line or setting is wrong. Check any errors, logs or reports you have shared. If one shows a password, its hash or a token, change that password or token. The update doesn't remove old log entries. - A bad relay address can't add lines to the signer's service file. Since 44.10.0, an image includes that file even when
[nostr]is off, but kuma only checks the addresses when it's on. While it's off, bad addresses are now left out of the file. sudo kuma doctorno longer trusts other accounts' niri settings. From 44.1.0 to 45.8.0, someone with another account could use that file to make it hang or to send hidden control codes to your terminal.- Setting an app's level clears its remembered approvals. An app you moved to Ask could still use one for up to an hour.
- Stopping an image build no longer leaves an AppArmor limit off. Where
kernel.apparmor_restrict_unprivileged_usernsis on, as on Ubuntu, kuma turns it off while it makes the base. Ctrl+C or a crash could leave it off until you restarted. A small helper now turns it back on, even if kuma is killed. nostrmoves to 0.45.8 (#131), where NIP-44 checks its MAC in constant time. The other compatible dependencies are updated too.- ngit moves to 3.2.0, which checks the pairing secret a remote signer returns.
- RPM Fusion's first package has its signature checked. It adds RPM Fusion's repositories and key, and used to be trusted because it came over HTTPS. The key now comes from a Fedora package. Building a desktop image fails if the check does.
Installing
- Installing to a disk image file no longer changes this computer's firmware.
kuma installto a file, and building a disk withkuma vm, could delete the boot entry your computer uses if it was calledkumaOS, then put one that could not start first in the list. If you have used either, runefibootmgrand check the entry for your own disk. Installing to a real disk still adds its entry. kuma installworks on real disks again. From 44.2.0 to 45.8.0 it stopped with "0.0G is too small" on every one. Nothing was written.- A disk that is part of something else is refused before any question: btrfs across several disks, ZFS, bcache, and anything that is not a whole disk. Without the error above, installing to a second disk of a mounted btrfs would have wiped its signature. A clone of a btrfs disk is refused while the original is connected.
- Install checks the disk again right before erasing it. It stops if the disk is now in use, or if its name now belongs to a different disk. It also reads every disk, because traces of an older filesystem can hide a shared btrfs. So it can still refuse after you type
erase, but before anything is erased. Keep every disk connected, because it can't see part of a btrfs on one that isn't. It also stops if it can't finish a check. Some failed checks used to count as "no problem". - In a terminal, install asks everything once, shows your answers, and starts only when you type
erase, even with--yes. Without a terminal,--yesstill installs without asking. Without--yes, a script still gets only the plan. - It asks for the keyboard layout, the time zone and, on live media, whether to keep the Wi-Fi connection. The layout also applies to the disk passphrase prompt.
--keymapand--timezoneanswer the first two. Partition sizes are no longer asked for.--espand--bootstill set them. - Account names that would leave nobody able to log in are refused. A missing group no longer stops the other groups and accounts. Names and groups that only the image can check are checked after the disk is erased.
- The suggested command includes every option you gave. It used to leave out
--restoreand the account options. - The live ISO carries Zen instead of Firefox, so you try the browser the examples install. It is Zen's own build (1.25b), with its updater off. Installed machines still get the flatpak.
- The live ISO is smaller. It is packed more tightly, and leaves out the Nostr Git tools, manuals, most documentation and a Chinese, Japanese and Korean font for terminals. Installed systems still have all of them.
- kuma now says which media installs your own build. The live ISO can't install an image that is only on the machine that built it. The older ISO, from plain
kuma iso, carries the image. 44.2.0 said--livewould become the default in 45.0.0. It has not, and won't until live media can carry the image too. kuma isobuilds again. Fedora 45 moved its repository files, and the older ISO's builder stopped with "There are no enabled repositories". Your image isn't changed.
Backups and restores
kuma install --restoreworks with the published images. Only images with[backup]had the restore service, so the official ISO restored nothing and gave no error. Every image now has it, andrestic. Install refuses an image that can't restore, but can only check after the disk is erased. Restoring does not turn backups on.- The login screen no longer waits for the network when there's nothing to restore. From 0.14.0 to 45.8.0, niri images with
[backup]waited at every startup, for up to a minute. A restore still waits for the network and finishes before you can sign in. - A restore uses the right computer's backup. Install asks which one, or takes
--restore-host. If you don't choose, the first boot uses the only computer there, or the one with this machine's name. Otherwise it restores nothing and logs the names.kuma backup --restoreuses this computer's newest backup, or stops and lists the others. Computers that share a name can't be told apart. - A restore preview and its command use the same backup.
--listshows each backup's computer. Its--jsonoutput is unchanged. - A retried first-boot restore keeps newer files. It also gives up in under a minute when there is no network, and tries again at the next boot. Files you deleted in between come back, and a file with an older date can still be replaced.
kuma backup --initworks on a repository that already exists.kuma hibernate --offno longer loses data. It could empty/etc/fstab, remove entries after kuma's own, or delete other files in the swap subvolume. Turning hibernate on and off before a restart no longer leaves the next boot trying to resume.
Commands
kuma doctorno longer crashes when several of your own services name programs that are gone. It could since 45.7.3.kuma doctorand other messages are easier to understand. Scripts should use--jsonfields, not message text.update --yes,switch --yes,upgradeandrollback --yesstop at once on a machine without bootc.upgrade --check --jsongainsstatus:current,behindorunknown.currentis unchanged.- Under
sudo, kuma finds your declaration when root has none, and says so. It is now used before./kuma.toml.--configstill wins. - The desktop's Update button uses your declaration too, if you are an admin. Before, it tried to build the image's copy, without your changes. Clicking it now applies the ones you have saved, as
kuma update --yesdoes. Nobody else's declaration is used, even if an admin types the password. add,removeandcapturereplacekuma.tomlin one step where they can, and keep its owner and mode.removetakes a name out of every list.- Suggested commands keep
--configand--tag. Anupdatepreview suggestsswitch --yes, which uses the image it just built.switch --tagworks when another tag was built last. On a machine that follows a registry image, barekumasuggestskuma upgrade. kuma vmno longer needsqemu-img. New disks are inraw/disk.raw. A disk you already have keeps working until--rebuildreplaces it.kuma vmstarts its disks with UEFI firmware. Disks made since 44.2.0 need it. It comes with Fedora'sqemu-kvm.kuma runneeds a command, and refuses/tmpand other directories that would give the sandbox your session's sockets.- JSON output:
cleanlists images that containers still use, inimages_held.backup --restoreandsnapshot --restoreprint one document, when the work is done. Bothkeymapcommands includeokandactions. A command with no JSON output says it is ignoring--json. kuma-nostr:appsshows each public key and whether the app is revoked or needs a new URI, andlogshows dates.connectneeds a URI, andlevelchecks its value. With--json, a refused command exits with an error.- Every command has a one-line summary. The rest is in its own
--help.
Image
- kumaUI is now 0.12.0. It adds a quick settings panel and more dock options. The lock screen, notifications and Settings have new looks. Its release notes list everything: https://github.com/Letdown2491/kumaUI/releases/tag/v0.12.0
Super + Sopens quick settings, and the newSuper + Shift + Wopens Wallpapers. To see every setting, click All settings in quick settings, or runkuma-shell msg settings. IfSuper + Shift + Walready does something in your~/.config/niri/local.kdl, your shortcut still wins.playerctlis gone from niri. The media keys don't use it. If your own scripts do, addplayerctltorpm.- The file manager blocks some video formats. These include ProRes, MPEG-1, MPEG-2, WMV and Theora. Videos with TrueHD or WMA sound play silently if their video format is allowed. Open these files in another player instead.
- The image download is smaller. It carried a first initramfs that a later step replaced (about 234 MB), and ngit's archive (14 MB). Neither was in the ISO. ngit is still installed.
git clone htree://works. Every image hashtreeandgit-remote-htree0.5.2, besidengitandgit-remote-nostr. Doctor checks them.- PackageKit and localsearch are gone from both desktops. PackageKit can't install packages on a read-only
/usr. If a printer needs an extra driver package, add it to your declaration. Nothing started localsearch, a file indexer.upowerstays. - There's a new default wallpaper, a mountain lake in green and gold. On niri, the desktop's colors follow the wallpaper by default, so they change too. If you chose your own wallpaper, it stays the same.
Fixed
- People can now change their own password with
passwd. It refused every new password with "error loading dictionary", because the image didn't include the word list it checks passwords against (cracklib-dicts). It's now included. This didn't affect root or signing in. - Admin prompts are ready for systemd 263. That version can stop them from using the list of wrong passwords, and then even the right password fails. They can now write to that list.
kuma upgradekeeps your whole setup when you build your own system (#142). It left out settings that had not changed since your last build and were not in the release. Packages, the account file and the firmware list were lost this way. It now compares yourkuma.tomlwith the release's, adds everything that differs, and takes out what only the release has. It no longer rebuilds everything on top of the release, which could put older scripts back. If it cannot upgrade safely, it stops and says what to do. If an earlier upgrade left something out, this one puts it back.- Extra accounts can be named
syncorkeys. Since 44.13.0, those names, and ones such askeys-alex, could crash a build. - Default apps are ones you have. On niri, Zen and Celluloid were set as default apps even when your
kuma.tomlleft them out. Now a Flatpak app is only a default if you list it, after a build or an upgrade. Doctor also accepts another installed app you chose, so choosing one ends its warning. Live media sets its own browser as the default, and Celluloid, which it does not have, no longer is. - An update now creates the folders its new packages keep in
/var, including packages you add. Only a new install used to get them. Permissions you have changed stay as they are. kuma build,kuma updateand the Update button work on an installed niri machine. From 44.6.0 to 45.8.0 they stopped at "staging kuma-files.desktop: it is not beside the running kuma". The file was in/usr/share, where kuma didn't look.kuma upgradewas not affected, so use it to get this fix.kuma-nostr importcan read an exported key. It never passed the passphrase to the bunker, so importing anncryptsecalways failed, in the desktop's signer too. Files made bykuma-nostr exportare fine and can be imported now.kuma-nostr import < FILEasks for the passphrase.- kuma no longer removes your own Tailscale mappings. Since 44.12.0, a machine that enabled
tailscaled.servicebut notnostr.serverantailscale serve offat every boot. That removed everything served on port 443, though 44.12.0's notes said mappings at other paths were safe. Now only the one kuma makes is removed:/on port 443, to its relay. Mappings that were removed have to be added again. - The bunker no longer stays locked after a fingerprint sign-in. A fingerprint can't open the login keyring, which holds the key. If you have set up a key, you are now asked for your password once each time you sign in. The bunker unlocks when the keyring opens, even if you canceled and another app opens it later. If you lock the bunker, or it locks for inactivity, opening the keyring does not unlock it.
- A typed password no longer waits for the fingerprint reader on niri's login screen. With authselect's
with-fingerprinton, the reader went first, and the login screen gave up before it sent your password. Now a password is checked at once. To use a saved fingerprint, leave the password empty, press Enter and touch the reader. This works withwith-fingerprinton or off. Wrong passwords count toward the 50 that lock an account, and failed touches don't. An account without a password can't sign in there. Automatic sign-in still works. - A saved fingerprint can unlock the screen on niri. It only worked with
with-fingerprinton, and kumaOS ships with it off. Failed touches there don't count toward locking your account. - Doctor warns when a computer has lost the limit on wrong passwords. Sign-in settings changed on a computer stay through updates, so it can miss the limit. Doctor doesn't change them.
- The bunker has enough memory to open its vault. Its limit is now 512M. At 256M it could be killed, or swap while it held the key.
- A pairing list the bunker can't read is kept. It used to be replaced, which lost every pairing and revocation. Until it can be read, no app is paired and none can be.
kuma-nostr statusand doctor say so. - Relay connections are steadier. A message is sent once when the socket is full, a flooding relay can't hold up answers, and a relay that never connects keeps its longer retry delay. The bundled relay no longer misses events as a client subscribes, and drops clients that have gone.
- Flatpak and Homebrew's daily syncs count their skips separately, so one can't hold the other back on a metered connection. A forced sync that fails is retried. A machine that stays metered syncs about every four days. Doctor also sees daily syncs and their failures.
Static x86_64 binary, no runtime dependencies.
$ curl -LO https://github.com/Letdown2491/kumaOS/releases/download/v45.9.0/kuma-x86_64-unknown-linux-musl
$ chmod +x kuma-x86_64-unknown-linux-musl && sudo mv kuma-x86_64-unknown-linux-musl /usr/local/bin/kumaThe image build stages the layer's three binaries from beside the running kuma on every compose, nostr or not, so they install to the same place:
$ curl -LO https://github.com/Letdown2491/kumaOS/releases/download/v45.9.0/kuma-nostrd-x86_64-unknown-linux-musl
$ curl -LO https://github.com/Letdown2491/kumaOS/releases/download/v45.9.0/kuma-nostr-x86_64-unknown-linux-musl
$ curl -LO https://github.com/Letdown2491/kumaOS/releases/download/v45.9.0/nip46-relay-x86_64-unknown-linux-musl
$ chmod +x kuma-nostrd-x86_64-unknown-linux-musl kuma-nostr-x86_64-unknown-linux-musl nip46-relay-x86_64-unknown-linux-musl
$ sudo mv kuma-nostrd-x86_64-unknown-linux-musl /usr/local/bin/kuma-nostrd
$ sudo mv kuma-nostr-x86_64-unknown-linux-musl /usr/local/bin/kuma-nostr
$ sudo mv nip46-relay-x86_64-unknown-linux-musl /usr/local/bin/nip46-relayVerify it came from this workflow:
$ cosign verify-blob \
--bundle kuma-x86_64-unknown-linux-musl.bundle \
--certificate-identity 'https://github.com/Letdown2491/kumaOS/.github/workflows/release.yml@refs/tags/v45.9.0' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
kuma-x86_64-unknown-linux-muslThe image this release publishes verifies with the committed public key — the same key every kuma machine's own policy enforces on update:
$ curl -sSLO https://github.com/Letdown2491/kumaOS/raw/v45.9.0/cosign.pub
$ cosign verify --key cosign.pub ghcr.io/letdown2491/kuma:niri-45.9.0The moving tag is the convenience and the digest is the proof; the verify response prints the digest it checked, and the same command against that digest pins the bytes:
$ cosign verify --key cosign.pub ghcr.io/letdown2491/kuma@sha256:<digest the verify above printed>Built from dd4680f28619b2d276901101745b13441ee13b33.
The installer media on this page verifies the same way:
$ cosign verify-blob \
--bundle kuma-x86_64.iso.bundle \
--certificate-identity 'https://github.com/Letdown2491/kumaOS/.github/workflows/release.yml@refs/tags/v45.9.0' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
kuma-x86_64.iso