Decryption error / vault not synchronizing on any client #7611
Replies: 2 comments 4 replies
|
Any idea which client might have added this entry? |
|
What the error means precisely: an To recover:
If you can tell BlackDex which client/version created the newest entries before it broke, that's the datapoint that helps them pin the client-side serialization bug at the source. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Clients I have tested: Bitwarden Extension, the Vaultwarden web interface, Bitwarden on Mobile. All give a very similar error (in the logs, the UI gives a generic error or keeps loading indefinitely):
This seems related to other breakages, for example #7607, however just downgrading the extension does not work, neither does swapping over to the
testingtag. I believe what might've happened is that an invalid record made it into the database, there does not seem to be any database corruption when comparing to backups, logging in and out works fine.Creating a new user and using its vault also works.
Edit: I have restored a database backup, which solved the problem, diffing the database, the only differing record is (apart from some details in the
usersanddevicestables which do not seem relevant), in thecipherstable:Your environment (Generated via diagnostics page)
Config & Details (Generated via diagnostics page)
Show Config & Details
Config:
{ "data_folder": "data", "database_url": "**********://*******************************************************************************************", "icon_cache_folder": "data/icon_cache", "attachments_folder": "data/attachments", "sends_folder": "data/sends", "tmp_folder": "data/tmp", "templates_folder": "data/templates", "rsa_key_filename": "data/rsa_key", "web_vault_folder": "web-vault/", "enable_websocket": true, "push_enabled": false, "push_relay_uri": "https://push.bitwarden.com", "push_identity_uri": "https://identity.bitwarden.com", "push_installation_id": "***", "push_installation_key": "***", "job_poll_interval_ms": 30000, "send_purge_schedule": "0 5 * * * *", "trash_purge_schedule": "0 5 0 * * *", "incomplete_2fa_schedule": "30 * * * * *", "emergency_notification_reminder_schedule": "0 3 * * * *", "emergency_request_timeout_schedule": "0 7 * * * *", "event_cleanup_schedule": "0 10 0 * * *", "auth_request_purge_schedule": "30 * * * * *", "duo_context_purge_schedule": "30 * * * * *", "purge_incomplete_sso_auth": "0 20 0 * * *", "domain": "*****://*********************", "domain_set": true, "domain_origin": "*****://*********************", "domain_path": "", "web_vault_enabled": true, "sends_allowed": true, "hibp_api_key": null, "user_attachment_limit": null, "org_attachment_limit": null, "user_send_limit": null, "trash_auto_delete_days": null, "incomplete_2fa_time_limit": 3, "disable_icon_download": false, "signups_allowed": false, "signups_verify": false, "signups_verify_resend_time": 3600, "signups_verify_resend_limit": 6, "signups_domains_whitelist": "", "org_events_enabled": false, "org_creation_users": "", "invitations_allowed": true, "invitation_expiration_hours": 120, "emergency_access_allowed": true, "email_change_allowed": true, "password_iterations": 600000, "password_hints_allowed": true, "show_password_hint": false, "admin_token": "***", "invitation_org_name": "Vaultwarden", "events_days_retain": null, "ip_header": "X-Real-IP", "_ip_header_enabled": true, "ip_header_trusted_proxies": "local", "icon_service": "internal", "_icon_service_url": "", "_icon_service_csp": "", "icon_redirect_code": 302, "icon_cache_ttl": 2592000, "icon_cache_negttl": 259200, "icon_download_timeout": 10, "icon_blacklist_regex": null, "icon_blacklist_non_global_ips": true, "http_request_block_regex": null, "http_request_block_non_global_ips": true, "disable_2fa_remember": false, "authenticator_disable_time_drift": false, "experimental_client_feature_flags": "", "require_device_email": false, "reload_templates": false, "extended_logging": true, "log_timestamp_format": "%Y-%m-%d %H:%M:%S.%3f", "use_syslog": false, "log_file": null, "log_level": "info", "enable_db_wal": true, "db_connection_retries": 15, "database_timeout": 30, "database_idle_timeout": 600, "database_max_conns": 10, "database_min_conns": 2, "database_conn_init": "", "disable_admin_token": false, "allowed_iframe_ancestors": "", "allowed_connect_src": "", "login_ratelimit_seconds": 60, "login_ratelimit_max_burst": 10, "unauthenticated_ratelimit_seconds": 60, "unauthenticated_ratelimit_max_burst": 50, "admin_ratelimit_seconds": 300, "admin_ratelimit_max_burst": 3, "admin_session_lifetime": 20, "org_groups_enabled": false, "increase_note_size_limit": false, "_max_note_size": 10000, "enforce_single_org_with_reset_pw_policy": false, "dns_prefer_ipv6": false, "sso_enabled": true, "sso_only": true, "sso_signups_match_email": true, "sso_allow_unknown_email_verification": false, "sso_client_id": "****************************************", "sso_client_secret": "***", "sso_authority": "*****://*********************************************", "sso_scopes": "openid profile email offline_access", "sso_authorize_extra_params": "", "sso_pkce": true, "sso_audience_trusted": null, "sso_callback_path": "*****://**************************************************", "sso_master_password_policy": null, "sso_auth_only_not_session": false, "sso_client_cache_expiration": 0, "sso_debug_tokens": false, "_enable_yubico": true, "yubico_client_id": null, "yubico_secret_key": null, "yubico_server": null, "_enable_duo": true, "duo_use_iframe": false, "duo_ikey": null, "duo_skey": null, "duo_host": null, "_duo_akey": null, "_enable_smtp": true, "use_sendmail": false, "sendmail_command": null, "smtp_host": "**********", "smtp_ssl": null, "smtp_explicit_tls": null, "smtp_security": "off", "smtp_port": 25, "smtp_from": "***************************", "smtp_from_name": "***********", "smtp_username": null, "smtp_password": null, "smtp_auth_mechanism": null, "smtp_timeout": 15, "helo_name": null, "smtp_embed_images": true, "_smtp_img_src": "***:", "smtp_debug": false, "smtp_accept_invalid_certs": false, "smtp_accept_invalid_hostnames": false, "_enable_email_2fa": true, "email_token_size": 6, "email_expiration_time": 600, "email_attempts_limit": 3, "email_2fa_enforce_on_verified_invite": false, "email_2fa_auto_fallback": false }All reactions