From dbaa57a05a08b10f9b22e75c946bbe03c0bcfb52 Mon Sep 17 00:00:00 2001 From: Max Goedjen Date: Tue, 12 Sep 2023 22:12:17 -0700 Subject: [PATCH] Fix EC384 value (#485) --- .../Packages/Sources/SmartCardSecretKit/SmartCardStore.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Packages/Sources/SmartCardSecretKit/SmartCardStore.swift b/Sources/Packages/Sources/SmartCardSecretKit/SmartCardStore.swift index b6fe2fc..6d999ac 100644 --- a/Sources/Packages/Sources/SmartCardSecretKit/SmartCardStore.swift +++ b/Sources/Packages/Sources/SmartCardSecretKit/SmartCardStore.swift @@ -249,7 +249,7 @@ extension SmartCard.Store { case (.ellipticCurve, 256): return .eciesEncryptionCofactorVariableIVX963SHA256AESGCM case (.ellipticCurve, 384): - return .eciesEncryptionCofactorVariableIVX963SHA256AESGCM + return .eciesEncryptionCofactorVariableIVX963SHA384AESGCM case (.rsa, 1024), (.rsa, 2048): return .rsaEncryptionOAEPSHA512AESGCM default: