04a6031c5d
- 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.
32 lines
800 B
TOML
32 lines
800 B
TOML
[workspace]
|
|
resolver = "3"
|
|
members = ["crates/*"]
|
|
|
|
[workspace.package]
|
|
version = "0.20.0"
|
|
edition = "2024"
|
|
license = "MPL-2.0"
|
|
repository = "https://gitea.marek-novak.cz/mnovak/CustosPublic"
|
|
|
|
[workspace.dependencies]
|
|
argon2 = { version = "0.6", default-features = false, features = ["alloc", "zeroize"] }
|
|
chacha20poly1305 = "0.11"
|
|
zeroize = { version = "1.9", features = ["derive"] }
|
|
rand = "0.10"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
thiserror = "2"
|
|
unicode-normalization = "0.1"
|
|
hmac = "0.13"
|
|
sha1 = "0.11"
|
|
sha2 = "0.11"
|
|
hkdf = "0.13"
|
|
data-encoding = "2"
|
|
percent-encoding = "2"
|
|
|
|
# RSA-3072 key generation (custos-sign) takes minutes unoptimised; these keep `cargo test` usable.
|
|
[profile.dev.package.num-bigint-dig]
|
|
opt-level = 3
|
|
[profile.dev.package.rsa]
|
|
opt-level = 3
|