Skip to main content

Function: setEncryptionPassphrase()

setEncryptionPassphrase(ctx: CloudServiceOperationContext, passphrase: string): Promise<CloudStatusSummary>

Defined in: electron/services/cloud/CloudService.encryptionOperations.ts:38

Enables or unlocks passphrase-based encryption.

Parameters

ctx

CloudServiceOperationContext

passphrase

string

Returns

Promise<CloudStatusSummary>

Remarks

Does not upload the passphrase anywhere.

  • Stores the derived key in SecretStore so the user is not prompted every run.