Updates
smartdisk update # install the latest releasesmartdisk update -check # only checkIn a terminal, smartdisk checks at most once a day whether a newer version exists and prints a
one-line hint. SMARTDISK_NO_UPDATE_CHECK=1 turns this off.
What is checked
Section titled “What is checked”smartdisk update only installs a new binary when every check passes:
- Origin: all downloads come over HTTPS from
releases.smartdisk.io, from the folder of the announced version. Redirects to other hosts are refused. - Signature:
checksums.txtmust carry a valid Ed25519 signature for the public key compiled into smartdisk. A tampered release bucket cannot push a manipulated binary. - Checksum: the binary’s SHA-256 must match
checksums.txt. - Version: the new binary is run once with
--versionand must report the announced version, so an older, genuinely signed release cannot be passed off as a newer one.
A published version is never overwritten.
Mac app and Homebrew
Section titled “Mac app and Homebrew”- SmartDisk for Mac updates itself with SmartDisk → Check for Updates…, and its bundled
command line tool comes along. There,
smartdisk updatepoints to the app and replaces nothing, and the daily hint stays off. - Homebrew:
brew upgrade smartdisk.smartdisk updatesays so and leaves Homebrew’s copy alone.