webauthn-swift icon indicating copy to clipboard operation
webauthn-swift copied to clipboard

A Swift library for implementing the WebAuthn spec

Results 23 webauthn-swift issues
Sort by recently updated
recently updated
newest added

As I was implementing the client, I found it useful to have a type for Authenticator Attestation Globally Unique IDs (AAGUIDs) since AAGUIDs are defined as 16-byte IDs, which prevents...

Rather than implementing integer bit flips ourselves, we should lean on the standard library and just interpret the bytes directly. ### Depends on: - #58

import UIKit import CryptoKit import SafariServices import AuthenticationServices class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() let webAuthnManager = WebAuthnManager( configuration: WebAuthnManager.Configuration( relyingPartyID: "domain.ai", relyingPartyName: "My Fancy Web App",...

let webAuthnManager = WebAuthnManager( configuration: WebAuthnManager.Configuration( relyingPartyID: "oloid.ai", relyingPartyName: "My Fancy Web App", relyingPartyOrigin: "https://oloid.ai" ) ) Task { let result = webAuthnManager.beginRegistration(user: PublicKeyCredentialUserEntity(id: self.generateRandomBytes(count: 10), name: "Jaydip", displayName: "Jaydip...

[There is a bug in SwiftCBOR](https://github.com/valpackett/SwiftCBOR/issues/92) causing an application to crash when decoding large amounts of random (/invalid CBOR) bytes. I tried to find the source of this problem in...

The core functions * `WebAuthnManager.beginRegistration()` * `WebAuthnManager.finishRegistration()` * `WebAuthnManager.beginAuthentication()` * `WebAuthnManager.finishAuthentication()` should accept and return have native Swift types, rather than encoded types. For example, `finishRegistration()` takes a `RegistrationCredential`, which...

Hi, I have successfully implemented passkeys using this library on my server with a few [public interface files removed](https://github.com/nashysolutions/webauthn-swift-models). My iOS project depends on the public interface files only. Here...

The existing entry points for webauthn-swift do not readily accept the data provided by Apple Authentication Services Framework. Here two new entry points are proposed. A Swift server may handle...

Good morning everyone. While working on a project using the Swift WebAuthn library, I noticed that a number of public objects don't have public or default initializers. I am not...

good first issue