forgejo/models/fixtures/webauthn_credential.yml
Gusted 63736e8301
Some checks failed
renovate / renovate (push) Has been cancelled
[FEAT] Add support for webauthn credential level 3
- For WebAuthn Credential level 3, the `backup_eligible` and
`backup_state` flags are checked if they are consistent with the values
given on login. Forgejo never stored this data, so add a database
migration that makes all webauthn credentials 'legacy' and on the next
first use capture the values of `backup_eligible` and `backup_state`.
As suggested in https://github.com/go-webauthn/webauthn/discussions/219#discussioncomment-10429662
- Adds unit tests.
- Add E2E test.
2024-08-29 10:05:03 +02:00

10 lines
183 B
YAML

-
id: 1
name: WebAuthn credential
user_id: 32
attestation_type: none
sign_count: 0
clone_warning: false
legacy: true
created_unix: 946684800
updated_unix: 946684800