Skip to content

Commit 41181fc

Browse files
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 <[email protected]>
1 parent f705a2a commit 41181fc

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

Bitwarden.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

BitwardenShared/Core/Auth/Extensions/BitwardenSdk+Auth.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,16 @@ extension BitwardenSdk.InitUserCryptoMethod {
88
switch self {
99
case .authRequest:
1010
"Auth Request"
11-
case .password:
12-
"Password"
1311
case .decryptedKey:
1412
"Decrypted Key (Never Lock/Biometrics)"
1513
case .deviceKey:
1614
"Device Key"
1715
case .keyConnector:
1816
"Key Connector"
17+
case .masterPasswordUnlock:
18+
"Master Password Unlock"
19+
case .password:
20+
"Password"
1921
case .pin:
2022
"PIN"
2123
case .pinEnvelope:

BitwardenShared/Core/Auth/Repositories/AuthRepository.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1131,6 +1131,7 @@ extension DefaultAuthRepository: AuthRepository {
11311131
case .decryptedKey,
11321132
.deviceKey,
11331133
.keyConnector,
1134+
.masterPasswordUnlock,
11341135
.pin,
11351136
.pinEnvelope:
11361137
// No-op: nothing extra to do.
@@ -1246,6 +1247,7 @@ extension DefaultAuthRepository: AuthRepository {
12461247
)
12471248
await flightRecorder.log("[Auth] Migrated from legacy PIN to PIN-protected user key envelope")
12481249
case .decryptedKey,
1250+
.masterPasswordUnlock,
12491251
.password:
12501252
guard let encryptedPin = try await stateService.getEncryptedPin(),
12511253
try await stateService.pinProtectedUserKeyEnvelope() == nil
@@ -1272,7 +1274,7 @@ extension DefaultAuthRepository: AuthRepository {
12721274
try await stateService.setPinProtectedUserKeyToMemory(enrollPinResponse.pinProtectedUserKeyEnvelope)
12731275
await flightRecorder.log("[Auth] Set PIN-protected user key in memory")
12741276
}
1275-
case .pinEnvelope:
1277+
case.pinEnvelope:
12761278
break
12771279
}
12781280
}

project-common.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ include:
1414
packages:
1515
BitwardenSdk:
1616
url: https://github.com/bitwarden/sdk-swift
17-
revision: 1e16ec0e5e3f7045a82b747dc9cf5ddf06e13448 # 1.0.0-2679-cc36132
17+
revision: 8266e167ae8e80f1bf1e9ab96ee5a4d46162c059 # 1.0.0-2742-fc75b90
1818
branch: unstable
1919
Firebase:
2020
url: https://github.com/firebase/firebase-ios-sdk

0 commit comments

Comments
 (0)