Skip to content

Catgirl Code 0.1.12d

Choose a tag to compare

@github-actions github-actions released this 26 Nov 17:47

Catgirl Code 0.1.12d, an unofficial fork of T3 Code based on T3 Code 0.1.12. It is not affiliated with, endorsed by or supported by T3 Tools, Inc.

New in 0.1.12d

  • The server's command is now catcode. catgirlcode and catgirl-code also work, as links to it. Its folder is ~/.catcode: an older ~/.t3 is moved there once (renamed, not copied) and left as a link, so older apps, a T3 Code server on the same machine, and existing worktrees keep working.
  • Releases are signed. The installer, the apps when they install a server over SSH, and catcode update check SHA256SUMS.sig against the Catgirl Code release key, and refuse a release it did not sign.
  • A server on 0.1.12c or older cannot update itself to this release, because the download's name changed. Run the installer once on that machine, or connect to it from the new Mac app, which installs the new server.
  • The Mac app updates itself from 0.1.12c. The Android app is 0.1.12d too (Catgirl-Code-0.1.12d-android.apk, installs over 0.1.12b): a server it installs over SSH is catcode, and it checks the release signature first.

Machines know this release as version 1.12.4 (tag v1.12.4): that is the number catcode --version prints and catcode update takes. The apps show 0.1.12d.

The server's command is catcode, and it keeps its state in ~/.catcode. The first time it runs on a machine, it moves an older ~/.t3 there and leaves ~/.t3 as a link to it, so nothing is copied or lost. An older t3 command is left as it is.

  • Server (catcode-1.12.4-<platform>.tar.gz): the apps download and start it on a machine they reach over SSH. To install it by hand: curl -fsSL https://github.com/cutesuscat/catgirl-code/releases/download/v1.12.4/install.sh | T3CODE_VERSION=1.12.4 sh
  • Mac (.dmg, Apple Silicon): not signed by Apple. After copying it to Applications the first time, run xattr -cr "/Applications/Catgirl Code.app" once. From 0.1.12c on, the app updates itself from these releases: it asks before it downloads and before it restarts. (The .zip and latest-mac.yml are what it downloads.)
  • Android (.apk): signed with the maintainer's Android key (certificate SHA-256 86ef61499143285f623e9280ed6f429f6a7060ee011fcc996da84994a75262c1), the same key as every earlier Catgirl Code APK, so it installs over them.

Nothing here is signed by Apple or notarized. The Mac app is signed with Catgirl Code's own certificate (SHA-1 36D36A618B3A343FE94F5A8F1738771E30A2042E), and an installed copy accepts only updates signed with it.

SHA256SUMS lists the server archives and the installer. SHA256SUMS.sig is its signature by the Catgirl Code release key, ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK9KUKEMEXbU/UNwqlEyJ7+PB+kSVVIGul/6rMcEk9Cv (fingerprint SHA256:tw8iKtQmCGDNU37fS9cNRufU2X35TUFktaptxCRYUu4), which never leaves the maintainer's machine. The installer, the apps and catcode update refuse a release that key did not sign. To check by hand, with OpenSSH 8.1 or newer:

echo "catgirl-code-releases ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK9KUKEMEXbU/UNwqlEyJ7+PB+kSVVIGul/6rMcEk9Cv" > allowed_signers
ssh-keygen -Y verify -f allowed_signers -I catgirl-code-releases -n catgirl-code-release -s SHA256SUMS.sig < SHA256SUMS
sha256sum --check --ignore-missing SHA256SUMS