Skip to content

Commit

Permalink
[fix] updated jose-swift
Browse files Browse the repository at this point in the history
  • Loading branch information
dtsiflit committed Oct 30, 2024
1 parent 24f3d99 commit 91d4402
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 10 deletions.
7 changes: 4 additions & 3 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"originHash" : "110c9bbb9786f3d00e048b52094ab676dc409d4a01fd174b974a198c2601f066",
"pins" : [
{
"identity" : "cryptoswift",
Expand All @@ -14,8 +15,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/beatt83/jose-swift.git",
"state" : {
"revision" : "c289a01f895501257e170d422a57a6edc593bbcd",
"version" : "4.0.0"
"revision" : "420fc3331f79f04ad386cd8baea48a4c759fdd58",
"version" : "4.0.1"
}
},
{
Expand Down Expand Up @@ -64,5 +65,5 @@
}
}
],
"version" : 2
"version" : 3
}
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ let package = Package(
),
.package(
url: "https://github.com/beatt83/jose-swift.git",
from: "4.0.0"
from: "4.0.1"
),
.package(
url: "https://github.com/apple/swift-certificates.git",
Expand Down
2 changes: 1 addition & 1 deletion Sources/Fetchers/SdJwtVcIssuerMetaDataFetcher.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
import Foundation
import SwiftyJSON
@preconcurrency import JSONWebKey
import JSONWebKey

public protocol SdJwtVcIssuerMetaDataFetching {
var session: Networking { get }
Expand Down
2 changes: 1 addition & 1 deletion Sources/Issuer/JWT.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
import Foundation
import JSONWebAlgorithms
@preconcurrency import JSONWebSignature
import JSONWebSignature
import SwiftyJSON

public struct JWT: JWTRepresentable, Sendable {
Expand Down
4 changes: 3 additions & 1 deletion Sources/Model/SdJwtVcIssuerMetaData.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@
* limitations under the License.
*/
import Foundation
@preconcurrency import JSONWebKey
import JSONWebKey
import SwiftyJSON

extension JWKSet: @unchecked @retroactive Sendable {}

struct SdJwtVcIssuerMetadataTO: Decodable, Sendable {
let issuer: String
let jwksUri: String?
Expand Down
2 changes: 1 addition & 1 deletion Sources/Verifier/SDJWTVCVerifier.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
import Foundation
import X509
@preconcurrency import JSONWebKey
import JSONWebKey
@preconcurrency import SwiftyJSON
import JSONWebSignature
import JSONWebToken
Expand Down
4 changes: 2 additions & 2 deletions Sources/Verifier/SignatureVerifier.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
* limitations under the License.
*/
import Foundation
@preconcurrency import JSONWebKey
@preconcurrency import JSONWebSignature
import JSONWebKey
import JSONWebSignature

// To Constraint What can be passed as a key
// JOSE Supports SecKey for RSA and EC and Data for HMAC
Expand Down

0 comments on commit 91d4402

Please sign in to comment.