From 47ed2135f134eb4a3e1ace6d4ab0067c7024f10e Mon Sep 17 00:00:00 2001 From: Max Goedjen Date: Sat, 23 Aug 2025 20:06:52 -0700 Subject: [PATCH] Revert "." This reverts commit 7c5c2924fa4930f324831d924bf7a5352ba88d81. --- .../Packages/Sources/SmartCardSecretKit/SmartCardStore.swift | 3 --- 1 file changed, 3 deletions(-) diff --git a/Sources/Packages/Sources/SmartCardSecretKit/SmartCardStore.swift b/Sources/Packages/Sources/SmartCardSecretKit/SmartCardStore.swift index b25e2a1..4d8f42c 100644 --- a/Sources/Packages/Sources/SmartCardSecretKit/SmartCardStore.swift +++ b/Sources/Packages/Sources/SmartCardSecretKit/SmartCardStore.swift @@ -66,9 +66,6 @@ extension SmartCard { public func sign(data: Data, with secret: Secret, for provenance: SigningRequestProvenance) async throws -> Data { guard let tokenID = await state.tokenID else { fatalError() } - guard secret.capabilities.contains(.signature) else { - throw SigningError(error: nil) - } let context = LAContext() context.localizedReason = String(localized: .authContextRequestSignatureDescription(appName: provenance.origin.displayName, secretName: secret.name)) context.localizedCancelTitle = String(localized: .authContextRequestDenyButton)