[browser] Firefox: one extension source for Firefox, Edge and Chrome; frames, public suffixes, the caller check, 2FA codes and saving logins; v0.20.0
- custos-browser: fill_allowed (a frame gets a login only when its page would too), public suffixes match exactly only (psl), ports digits only, caller (which extension started the host); spoof tests. - custos-native: answers not_allowed to anything but the Custos extension, browser_totp and browser_save, the frame's and the page's origins, a random session per connection (its match code on Custos's cards). - extension/: manifest.firefox.json (gecko id custos@marek-novak.cz) and manifest.chromium.json, one set of scripts; the popup shows 2FA codes, the save offer and the connection's code; tools/extension.mjs builds each browser and reproducible zips; tools/extension-test.mjs runs the background against a fake browser.
This commit is contained in:
@@ -16,9 +16,11 @@ crates/custos-team team vaults' pure parts: member keys, policy evaluation, s
|
||||
crates/custos-share private share links: XChaCha20-Poly1305 blob, key in the URL fragment, optional password
|
||||
crates/custos-wasm the browser build (web vault + share page): JSON `call` ABI, no wasm-bindgen; js/custos.mjs
|
||||
crates/custos-kdbx KeePass import (KDBX 3.1, 4) and export (KDBX 4); tools/kdbx/interop.sh checks it with keepassxc-cli
|
||||
crates/custos-browser which login belongs on which page (origins, no fuzzy matching), native messaging frames
|
||||
crates/custos-native the browser extension's native messaging host: three ops, rebuilt, to custos.exe's pipe only
|
||||
extension/ the MV3 extension for Edge and Chrome (fixed id jchkapmceepdnlhagfppeckggaecdcmn)
|
||||
crates/custos-browser which login belongs on which page and frame (origins, public suffixes, no fuzzy matching),
|
||||
which extension started the host, native messaging frames
|
||||
crates/custos-native the browser extension's native messaging host: five browser_* ops, rebuilt, to custos.exe's pipe only
|
||||
extension/ the MV3 extension, one source for Firefox (custos@marek-novak.cz) and Edge/Chrome (fixed id
|
||||
jchkapmceepdnlhagfppeckggaecdcmn); tools/extension.mjs builds each, tools/extension-test.mjs
|
||||
docs/FORMAT.md the vault file format, version 1 (versioned; change it before the code)
|
||||
docs/FACTORS.md version 2: any two factors open the vault; the machine store
|
||||
docs/KEYS.md secret keys, API keys and key pairs
|
||||
@@ -36,6 +38,8 @@ docs/TEAM.md team vaults (member slots, kind 6), policies, sign.request
|
||||
```
|
||||
cargo test --workspace # all mandatory tests
|
||||
cargo test --workspace --release # same, faster Argon2
|
||||
node tools/extension-test.mjs # the extension's background against a fake browser
|
||||
node tools/extension.mjs --zip # target/extension/{firefox,chromium}/ and their zips
|
||||
# the browser build, with the server's toolchain (WSL + Nix here; nixpkgs rev as in the Custos flake):
|
||||
nix shell nixpkgs#cargo nixpkgs#rustc nixpkgs#stdenv.cc nixpkgs#lld -c \n cargo build --release --target wasm32-unknown-unknown -p custos-wasm
|
||||
node crates/custos-wasm/js/test.mjs <custos_wasm.wasm> [<vault> <password>] # the JS loader against it
|
||||
|
||||
Reference in New Issue
Block a user