mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
Expose the store passphrase as Data instead of a base64 string.
This commit is contained in:
@@ -13,7 +13,7 @@ import MatrixRustSDK
|
||||
class AuthenticationService: AuthenticationServiceProtocol {
|
||||
private var client: ClientProtocol?
|
||||
private var sessionDirectories: SessionDirectories
|
||||
private let passphrase: String
|
||||
private let passphrase: Data
|
||||
|
||||
private let userSessionStore: UserSessionStoreProtocol
|
||||
private let classicAppManager: ClassicAppManagerProtocol?
|
||||
@@ -40,7 +40,7 @@ class AuthenticationService: AuthenticationServiceProtocol {
|
||||
appSettings: AppSettings,
|
||||
appHooks: AppHooks) {
|
||||
sessionDirectories = .init()
|
||||
passphrase = encryptionKeyProvider.generateKey().base64EncodedString()
|
||||
passphrase = encryptionKeyProvider.generateKey()
|
||||
|
||||
self.userSessionStore = userSessionStore
|
||||
self.classicAppManager = classicAppManager
|
||||
|
||||
Reference in New Issue
Block a user