diff --git a/Modules/IdCardLib/Sources/IdCardLib/WebEID/WebEidData.swift b/Modules/IdCardLib/Sources/IdCardLib/WebEID/WebEidData.swift index 69b1054c..c7aa3f3b 100644 --- a/Modules/IdCardLib/Sources/IdCardLib/WebEID/WebEidData.swift +++ b/Modules/IdCardLib/Sources/IdCardLib/WebEID/WebEidData.swift @@ -21,14 +21,14 @@ import Foundation public final class WebEidData: Sendable { public let unverifiedCertificate: String - public let signingCertificate: String + public let signingCertificate: String? public let algorithm: String public let signature: String init(unverifiedCertificate: String, algorithm: String, signature: String, - signingCertificate: String) { + signingCertificate: String?) { self.unverifiedCertificate = unverifiedCertificate self.algorithm = algorithm self.signature = signature @@ -44,7 +44,7 @@ public final class WebEidData: Sendable { ==== signature: \(signature) ==== - signingCertificate: \(signingCertificate) + signingCertificate: \(signingCertificate ?? "") """ } } diff --git a/Modules/WebEidLib/Package.swift b/Modules/WebEidLib/Package.swift index 77f9bf18..12cad28e 100644 --- a/Modules/WebEidLib/Package.swift +++ b/Modules/WebEidLib/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version: 6.2 +// swift-tools-version: 6.3 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription @@ -16,7 +16,7 @@ let package = Package( dependencies: [ .package(url: "https://github.com/filom/ASN1Decoder", exact: .init(1, 10, 0)), .package(url: "https://github.com/hmlongco/Factory", exact: .init(2, 5, 3)), - .package(url: "https://github.com/Alamofire/Alamofire.git", exact: .init(5, 10, 2)), + .package(url: "https://github.com/Alamofire/Alamofire.git", exact: .init(5, 11, 2)), .package(path: "../UtilsLib"), .package(path: "../CommonsLib"), .package(path: "../Test/CommonsTestShared")