Signed-off-by: Matt Bruce <mbrucedogs@gmail.com>

This commit is contained in:
Matt Bruce 2026-01-14 13:53:04 -06:00
parent c71b9f5fb0
commit 3c04ad18b7

View File

@ -16,9 +16,11 @@ struct SecureStorageSampleApp: App {
// 1. Global Encryption Configuration
// We isolate our library's master key in the Keychain by providing a specific service
// and account name. This prevents conflicts with other apps using the same library.
// We also set PBKDF2 iterations for consistent security across the app.
let config = EncryptionConfiguration(
masterKeyService: "SecureStorageSample",
masterKeyAccount: "AppMasterKey"
masterKeyAccount: "AppMasterKey",
pbkdf2Iterations: 20_000
)
await StorageRouter.shared.updateEncryptionConfiguration(config)