mirror of
https://github.com/bitwarden/ios.git
synced 2025-12-10 00:42:29 -06:00
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:
parent
f705a2a264
commit
41181fccf2
@ -123,7 +123,7 @@
|
||||
"kind" : "remoteSourceControl",
|
||||
"location" : "https://github.com/bitwarden/sdk-swift",
|
||||
"state" : {
|
||||
"revision" : "1e16ec0e5e3f7045a82b747dc9cf5ddf06e13448"
|
||||
"revision" : "8266e167ae8e80f1bf1e9ab96ee5a4d46162c059"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@ -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:
|
||||
|
||||
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user