-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RSA Support #88
base: main
Are you sure you want to change the base?
RSA Support #88
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this! Some initial comments
Sources/WebAuthn/Ceremonies/Shared/COSE/COSEAlgorithmIdentifier.swift
Outdated
Show resolved
Hide resolved
Sources/WebAuthn/Ceremonies/Shared/COSE/COSEAlgorithmIdentifier.swift
Outdated
Show resolved
Hide resolved
// | ||
// TestRSAKeyPair.swift | ||
// swift-webauthn | ||
// | ||
// Created by David Scrève on 27/01/2025. | ||
// |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be the license header
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in next commit
I just committed a new version |
Sources/WebAuthn/Ceremonies/Shared/COSE/COSEAlgorithmIdentifier.swift
Outdated
Show resolved
Hide resolved
static func signature(data: Data) throws -> P256.Signing.ECDSASignature { | ||
let privateKey = try P256.Signing.PrivateKey(pemRepresentation: privateKeyPEM) | ||
return try privateKey.signature(for: data) | ||
} | ||
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: please drop this change
Co-authored-by: Dimitri Bouniol <[email protected]>
…r.swift Co-authored-by: Dimitri Bouniol <[email protected]>
Co-authored-by: Dimitri Bouniol <[email protected]>
RSA Support