Skip to content

Refactors cursor installation script to use signed deb distributions#73

Open
rolandboon wants to merge 1 commit intomainfrom
feature/refactor-cursor-update
Open

Refactors cursor installation script to use signed deb distributions#73
rolandboon wants to merge 1 commit intomainfrom
feature/refactor-cursor-update

Conversation

@rolandboon
Copy link
Member

@rolandboon rolandboon commented Feb 23, 2026

We previously downloaded the Cursor AppImage directly from the Cursor website and extracted it ourselves. We used the AppImage because the AUR only offers the beta channel, which has more bugs and integrates poorly with the system terminal (which, in hindsight, might actually be a reasonable security measure 😉).

However, downloading a binary this way doesn't follow security best practices: we have no way to verify that the binary is untampered. Cursor does not publish checksums or GPG signatures for their AppImage downloads.

Cursor's .deb packages are GPG-signed via their APT repository. This PR switches to those, implementing a full verification chain:

  1. GPG key (pinned by fingerprint)
  2. InRelease (signature)
  3. Packages.gz (SHA256)
  4. .deb (SHA256)

The verified .deb is then extracted and installed in an Arch-compatible way.

For the opt-in Nightly track, the script falls back to the unsigned AppImage (with a clear warning), since nightly .deb packages aren't available.

@rolandboon rolandboon requested a review from olafsl February 23, 2026 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant