Repository navigation
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.