Skip to content

SIGTRAP crash in passkeys_darwin when authenticating with YubiKey hardware security key #227

@1mavic

Description

@1mavic

Hi!

The app crashes with a SIGTRAP signal immediately after entering the YubiKey PIN code during passkey authentication.
The crash originates in the passkeys_darwin native code when processing the response from AuthenticationServices framework.

Environment
iOS version: 26.2.1
Hardware authenticator: YubiKey (physical security key)
passkeys package version: 2.15.1
passkeys_darwin version: 0.2.0
Flutter version: 3.35.6+

Steps to Reproduce
Initiate passkey authentication flow that involves a hardware security key (YubiKey)
iOS presents the security key prompt
Insert/tap YubiKey and enter PIN code
App immediately crashes after PIN is accepted

Crash Log (from Sentry)
Signal: SIGTRAP
passkeys_darwin +0x00508c (In App)
passkeys_darwin +0x004050 (In App)
AuthenticationServices +0x02add0
libsystem_trace +0x00dbcc os_activity_apply_f
AuthenticationServices +0x02acf0
libdispatch +0x001adc
libdispatch +0x01b7fc
libdispatch +0x038b10
libdispatch +0x010ec8
libdispatch +0x010e04 _dispatch_main_queue_callback_4CF
CoreFoundation +0x06a2b4
CoreFoundation +0x01db3c
CoreFoundation +0x01ca6c
GraphicsServices +0x001498 GSEventRunModal
UIKitCore +0x09ddf8
UIKitCore +0x046e54 UIApplicationMain

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions