Skip to content

Commit

Permalink
Fix signature format (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanmiller-spruceid authored Mar 11, 2024
1 parent 0e8521e commit d817a01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/WalletSdk/MDoc.swift
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public class BLESessionManager {
let privateKey = try P256.Signing.PrivateKey(x963Representation: data)
let signature = try privateKey.signature(for: responseData.payload)
let signatureData = try SpruceIDWalletSdkRs.submitSignature(sessionManager: sessionManager!,
signature: signature.derRepresentation)
signature: signature.rawRepresentation)
self.state = signatureData.state
self.bleManager.writeOutgoingValue(data: signatureData.response)
} catch {
Expand Down

0 comments on commit d817a01

Please sign in to comment.