Skip to content

Commit

Permalink
Update Tests/WebAuthnTests/Utils/TestModels/TestECCKeyPair.swift
Browse files Browse the repository at this point in the history
Co-authored-by: Dimitri Bouniol <dimitribouniol@mochidev.com>
  • Loading branch information
dscreve and dimitribouniol authored Jan 29, 2025
1 parent 63bc684 commit f6e3159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/WebAuthnTests/Utils/TestModels/TestECCKeyPair.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ struct TestECCKeyPair {
let rawAuthenticatorData = authenticatorData.urlDecoded.decoded!
let signatureBase = rawAuthenticatorData + clientDataHash
// swiftlint:disable:next force_try
let signature = try! TestECCKeyPair.signature(data: signatureBase).derRepresentation
let signature = try TestECCKeyPair.signature(data: signatureBase).derRepresentation

return [UInt8](signature)
}
Expand Down

0 comments on commit f6e3159

Please sign in to comment.