# Bundled library: WebAuthn

- **Package**: `lbuchs/webauthn`
- **Version**: not recorded at import (the API matches the 2.2 series: `addAndroidKeyHashes()`, hybrid transport)
- **Upstream**: https://github.com/lbuchs/WebAuthn
- **License**: MIT (see `LICENSE`)

Copy of the `src/` tree of lbuchs/WebAuthn, vendored because Blaminhor Essentials
ships without a runtime Composer autoloader. Loaded on demand by
`includes/class-login-2fa-webauthn.php` when a passkey or security key is
registered or used.

## Local modifications

- `WebAuthn::queryFidoMetaDataService()` is removed. It downloaded attestation
  root certificates from the FIDO Alliance Metadata Service
  (`mds.fidoalliance.org`) with raw cURL or `file_get_contents()`. The plugin
  never called it (it registers keys without checking attestation roots), so
  removing it changes nothing at runtime and keeps code that reaches a
  third-party server out of the WordPress.org package.

When upgrading, replace the `src/` directory with a newer upstream release,
record the version above, then apply the modifications listed here again.
