Files
regent/README.md
raucao 3cb7cb617f Release signing: GPG for the tag and tarball, SSH for the commit
Corrects the signing scheme. The release itself — the annotated tag and a
detached signature over the tarball — is GPG-signed; the release commit is
SSH-signed. Because the GPG key lives on a laptop and the build runs on the
build host, the single script becomes three stages split across two machines:

  prepare <ver>  build host: bump, build, meson dist, SSH-signed commit
  sign    <ver>  laptop:     GPG-sign the tarball and the tag
  publish <ver>  laptop:     Gitea release, AUR, Nostr

The GPG key never touches the build host, and only dist/ travels: the laptop
pulls it over SSH. The two signing formats are set per git command
(-c gpg.format=ssh|openpgp), so neither depends on a machine's global config.

- release.sh: prepare/sign/publish subcommands; SSH commit, GPG tag + detached
  tarball signature; REGENT_SSH_SIGNING_KEY / REGENT_GPG_KEY; a release.env
  handoff that pins the tagged commit; optional dist/ pull.
- AUR regent: the .asc in source and validpgpkeys pinned to _fingerprint.
- .ngit/release.yaml: the .asc and an exported public key, replacing the SSH
  .sig and allowed_signers.
- README, doc/dev/releasing.md, AGENTS.md updated for the split.
2026-11-30 00:28:52 +04:00

2.8 KiB


Regent app icon

Regent


Regent is a Nostr remote signer (NIP-46) for GNOME and other Linux desktops. Applications ask Regent to sign events or to encrypt and decrypt messages, while your private key stays on your machine — and nothing is signed, encrypted or decrypted without your approval, except what you've chosen to allow automatically.

Regent can hold several keys at once and use them in parallel. Each application you pair is bound to the identity it was approved under, so different apps can sign as different keys at the same time.

Status

Early development, but usable. The first release is a 1.0 beta: NIP-46 pairing and approvals, per-app permissions, the activity log, multiple identities, and a NIP-49 encrypted key vault with a passphrase (unlock once, then auto-lock).

Installation

Regent is not in the official repositories. The first release is a 1.0 beta, published on Gitea and in the AUR:

yay -S regent        # the release build
yay -S regent-git    # tracks main

Otherwise build it from source — see Development.

Verifying a release

Every release carries a SHA-256 checksum and a GPG signature, and its git tag is signed with the same key. Download regent-<version>.tar.xz together with its .sha256sum, .asc and regent-signing-key.asc files, then:

sha256sum -c regent-<version>.tar.xz.sha256sum
gpg --import regent-signing-key.asc
gpg --verify regent-<version>.tar.xz.asc regent-<version>.tar.xz

The same key fingerprint is pinned in the AUR package's validpgpkeys.

Repositories & Contributions

The upstream repository is available on both Gitea and ngit (git over Nostr), and issues and pull requests are accepted on either:

Documentation

  • Development — prerequisites, building, running, tests and deployment
  • Releasing — cutting a release: build, sign, tag, and publish to Gitea, the AUR and Nostr
  • Advanced usage — running the signer without a window and pairing from the CLI

License

The code is in the public domain (Unlicense). The Regent name and logo are trademarks, separate from the code license — see TRADEMARK.md.

Contact

E-Mail, Chat, Social, Lightning: raucao@kosmos.org