mirror of
https://github.com/bitwarden/ios.git
synced 2025-12-11 23:33:36 -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",
|
"kind" : "remoteSourceControl",
|
||||||
"location" : "https://github.com/bitwarden/sdk-swift",
|
"location" : "https://github.com/bitwarden/sdk-swift",
|
||||||
"state" : {
|
"state" : {
|
||||||
"revision" : "1e16ec0e5e3f7045a82b747dc9cf5ddf06e13448"
|
"revision" : "8266e167ae8e80f1bf1e9ab96ee5a4d46162c059"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@ -8,14 +8,16 @@ extension BitwardenSdk.InitUserCryptoMethod {
|
|||||||
switch self {
|
switch self {
|
||||||
case .authRequest:
|
case .authRequest:
|
||||||
"Auth Request"
|
"Auth Request"
|
||||||
case .password:
|
|
||||||
"Password"
|
|
||||||
case .decryptedKey:
|
case .decryptedKey:
|
||||||
"Decrypted Key (Never Lock/Biometrics)"
|
"Decrypted Key (Never Lock/Biometrics)"
|
||||||
case .deviceKey:
|
case .deviceKey:
|
||||||
"Device Key"
|
"Device Key"
|
||||||
case .keyConnector:
|
case .keyConnector:
|
||||||
"Key Connector"
|
"Key Connector"
|
||||||
|
case .masterPasswordUnlock:
|
||||||
|
"Master Password Unlock"
|
||||||
|
case .password:
|
||||||
|
"Password"
|
||||||
case .pin:
|
case .pin:
|
||||||
"PIN"
|
"PIN"
|
||||||
case .pinEnvelope:
|
case .pinEnvelope:
|
||||||
|
|||||||
@ -1131,6 +1131,7 @@ extension DefaultAuthRepository: AuthRepository {
|
|||||||
case .decryptedKey,
|
case .decryptedKey,
|
||||||
.deviceKey,
|
.deviceKey,
|
||||||
.keyConnector,
|
.keyConnector,
|
||||||
|
.masterPasswordUnlock,
|
||||||
.pin,
|
.pin,
|
||||||
.pinEnvelope:
|
.pinEnvelope:
|
||||||
// No-op: nothing extra to do.
|
// 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")
|
await flightRecorder.log("[Auth] Migrated from legacy PIN to PIN-protected user key envelope")
|
||||||
case .decryptedKey,
|
case .decryptedKey,
|
||||||
|
.masterPasswordUnlock,
|
||||||
.password:
|
.password:
|
||||||
guard let encryptedPin = try await stateService.getEncryptedPin(),
|
guard let encryptedPin = try await stateService.getEncryptedPin(),
|
||||||
try await stateService.pinProtectedUserKeyEnvelope() == nil
|
try await stateService.pinProtectedUserKeyEnvelope() == nil
|
||||||
@ -1272,7 +1274,7 @@ extension DefaultAuthRepository: AuthRepository {
|
|||||||
try await stateService.setPinProtectedUserKeyToMemory(enrollPinResponse.pinProtectedUserKeyEnvelope)
|
try await stateService.setPinProtectedUserKeyToMemory(enrollPinResponse.pinProtectedUserKeyEnvelope)
|
||||||
await flightRecorder.log("[Auth] Set PIN-protected user key in memory")
|
await flightRecorder.log("[Auth] Set PIN-protected user key in memory")
|
||||||
}
|
}
|
||||||
case .pinEnvelope:
|
case.pinEnvelope:
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -14,7 +14,7 @@ include:
|
|||||||
packages:
|
packages:
|
||||||
BitwardenSdk:
|
BitwardenSdk:
|
||||||
url: https://github.com/bitwarden/sdk-swift
|
url: https://github.com/bitwarden/sdk-swift
|
||||||
revision: 1e16ec0e5e3f7045a82b747dc9cf5ddf06e13448 # 1.0.0-2679-cc36132
|
revision: 8266e167ae8e80f1bf1e9ab96ee5a4d46162c059 # 1.0.0-2742-fc75b90
|
||||||
branch: unstable
|
branch: unstable
|
||||||
Firebase:
|
Firebase:
|
||||||
url: https://github.com/firebase/firebase-ios-sdk
|
url: https://github.com/firebase/firebase-ios-sdk
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user