pub enum IpcMessage {
Show 33 variants
GetCredential {
domain: String,
page_url: Option<String>,
username: Option<String>,
},
GetExternalSecret {
client_id: String,
domain: String,
field: ExternalSecretField,
purpose: Option<String>,
},
GetExternalSecretResponse {
value: Option<String>,
authorized: bool,
error: Option<String>,
locked: Option<bool>,
},
GetCredentialResponse {
username: Option<String>,
password: Option<String>,
title: Option<String>,
locked: Option<bool>,
denied_reason: Option<String>,
},
ListDomainCredentials {
base_domain: String,
page_url: Option<String>,
},
ListDomainCredentialsResponse {
credentials: Vec<CredentialSummary>,
locked: Option<bool>,
denied_reason: Option<String>,
},
GetTotpCode {
domain: String,
page_url: Option<String>,
username: Option<String>,
},
GetTotpCodeResponse {
code: Option<String>,
seconds_remaining: Option<u32>,
locked: Option<bool>,
denied_reason: Option<String>,
},
SaveCredential {
domain: String,
username: String,
password: String,
url: Option<String>,
save_trigger: Option<String>,
},
SaveCredentialResponse {
success: bool,
error: Option<String>,
locked: Option<bool>,
},
SaveSecret {
client_id: String,
domain: String,
value: String,
purpose: Option<String>,
},
SaveSecretResponse {
success: bool,
locked: Option<bool>,
error: Option<String>,
},
DeleteSecret {
client_id: String,
domain: String,
},
DeleteSecretResponse {
deleted: bool,
locked: Option<bool>,
error: Option<String>,
},
UnlockVault {
master_password: String,
},
GrantSitePermission {
host: String,
allow_insecure: bool,
},
GrantSitePermissionResponse {
success: bool,
error: Option<String>,
},
RevokeSitePermission {
host: String,
},
RevokeSitePermissionResponse {
success: bool,
removed: bool,
error: Option<String>,
},
ListSitePermissions,
ListSitePermissionsResponse {
permissions: Vec<SitePermissionSummary>,
locked: Option<bool>,
},
UnlockVaultBiometric {
prompt_reason: Option<String>,
},
UnlockVaultResponse {
success: bool,
error: Option<String>,
},
CheckVault,
VaultStatusResponse {
unlocked: bool,
key_epoch: i64,
},
LockVault,
Shutdown,
SyncNow,
SyncNowResponse {
success: bool,
pushed: u64,
pulled: u64,
error: Option<String>,
},
SyncStatus,
SyncStatusResponse {
enabled: bool,
device_id: Option<String>,
device_name: Option<String>,
relay_url: Option<String>,
last_sync_at: Option<i64>,
pending_changes: u64,
},
ServiceCall {
op: VaultOp,
},
ServiceResult {
outcome: ServiceOutcome,
},
}Expand description
IPC message types
Variants§
GetCredential
Browser-surface credential delivery (WBS-711). page_url is the
full URL of the requesting page as reported by the browser (the
native host forwards the validated sender URL, never a content-
script-claimed value). The daemon parses it with the WHATWG parser
and DEFAULT-DENIES delivery for plain-HTTP and unverifiable
origins; the scheme-validated host is the lookup identity.
serde(default) keeps pre-711 peers deserializing (they are then
denied as origin-unverified — fail-closed).
Fields
GetExternalSecret
GetExternalSecretResponse
Fields
GetCredentialResponse
Fields
ListDomainCredentials
ListDomainCredentialsResponse
GetTotpCode
Fields
GetTotpCodeResponse
Fields
SaveCredential
Fields
SaveCredentialResponse
SaveSecret
External tool writes (upserts) one secret value for one scope. Requires a token-enforced grant with allow_write.
SaveSecretResponse
DeleteSecret
Defined for protocol completeness; the daemon currently rejects deletion because third-party-created entries have no ownership tracking yet (schema v5 shipped registry ownership groundwork; the delete decision itself stays deliberately rejected per ADR-001 D1).
DeleteSecretResponse
UnlockVault
GrantSitePermission
Grant (or re-confirm) plain-HTTP autofill for one host. The host is normalized daemon-side; the grant is EXACT-host (no suffix matching). Browser-surface gated: only the native host may manage grants.
GrantSitePermissionResponse
RevokeSitePermission
Revoke any grant for host (deletes the entry immediately).
RevokeSitePermissionResponse
ListSitePermissions
List all per-site grants (popup settings view).
ListSitePermissionsResponse
UnlockVaultBiometric
UnlockVaultResponse
CheckVault
VaultStatusResponse
Fields
LockVault
Shutdown
SyncNow
Trigger a sync cycle now (push + pull).
SyncNowResponse
Response to SyncNow.
SyncStatus
Get sync status.
SyncStatusResponse
Sync status response.
Fields
ServiceCall
One vault application-service call — the single shape UI, CLI, and
the native host use for vault operations (see crate::service).
ServiceResult
Outcome of a IpcMessage::ServiceCall.
Fields
outcome: ServiceOutcomeTrait Implementations§
Source§impl Clone for IpcMessage
impl Clone for IpcMessage
Source§fn clone(&self) -> IpcMessage
fn clone(&self) -> IpcMessage
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more