Linux: Detect changes in safeStorage backend

Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
ayumi-signal 2024-07-24 09:23:17 -07:00 committed by GitHub
parent 233a18bc81
commit 16864e381a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 107 additions and 10 deletions

View 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',
};