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

Attestation statement format "packed" is not supported.

Open tydoo opened this issue 7 months ago • 0 comments

Version(s) affected

5.2

Description

I try to add Yubikey

How to reproduce

the "attestation_conveyance: 'direct'" option send this error.

Without this options, its works, but without transports information.

Image

webauthn.yaml

# Please see the following page for more information: https://webauthn-doc.spomky-labs.com/the-webauthn-server/the-symfony-way#configuration

webauthn:
    credential_repository: 'App\Repository\WebauthnCredentialRepository'
    user_repository: 'App\Repository\WebauthnUserEntityRepository'
    creation_profiles:
        default:
            rp:
                name: '%env(RELYING_PARTY_NAME)%' # Please adapt the env file with the correct relaying party ID or set null
                id: '%env(RELYING_PARTY_ID)%' # Please adapt the env file with the correct relaying party ID or set null
            authenticator_selection_criteria:
                require_resident_key: true
                user_verification: 'required'
            attestation_conveyance: 'direct'
    request_profiles:
        default:
            rp_id: '%env(RELYING_PARTY_ID)%' # Please adapt the env file with the correct relaying party ID or set null
            user_verification: 'required'
    controllers:
        enabled: true
        request:
            login:
                options_path: '/login/webauthn/options'
                result_path: '/login/webauthn/result'
        creation:
            from_user_account: # Endpoints accessible by the user itself
                options_path: '/account/security/devices/add/options' # Path to the creation options controller
                result_path: '/account/security/devices/add' # Path to the response controller
                user_entity_guesser: 'App\Guesser\FromQueryParameterGuesser'
                hide_existing_credentials: false

Possible Solution

No response

Additional Context

Docs 5.2 : https://webauthn-doc.spomky-labs.com/v5.2/the-project/the-project Image

tydoo avatar May 07 '25 09:05 tydoo