Bitwarden passkeys on import, --totp asks for its secret, padded attachments #17
Loading…
Reference in a new issue
No description provided.
Delete branch "board/978-e0cd2d"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Three small changes from the board ticket #978:
login.fido2Credentialsinto the item's passkeys. It handles credential ids in both of Bitwarden's forms (a UUID, orb64.plus base64url), base64url keys and user handles, and counters given as strings or numbers. Creation dates come along, and so does every other field, in a newPasskey.extramap:rp_name,user_display_name,discoverableand the rest. A credential that can't be read is kept as it was in the item'sextra.bitwarden_passkeys, which share links leave out, andplaintext showmentions it. Bitwarden items also keep their creation and revision dates. The test uses a real Bitwarden export with two passkeys (client/tests/fixtures/bitwarden-passkeys.json, from SpecterOps/pass-the-passkey, MIT).--totpasks for the secret. Like--password, it no longer takes a value. You're asked for it, or, when stdin is piped, it reads the line after--password's. An empty or unreadable secret is refused, and--totp SECRETis now a usage error.FileRef.size, so files uploaded before this change open unchanged, and a size larger than the file is refused. DESIGN.md gives the exact formula and drops the old known limit.docs/sis rebuilt, because the share-link viewer readsPasskey.The ticket's HSTS item is in
server/src/lib.rs, which #12 is rewriting, so it's a separate board ticket (#980) that starts once #12 has merged.Tests:
cargo clippy --locked --all-targets -- -D warningsandcargo test --lockedpass locally. New tests:bitwarden_passkeys,totp_is_never_an_argumentandattachments_are_padded.🤖 Generated with Claude Code