Skip to content

Commit

Permalink
IOS-2685 Don't use access code repository in backup tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
megakoko committed Dec 5, 2022
1 parent b33ffac commit 8b21ab6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import Foundation

@available(iOS 13.0, *)
class FinalizeBackupCardTask: CardSessionRunnable {
let allowsAccessCodeFromRepository = false

private let primaryCard: PrimaryCard
private let backupCards: [BackupCard]
private let backupData: [EncryptedBackupData]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import Foundation

@available(iOS 13.0, *)
class FinalizePrimaryCardTask: CardSessionRunnable {
let allowsAccessCodeFromRepository = false

private let backupCards: [BackupCard]
private let accessCode: Data
private let passcode: Data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import Combine

@available(iOS 13.0, *)
final class StartBackupCardLinkingTask: CardSessionRunnable {
let allowsAccessCodeFromRepository = false

private let primaryCard: PrimaryCard
private let addedBackupCards: [String]
private let onlineCardVerifier = OnlineCardVerifier()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import Combine

@available(iOS 13.0, *)
public class StartPrimaryCardLinkingTask: CardSessionRunnable {
public let allowsAccessCodeFromRepository = false

private var attestationTask: AttestationTask? = nil
private let onlineCardVerifier = OnlineCardVerifier()
private var cancellable: AnyCancellable? = nil
Expand Down

0 comments on commit 8b21ab6

Please sign in to comment.