{
  "tool": "bitwarden",
  "started_utc": "2026-10-16T03:07:54.511237+00:00",
  "server": "https://localhost:8443",
  "tests": [
    {
      "id": "T1",
      "test": "login with a wrong master password is refused",
      "pass": true,
      "rc": 1,
      "stderr": "Username or password is incorrect. Try again"
    },
    {
      "id": "T2",
      "test": "official CLI logs in and unlocks account A (keys from register.py accepted)",
      "pass": true,
      "status": "{\"serverUrl\":\"https://localhost:8443\",\"lastSync\":\"2026-10-16T03:08:01.982Z\",\"userEmail\":\"tester-a@tuh-test.localhost\",\"userId\":\"e726c14d-d2de-4ad5-9315-94ef3ff87980\",\"status\":\"unlocked\"}"
    },
    {
      "id": "T3",
      "test": "create folder + login (TOTP, URI, hidden field), 242-character Unicode secure-note name, card, identity",
      "pass": true,
      "created_ids": [
        "ab36800a-5b9c-4887-84da-ccb95bff63d1",
        "4de4dd3e-1c8a-44af-96d4-1fca69e74ae1",
        "24f41d7b-eb2b-4544-981d-1eac7f713eea",
        "bdbb10e1-4653-4148-ae90-0c98adecfa19"
      ]
    },
    {
      "id": "T4",
      "test": "a second, fresh client on account A decrypts every field of all 4 items and the folder exactly after sync",
      "pass": true,
      "mismatches": [],
      "fields_compared": 21
    },
    {
      "id": "T5",
      "test": "none of the 14 plaintext values (incl. TOTP seed and card number) appears in the server database files (db, wal, shm, journal); positive control (account email) found",
      "pass": true,
      "leaked": [],
      "positive_control_found": true,
      "db_bytes_searched": 529688
    },
    {
      "id": "T6a",
      "test": "plain JSON export contains every field of all 4 items and the folder exactly",
      "pass": true,
      "mismatches": []
    },
    {
      "id": "T6b",
      "test": "CSV export parses as standard CSV and carries the login exactly (folder, notes, username, password, URI, TOTP, custom field)",
      "pass": true,
      "rows": 2,
      "types": [
        "login",
        "note"
      ],
      "header": [
        "folder",
        "favorite",
        "type",
        "name",
        "notes",
        "fields",
        "reprompt",
        "archivedDate",
        "login_uri",
        "login_username",
        "login_password",
        "login_totp"
      ]
    },
    {
      "id": "T6c-encrypted_json",
      "test": "encrypted_json export is marked encrypted and holds none of the plaintext values",
      "pass": true,
      "bytes": 5385,
      "encrypted": true,
      "passwordProtected": null
    },
    {
      "id": "T6c-encrypted_json_pw",
      "test": "encrypted_json_pw export is marked encrypted and holds none of the plaintext values",
      "pass": true,
      "bytes": 4105,
      "encrypted": true,
      "passwordProtected": true
    },
    {
      "id": "T7a",
      "test": "plain JSON export imports into a different account with every field of all 4 items and the folder exact",
      "pass": true,
      "import_rc": 0,
      "mismatches": []
    },
    {
      "id": "T7b",
      "test": "account-restricted encrypted export is refused by a different account because the key does not match (documented behaviour)",
      "pass": true,
      "import_rc": 1,
      "stderr": "ERROR bitwarden_crypto::enc_string::symmetric: error=The decryption operation failed\n\nError decrypting the exported file. Your encryption key does not match the encryption key used export the data.",
      "items": 0
    },
    {
      "id": "T7c",
      "test": "password-protected encrypted export imports into a different account, every field exact, given the export password",
      "pass": true,
      "import_rc": 0,
      "mismatches": []
    },
    {
      "id": "T8a",
      "test": "unlock with a wrong master password is refused",
      "pass": true,
      "rc": 1,
      "stderr": "ERROR bitwarden_crypto::keys::master_key: error=The decryption operation failed\n\nERROR bitwarden_core::client::internal: error=Cryptography error, The"
    },
    {
      "id": "T8b",
      "test": "unlock with the right master password works",
      "pass": true,
      "rc": 0
    },
    {
      "id": "T9",
      "test": "after a 1-bit change to an encrypted field on the server, the client reports a decryption failure and shows the field blank (exit code recorded)",
      "pass": true,
      "client_shows": "",
      "exit_code": 0,
      "stderr": "ERROR bitwarden_crypto::store::context: error=The decryption operation failed\n\nERROR bitwarden_crypto::traits::decryptable: error=The decryption opera"
    }
  ],
  "versions": {
    "bw_cli": "2026.9.1",
    "server": "Vaultwarden 1.37.4 (vaultwarden/server@sha256:efb3cde962015fcc036b2ea625242248611943b27212ebf4392841fb30fad055), SQLite, local container",
    "tls": "Caddy 2.10.2 (caddy@sha256:c3d7ee5d2b11f9dc54f947f68a734c84e9c9666c92c88a7f30b9cba5da182adb) tls internal (throwaway local CA, trusted only via NODE_EXTRA_CA_CERTS for the bw process)"
  },
  "markers_searched": 14,
  "server_visible": {
    "users": {
      "rows": 3,
      "columns": {
        "uuid": "cleartext, e.g. e726c14d-d2de-4ad5-9315-94ef3ff87980",
        "created_at": "cleartext, e.g. 2026-10-16 03:07:53.007361777",
        "updated_at": "cleartext, e.g. 2026-10-16 03:08:25.210812728",
        "email": "cleartext, e.g. tester-a@tuh-test.localhost",
        "name": "cleartext, e.g. TUH Tester A",
        "password_hash": "cleartext, e.g. <86 bytes>",
        "salt": "cleartext, e.g. <193 bytes>",
        "password_iterations": "cleartext, e.g. 600000",
        "password_hint": "empty",
        "akey": "encrypted (type-2 EncString)",
        "private_key": "encrypted (type-2 EncString)",
        "public_key": "cleartext, e.g. MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA9/CNb/IfAE/Nw0DY",
        "totp_secret": "empty",
        "totp_recover": "empty",
        "security_stamp": "cleartext, e.g. <36 bytes>",
        "equivalent_domains": "cleartext, e.g. []",
        "excluded_globals": "cleartext, e.g. []",
        "client_kdf_type": "cleartext, e.g. 0",
        "client_kdf_iter": "cleartext, e.g. 600000",
        "verified_at": "empty",
        "last_verifying_at": "empty",
        "login_verify_count": "cleartext, e.g. 0",
        "email_new": "empty",
        "email_new_token": "empty",
        "enabled": "cleartext, e.g. 1",
        "stamp_exception": "empty",
        "api_key": "empty",
        "avatar_color": "empty",
        "client_kdf_memory": "empty",
        "client_kdf_parallelism": "empty",
        "external_id": "empty",
        "key_id": "cleartext, e.g. d89cccec666884aa69ba5145feec550c"
      }
    },
    "ciphers": {
      "rows": 4,
      "columns": {
        "uuid": "cleartext, e.g. ab36800a-5b9c-4887-84da-ccb95bff63d1",
        "created_at": "cleartext, e.g. 2026-10-16 03:08:12.140037366",
        "updated_at": "cleartext, e.g. 2026-10-16 03:08:12.140245336",
        "user_uuid": "cleartext, e.g. e726c14d-d2de-4ad5-9315-94ef3ff87980",
        "organization_uuid": "empty",
        "atype": "cleartext, e.g. 1",
        "name": "encrypted (type-2 EncString)",
        "notes": "encrypted (type-2 EncString)",
        "fields": [
          "CLEAR:type=1",
          "enc:name",
          "enc:value"
        ],
        "data": [
          "CLEAR:type=0",
          "enc:brand",
          "enc:cardholderName",
          "enc:code",
          "enc:email",
          "enc:expMonth",
          "enc:expYear",
          "enc:firstName",
          "enc:lastName",
          "enc:number",
          "enc:password",
          "enc:totp",
          "enc:uri",
          "enc:uriChecksum",
          "enc:username"
        ],
        "password_history": "empty",
        "deleted_at": "empty",
        "reprompt": "cleartext, e.g. 0",
        "key": "empty"
      }
    },
    "folders": {
      "rows": 1,
      "columns": {
        "uuid": "cleartext, e.g. 37a1a88b-0c9a-4cf9-836f-91547d776587",
        "created_at": "cleartext, e.g. 2026-10-16 03:08:07.838392811",
        "updated_at": "cleartext, e.g. 2026-10-16 03:08:07.838492553",
        "user_uuid": "cleartext, e.g. e726c14d-d2de-4ad5-9315-94ef3ff87980",
        "name": "encrypted (type-2 EncString)"
      }
    },
    "devices": {
      "rows": 2,
      "columns": {
        "uuid": "cleartext, e.g. cab94975-6438-427e-a0cc-faf3813a1005",
        "created_at": "cleartext, e.g. 2026-10-16 03:07:57.489396687",
        "updated_at": "cleartext, e.g. 2026-10-16 03:08:01.986406182",
        "user_uuid": "cleartext, e.g. e726c14d-d2de-4ad5-9315-94ef3ff87980",
        "name": "cleartext, e.g. linux",
        "atype": "cleartext, e.g. 25",
        "push_token": "empty",
        "refresh_token": "cleartext, e.g. <88 bytes>",
        "twofactor_remember": "empty",
        "push_uuid": "cleartext, e.g. 42cdf79f-d99e-48f4-8a77-28eaa40f6367"
      }
    }
  },
  "csv_header": [
    "folder",
    "favorite",
    "type",
    "name",
    "notes",
    "fields",
    "reprompt",
    "archivedDate",
    "login_uri",
    "login_username",
    "login_password",
    "login_totp"
  ],
  "csv_item_types": [
    "login",
    "note"
  ],
  "finished_utc": "2026-10-16T03:09:57.318620+00:00",
  "summary": "15 of 15 passed",
  "markers_note": "Plaintext values are random per run; they are deliberately not stored here."
}