Repository navigation
Releases
Ostrilo v0.11.0
Manage where other Nostr apps find you
Open Settings → Relays to publish a read/write relay list for the selected
identity. New keys publish a starter list to your discovery relays by default.
Clear the checkbox during key creation to skip publication. For existing and
imported keys, you choose when to publish. Ostrilo checks for edits from
another client before replacing a list. Profile edits also go to your write
relays. Relays can keep a published list after you roll back or uninstall.
Upload a profile picture or banner
In Edit Profile, choose a file and confirm a host for that upload. Primal,
nostr.build and nostrcheck.me each receive the image, your IP address and your
public key when you choose them. Ostrilo re-encodes still images on your device
to remove embedded metadata and limits the longest side to 2048 pixels.
Animated files keep their original metadata. Save your profile to publish the
new image address, or paste an HTTPS image address as before.
Unlock with your device in Chrome
Turn on Settings → Security → Device unlock to use a passkey after an
auto-lock. You still need your master password after a browser restart, every
30 days, and for actions that reveal or change a key. Changing the password
turns device unlock off. Your passkey provider may sync the credential.
Enrolment and unlock were tested with Apple Passwords and Touch ID on macOS.
They also worked on a Windows Hello test device with local passkey saving
enabled. Broader Windows provider coverage is still under evaluation. Firefox
continues to use your master password.
Upgrading and verifying the download
- Chrome Web Store installs keep their extension ID. If you loaded
0.10.0 unpacked, back up every key before upgrading. Chrome can give the
older build a folder-based ID. The new build uses the store ID, so Chrome
opens a separate vault when those IDs differ. Keep the old install until
you have restored and verified your keys. - GitHub Actions builds the Chrome, Firefox and source ZIPs from the release
commit. Check each archive againstSHA256SUMSand verify its build
provenance withgh attestation verify <archive> --repo macro88/ostrilo.
Ostrilo 0.10.0
This release fixes the two problems reported against 0.9.0:
- Auto-lock now waits as long as you set it. In 0.9.0 the vault could lock
a minute or two after every Ostrilo window closed, whatever the auto-lock
setting said. - Your identity comes back after you unlock. In 0.9.0 the header could read
"Unnamed" and the Public Key card "could not be read" after an unlock. No key
was lost; the screen was showing a list it had read while the vault was
locked.
It also adds Quick start, a backup from Settings for any key, and your own
picture in the header. Site developers should read the BREAKING (API) entry
under Security: permission to read a public key now belongs to one key, so a
site asks again after you switch keys.
Added
- Quick start. The welcome screen has a third option that needs only a
master password: Ostrilo makes one identity and opens Home. It does not show
the key or ask for a backup. It says so plainly, that if you lose access to
this browser before making a backup you may lose the identity, and Home keeps
reminding you with a quiet "This key has no backup" banner and a Back up
button that opens that key's backup in Settings. Dismiss the banner and it
stays away for the rest of the browser session, then returns until the key is
backed up. Quick start is offered only on a new install and never changes an
existing vault. - Back up any key from Settings. Settings → Keys & Identities has a Back
up button on every readable key. It asks for your master password, writes
the same encrypted backup file as first-key onboarding, with its own
passphrase, and then asks you to open the saved file to check that it holds
this key. Only
then is the key marked backed up. The key itself is never shown. A key you
make in Settings or with Quick start is marked No backup until you do
this. An imported key, or one that predates this tracking, is not marked: you
already hold itsnsec, or made its backup in onboarding. - Your own picture in the header. When you save your profile with a picture
address, or press Refresh picture on the Profile screen, Ostrilo loads
that address once, shrinks it to a 96 by 96 pixel copy, keeps the copy on this
device and shows it in the header. Opening the popup or the side panel,
unlocking, switching keys and approval windows make no image request, and
nothing refreshes the copy in the background. If the host refuses the load,
the header keeps its local mark and the Profile screen says the picture could
not be loaded. Saving a profile with no picture, or deleting the key, removes
the copy. See PRIVACY.md for what the image
host can see. - The lock screen says why it locked: you locked it, inactivity (with the
number of minutes), the browser or Ostrilo's background restarting, an update
or reload, a session state Ostrilo could not read, or a clock that moved
backwards. If the background does not answer at all, the screen says "Can't
reach Ostrilo" and offers a retry, where it used to say the vault was locked. window.nostr.capabilities, a frozen{ methods }list of what this
provider implements, for feature detection without calling a method and
reading its failure. It carries no version or build number, on purpose. The
versioning and deprecation policy is in
docs/api-versioning.md.- Why a request was refused, in the activity log. Each denied entry says
whether you denied it, a saved rule did, nobody answered in time, the site
asked too often, Ostrilo was locked, or the signing key could not be read. The
reason is in the JSON export too. The activity preview shows hidden and
direction-control characters escaped, as the approval window already does. - Activity filters see everything. The origin filter lists every origin in
the stored log, not just the loaded page, and the kind filter reaches kinds 5,
22242 and 27235.
Fixed
- A lock while a request was waiting for you now reaches the site as "locked",
not as a refusal. If the vault locked with a signature or public-key prompt
open, the site was told you had said no, and it could not tell that from a
real refusal. It now hears that the vault is locked and can ask again after
you unlock. The activity log already recorded the lock as the reason. - A 35-minute auto-lock now lasts 35 minutes. The browser ends an idle
extension background after about half a minute, and the unlocked keys live
only in that background's memory, so with every Ostrilo window closed the
vault locked itself in a minute or two whatever the slider said. While the
vault is unlocked, Ostrilo now makes one harmless extension call about every 20
seconds to keep the background running, and stops the moment the vault locks
and never past the auto-lock deadline. Keys are still held in memory only,
never written anywhere. If the browser ends the background anyway - an update,
a crash, memory pressure - the vault still locks, and the lock screen says
so. - A stored activity time that was not a number could read as a session that
never expires. It now locks the vault. - Keys and the selected identity are right after every unlock, including an
unlock made in another window or after the background restarted. The key list,
the selection and the settings are re-read once the unlock is confirmed, and an
answer to an earlier request can no longer overwrite a newer one. If the key
you had selected is damaged, it stays selected and Ostrilo names it instead of
quietly switching to another; signing andgetPublicKeyrefuse with
vault_unreadablebefore any approval prompt appears. If the stored selection
points at a key that no longer exists, the fallback is saved. An unlock that
opens none of the stored keys is refused, not reported as success. - Saving the profile of a key that was not first in the vault signed the
update with the wrong key. Signing with no key named now means the selected
key, never another. - Activity export covers the whole log. With retention above 100 entries the
export failed, because it asked for more entries in one request than the
request allows. It now reads the log in pages. - A page that gets a failure gets a documented code. Two messages the
content script made up ("Invalid event parameter", "Unknown method") are now
invalid_eventandunknown_method, codes the documentation already listed as
what a page receives, so this is a patch-level correction under the
versioning policy and not marked breaking. A page waiting for approval when the
browser ends the background getsapproval_failedinstead of the browser's own
error text. Everything a page can receive is one of the codes in
docs/rpc-error-codes.md, which was rewritten and is
now checked against the code by a test. If your dApp matched on the old
strings, match on the codes. - Changing a setting no longer drops your relay connections. A theme change,
for example, used to close every relay socket. - A long profile value no longer widens the popup. A long website or picture
address, or a long about text, wraps or truncates inside the popup and inside
a 400-pixel-wide side panel (both are checked by an end-to-end test). - A site that floods the activity log is recorded once per window. Rate-limited
requests from one site are coalesced into one entry per window, so a page
cannot push your real history out of a log that keeps 50 entries. - Accessibility. Red chips, secondary text and the welcome hint now meet 4.5:1
contrast in their themes (--ink-redand--ink-2are a few percent darker in
the light theme). The header's key selector is a menu, not a listbox, so a
screen reader reports it as one. Password errors are announced and tied to
their field. An end-to-end test scans 36 surfaces in both themes with axe, and fails the
e2e run (nightly, on pushes to main, and on pull requests labelledrun-e2e)
on a serious or critical finding. - Smaller: the approval window said "1 bytes" for one byte; the Home banner no
longer points a key that cannot be read at a Back up button that is disabled
for it.
Behaviour changes
- A site that signs a lot is asked about, not cut off. A site you let
sign without asking, through a remembered allow rule, high trust or a session
grant, can have 60 requests per minute signed without a prompt. The 61st opens the approval window like a request from a site you have not
trusted, with a line saying why. The limits for the approval queue and for
getPublicKeyare unchanged, and the counters now survive the background
restarting. - A refusal in the activity log can read "Not signed: the signing key could not be
read" under a Denied entry, when a key failed after the request was
accepted. It was not your choice, and the line says so. - BREAKING (RPC): an unlock that opens none of the stored keys fails with
vault_unreadable. It used to succeed with an empty vault. Internal;
nothing a page can reach. - Internal, additive:
state.getLockanswerslockReasonandinactivityMinutes
when locked, andvault.generatetakesonlyIfEmpty, which Quick start uses so
a second window cannot overwrite an existing vault.
Security
zodis updated to 4.6.7 for GHSA-mrhx-c7xc-m3w5. Ostrilo useszodto
check every message that reaches its background, including requests from web
pages, and the earlier version could be made to use excessive memory while
checking an oversized value. Build and test tools with high-severity
advisories are updated too; none of them ships in the extension.- BREAKING (API):
getPublicKey()consent now belongs to one key. Allowing a
site to read your public key applied to every identity i...
Ostrilo 0.9.0
First public release. The 0.8.0 entry below was written while the repository
was still private; that version was never tagged, released or published to a
store, so a first-time reader should take the two sections together as the
description of what 0.9.0 ships. The behaviour and RPC changes in this section
are written for anyone who was running a 0.8.0 development build.
Added
- Change your master password from Settings → Security. It asks for the
current password - counted against the same backoff as unlocking - and a new
one that meets the same rules as creating a vault. Your keys are re-encrypted
under the new password without being exported or re-imported, and this browser
stays unlocked. If the browser closes or storage fails part-way through, the
next unlock finishes or undoes the change: whichever password you type, old or
new, opens a vault with every key intact. Encrypted backup files keep their own
passphrase and are not affected.
Behaviour changes
- Settings, site permissions and relays no longer sync between browsers.
They were kept in browser sync storage, so a permission you granted under
this vault's password -hightrust, anallowrule, sharing your public
key, a longer auto-lock - took effect on every other browser signed into the
same account, without that browser's password and even if it held a
different vault. Anyone with access to your browser account could have
granted their own site silent signing on your devices. Everything is now
stored on the device; only the side-panel preference still syncs. - On upgrade your existing settings are copied to the device unchanged, and the
copy in browser sync is then deleted. If you use Ostrilo in more than one
browser, set each one up separately from now on. A browser on the same
account that has not yet updated loses its synced settings when another one
updates, and asks again for each site until it updates too.
Security
- BREAKING (RPC):
policy.setOriginaccepts onlyname,trustLeveland
identityDisclosure. A patch carryingrules,sessionGrantAllor
updatedAtis refused withinvalid_params. Per-kind rules go through
policy.setKindRuleand session grants throughpolicy.setSession, both of
which already ask for the password where the value grants authority. The old
patch let one message write{ "0": "allow" }for a site with no password at
all. SettingidentityDisclosure: "allow"throughsetOriginnow needs the
password too, likehightrust; tightening toaskordenystays free. - The background no longer believes the page origin a
nostr.*message names.
It derives the origin from the browser-attested sender - this extension's
top-frame content script on anhttps:page - and refuses a request whose
claimed origin disagrees withinvalid_origin, before any service runs.
Single-page apps that route withhistory.pushStateare unaffected. - Every master-password check now shares the unlock throttle: re-authentication
for high-risk actions, revealing a key, and adding a key to an existing vault
count against the same backoff as unlocking, and a correct password on any of
them resets it. The password dialog shows a backoff as a wait with its
remaining time instead of as an incorrect password. - Unlocking an already-unlocked vault now zeroizes the private keys it replaces
instead of dropping them unerased. - Locking always denies pending approvals and clears the badge, even when the
settings write during lock fails; the failure is still reported. - KDF parameters read from the vault or from a backup file are bounded above as
well as below, so a crafted file cannot stall the page that opens it with an
enormous memory cost. An out-of-bounds backup fails with the same message as a
wrong passphrase. - The approval-window command answers only the extension's own pages; a web
page can no longer raise it.