Linux: Detect changes in safeStorage backend
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
parent
233a18bc81
commit
16864e381a
4 changed files with 107 additions and 10 deletions
11
ts/util/linuxPasswordStoreFlags.ts
Normal file
11
ts/util/linuxPasswordStoreFlags.ts
Normal file
|
@ -0,0 +1,11 @@
|
|||
// 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',
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue