Updating SDK to 8266e16 (1.0.0-2742-fc75b90) (#2045)

Co-authored-by: bw-ghapp[bot] <178206702+bw-ghapp[bot]@users.noreply.github.com>
Co-authored-by: Carlos Gonçalves <cgoncalves@bitwarden.com>
This commit is contained in:
bw-ghapp[bot] 2025-10-17 16:41:57 +00:00 committed by GitHub
parent f705a2a264
commit 41181fccf2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 9 additions and 5 deletions

View File

@ -123,7 +123,7 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/bitwarden/sdk-swift",
"state" : {
"revision" : "1e16ec0e5e3f7045a82b747dc9cf5ddf06e13448"
"revision" : "8266e167ae8e80f1bf1e9ab96ee5a4d46162c059"
}
},
{

View File

@ -8,14 +8,16 @@ extension BitwardenSdk.InitUserCryptoMethod {
switch self {
case .authRequest:
"Auth Request"
case .password:
"Password"
case .decryptedKey:
"Decrypted Key (Never Lock/Biometrics)"
case .deviceKey:
"Device Key"
case .keyConnector:
"Key Connector"
case .masterPasswordUnlock:
"Master Password Unlock"
case .password:
"Password"
case .pin:
"PIN"
case .pinEnvelope:

View File

@ -1131,6 +1131,7 @@ extension DefaultAuthRepository: AuthRepository {
case .decryptedKey,
.deviceKey,
.keyConnector,
.masterPasswordUnlock,
.pin,
.pinEnvelope:
// No-op: nothing extra to do.
@ -1246,6 +1247,7 @@ extension DefaultAuthRepository: AuthRepository {
)
await flightRecorder.log("[Auth] Migrated from legacy PIN to PIN-protected user key envelope")
case .decryptedKey,
.masterPasswordUnlock,
.password:
guard let encryptedPin = try await stateService.getEncryptedPin(),
try await stateService.pinProtectedUserKeyEnvelope() == nil
@ -1272,7 +1274,7 @@ extension DefaultAuthRepository: AuthRepository {
try await stateService.setPinProtectedUserKeyToMemory(enrollPinResponse.pinProtectedUserKeyEnvelope)
await flightRecorder.log("[Auth] Set PIN-protected user key in memory")
}
case .pinEnvelope:
case.pinEnvelope:
break
}
}

View File

@ -14,7 +14,7 @@ include:
packages:
BitwardenSdk:
url: https://github.com/bitwarden/sdk-swift
revision: 1e16ec0e5e3f7045a82b747dc9cf5ddf06e13448 # 1.0.0-2679-cc36132
revision: 8266e167ae8e80f1bf1e9ab96ee5a4d46162c059 # 1.0.0-2742-fc75b90
branch: unstable
Firebase:
url: https://github.com/firebase/firebase-ios-sdk