Enable AccountEntropyPool

This commit is contained in:
Pete Walters 2025-03-13 08:22:25 -05:00 committed by GitHub
parent 5a516facc9
commit f6ee99fe33
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 5 deletions

View File

@ -38,10 +38,7 @@ public class AccountKeyStore {
}
public func getMasterKey(tx: DBReadTransaction) -> MasterKey? {
if
FeatureFlags.enableAccountEntropyPool,
let aepDerivedKey = getAccountEntropyPool(tx: tx)?.getMasterKey()
{
if let aepDerivedKey = getAccountEntropyPool(tx: tx)?.getMasterKey() {
return aepDerivedKey
}
// No AEP? Try fetching from the legacy location

View File

@ -60,7 +60,7 @@ public enum FeatureFlags {
public static let useNewConversationLoadIndex = true
public static let enableAccountEntropyPool = build.includes(.dev)
public static let enableAccountEntropyPool = true
public static let libsignalForChat = build.includes(.beta)
}