signal-desktop/ts/util/linuxPasswordStoreFlags.ts
ayumi-signal 16864e381a
Linux: Detect changes in safeStorage backend
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
2024-07-24 09:23:17 -07:00

11 lines
391 B
TypeScript

// Copyright 2024 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
// Mapping of safeStorage backends to flags used to activate them.
// See https://www.electronjs.org/docs/latest/api/safe-storage
export const LINUX_PASSWORD_STORE_FLAGS: Record<string, string> = {
basic_text: 'basic',
gnome_libsecret: 'gnome-libsecret',
kwallet: 'kwallet',
kwallet5: 'kwallet5',
};