-
Notifications
You must be signed in to change notification settings - Fork 1
/
webauthn.yaml
executable file
·33 lines (31 loc) · 1.77 KB
/
webauthn.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
webauthn:
credential_repository: Surfnet\Webauthn\Repository\PublicKeyCredentialSourceRepository
user_repository: Surfnet\Webauthn\Repository\UserRepository
# Uncomment/comment the line below for Webauthn libary logging/debugging
logger: Psr\Log\LoggerInterface
creation_profiles:
default:
public_key_credential_parameters:
- !php/const Cose\Algorithms::COSE_ALGORITHM_ES256
- !php/const Cose\Algorithms::COSE_ALGORITHM_RS256
rp:
name: '%webauthn_name%'
icon: '%webauthn_logo%'
challenge_length: 64
timeout: 60000
authenticator_selection_criteria:
authenticator_attachment: !php/const Webauthn\AuthenticatorSelectionCriteria::AUTHENTICATOR_ATTACHMENT_NO_PREFERENCE
resident_key: !php/const Webauthn\AuthenticatorSelectionCriteria::RESIDENT_KEY_REQUIREMENT_NO_PREFERENCE
require_resident_key: false
user_verification: !php/const Webauthn\AuthenticatorSelectionCriteria::USER_VERIFICATION_REQUIREMENT_PREFERRED
# this is needed for SURFsecureID as we want to whitelist authenticators by vendor/certification (default is none)
attestation_conveyance: !php/const Webauthn\PublicKeyCredentialCreationOptions::ATTESTATION_CONVEYANCE_PREFERENCE_DIRECT
request_profiles:
default:
challenge_length: 64
timeout: 30000
user_verification: !php/const Webauthn\AuthenticatorSelectionCriteria::USER_VERIFICATION_REQUIREMENT_DISCOURAGED
metadata:
enabled: true
mds_repository: 'Surfnet\Webauthn\Service\MetadataStatementService'
status_report_repository: 'Surfnet\Webauthn\Service\MetadataStatementService'