Browse Source
An SSH key cipher (type 5) whose sshKey object has null in privateKey, publicKey or keyFingerprint was accepted (the API returned a cipher id), but the key material did not survive the round trip — reading the item back showed the sshKey object gone. Bitwarden's server rejects the same request with a validation error, so an API/CLI client that is correct against cloud got a silent-success + data loss against Vaultwarden. Add a presence check (not key-material validation, matching upstream) that requires the three SSH key members to be present and non-null, returning a validation error otherwise. First-party clients always populate all three, so only hand-built API/CLI payloads were affected. Closes #7514pull/7778/head
1 changed files with 15 additions and 0 deletions
Loading…
Reference in new issue