raucao 9d861d41ac
CI / test (push) Successful in 1m21s
CI / test (pull_request) Successful in 1m20s
signer: let the user remember a decryption
An approved chat client re-reads its whole message history on every launch, so
refusing to remember a "yes" produced a prompt per message. That is prompt
fatigue rather than a control: it trains the user to click through, and the
prompts it trains them through include the ones that matter.

"Always" now stores a `Permission::Method` for `nip04_decrypt` / `nip44_decrypt`
exactly as it already did for encryption — per application and per method, so a
NIP-44 grant never silently answers NIP-04. The dialog discloses the scope in an
above-the-fold banner (every peer, and older messages fetchable from any relay),
the Apps page lists the grant as a removable permission, every silent answer is
recorded in the activity log, and the auto-approval rate limit still bounds a
silent stream. The vault gate is unchanged: a granted decrypt on a locked vault
still raises the unlock prompt, and headless still denies while locked.

The grant is deliberately not peer-scoped: a NIP-17 gift wrap is signed by a
fresh ephemeral key per message, so a peer-scoped rule would match only the
inner seal and still prompt for every wrapper.

The disclosure banners are warning-tinted. libadwaita tints an `AdwBanner`
through its `--banner-color` variable, and its own `.warning` class changes
nothing on a banner (it only recolours the foreground, which the banner's inner
widget overrides) — so `style.css` maps the class to `--warning-bg-color` and
rounds the corners.
2026-12-01 12:14:32 +04:00
2026-11-30 19:59:04 +04:00
2026-11-30 19:59:04 +04:00
2026-11-13 14:22:57 +04:00
2026-11-30 19:59:04 +04:00
2026-11-30 22:46:36 +04:00
2026-11-25 15:50:43 +04:00


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

Pre-1.0, but usable. The current release is 0.9.0 — the version is below 1.0 because Regent does not yet promise a stable interface, so expect things to move between releases. It covers 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).

Before this release Regent went through an internal security review, and every finding was addressed. That is a self-review, not an independent audit, and it does not mean the code is free of bugs — please review it and report anything that looks wrong.

Installation

Regent is not in the official repositories. The first release is 0.9.0, a pre-1.0 release 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

Acknowledgements

Regent is built on the Nostr Dev Kit libraries (formerly rust-nostr) by Yuki Kishimoto and Awiteb — the nostr and nostr-sdk crates implement the NIP-46, NIP-44/NIP-04 and NIP-49 primitives Regent relies on. Thank you.

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

S
Description
A native Nostr signer for Linux
Readme Unlicense
6.1 MiB
0 Stars 1 Watchers 0 Forks
v0.9.3
Latest
2026-12-01 13:32:24 +00:00
Languages
Rust 88.9%
Shell 7.9%
Python 1.7%
Meson 0.9%
Dockerfile 0.3%
Other 0.3%