-
Notifications
You must be signed in to change notification settings - Fork 27
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
WebAuthnError(reason: PassDemo.WebAuthnError.Reason.invalidAttestationObject) #67
Comments
I recommend reading up on how Passkeys work on iOS and how you should be implementing them. You should not be using |
I have password manager app and I want to passkey for webauthn.io from my Auto fill extension is that possible? how can you give me sample code? |
Begin registration works well here are the response of that method PublicKeyCredentialCreationOptions(challenge: [175, 165, 121, 16, 203, 47, 228, 14, 38, 138, 152, 97, 202, 28, 17, 133, 103, 17, 53, 230, 251, 107, 245, 65, 161, 206, 227, 55, 1, 86, 239, 255], user: PassDemo.PublicKeyCredentialUserEntity(id: [71, 93, 209, 225, 177, 115, 193, 76, 130, 123], name: "Jaydip", displayName: "Jaydip Finava"), relyingParty: PassDemo.PublicKeyCredentialRelyingPartyEntity(id: "oloid.ai", name: "My Fancy Web App"), publicKeyCredentialParameters: [PassDemo.PublicKeyCredentialParameters(type: PassDemo.CredentialType(rawValue: "public-key"), alg: PassDemo.COSEAlgorithmIdentifier.algES256), PassDemo.PublicKeyCredentialParameters(type: PassDemo.CredentialType(rawValue: "public-key"), alg: PassDemo.COSEAlgorithmIdentifier.algES384), PassDemo.PublicKeyCredentialParameters(type: PassDemo.CredentialType(rawValue: "public-key"), alg: PassDemo.COSEAlgorithmIdentifier.algES512)], timeout: Optional(3600.0 seconds), attestation: PassDemo.AttestationConveyancePreference.none) |
You cannot run it on the client - it is insecure and must be run on the server to verify the attestations |
That’s sorted already now I need help to create authData object can you
help me?
…On Thu, 9 May 2024 at 12:27 PM, Tim Condon ***@***.***> wrote:
You cannot run it on the client - it is insecure and must be run on the
server to verify the attestations
—
Reply to this email directly, view it on GitHub
<#67 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOLYOFMSOCTBDYRBPJGH63LZBMM4FAVCNFSM6AAAAABHLJIHU6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBSGA3DOOBVGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
It should be created by the iOS framework |
import UIKit
import CryptoKit
import SafariServices
import AuthenticationServices
class ViewController: UIViewController {
, origin: "https://domia.ai", type: "webauthn.create", tokenBinding: nil)
print(data!)
}
The text was updated successfully, but these errors were encountered: