()
| 7 | * Get the appropriate secure storage implementation for the current platform |
| 8 | */ |
| 9 | export function getSecureStorage(): SecureStorage { |
| 10 | if (process.platform === 'darwin') { |
| 11 | return createFallbackStorage(macOsKeychainStorage, plainTextStorage) |
| 12 | } |
| 13 | |
| 14 | // TODO: add libsecret support for Linux |
| 15 | |
| 16 | return plainTextStorage |
| 17 | } |
no test coverage detected