lbuchs/webauthn
A simple PHP WebAuthn (FIDO2) server library
v2.2.0
1.4M downloads/mo
#1786 most downloaded on Packagist
lbuchs/WebAuthn
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Ships fairly regularly
a new release about every 3 months
Most releases are documented
notes for 8 of 10 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
11 releases · first in 2021
0 releases in the last 12 months
see the full history below
Release timeline
11 releases · Dec 2021 to Jul 2024Releases
latest 11-
v2.2.004 Jul 2024Release notes
Open source →New Features
isBackupEligible&isBackedUpflags exposed- Check for known android key hashes instead of URL origin check in case the origin string starts with android:apk-key-hash:;
-
v2.1.115 Jan 2024 -
v2.1.023 Oct 2023Release notes
Open source →Verify EdDSA using Sodium
Support for EdDSA algorithm (-8) using PHP Sodium (or Sodium Compat ) -
v2.0.116 May 2023 -
v2.0.024 Mar 2023Release notes
Open source →v2
demo
- rewrite demo app with async function
- switch for attestation
Android
- allow to decide if you require ctsProfileMatch for android devices (default true, like on v1.x).
-
- ctsProfileMatch: A stricter verdict of device integrity. If the value of ctsProfileMatch is true, then the profile of the device running your app matches the profile of a device that has passed Android compatibility testing and has been approved as a Google-certified Android device.
-
- basicIntegrity: A more lenient verdict of device integrity. If only the value of basicIntegrity is true, then the device running your app likely wasn't tampered with. However, the device hasn't necessarily passed Android compatibility testing.
- usage: set
$requireCtsProfileMatchonprocessCreate()to false to check only for basic integrity.
transport Hybrid
added support for transport hybrid. Hybrid indicates the respective authenticator can be contacted using a combination of (often separate) data-transport and proximity mechanisms. This supports, for example, authentication on a desktop computer using a smartphone.
⚠️Attention: new argument
$allowHybridon getGetArgs, CHECK YOUR IMPLEMENTATION!public function getGetArgs($credentialIds=array(), $timeout=20, $allowUsb=true, $allowNfc=true, $allowBle=true, $allowHybrid=true, $allowInternal=true, $requireUserVerification=false)
-
v2.0.0-beta06 Jan 2023 pre-releaseRelease notes
Open source →v2
demo
rewrite demo app with async function
Android
- allow to decide if you require ctsProfileMatch for android devices (default true, like on v1.x).
-
- ctsProfileMatch: A stricter verdict of device integrity. If the value of ctsProfileMatch is true, then the profile of the device running your app matches the profile of a device that has passed Android compatibility testing and has been approved as a Google-certified Android device.
-
- basicIntegrity: A more lenient verdict of device integrity. If only the value of basicIntegrity is true, then the device running your app likely wasn't tampered with. However, the device hasn't necessarily passed Android compatibility testing.
- usage: set
$requireCtsProfileMatchonprocessCreate()to false to check only for basic integrity.
transport Hybrid
added support for transport hybrid. Hybrid indicates the respective authenticator can be contacted using a combination of (often separate) data-transport and proximity mechanisms. This supports, for example, authentication on a desktop computer using a smartphone.
⚠️Attention: new argument on getGetArgs, check your implementation:
public function getGetArgs($credentialIds=array(), $timeout=20, $allowUsb=true, $allowNfc=true, $allowBle=true, $allowHybrid=true, $allowInternal=true, $requireUserVerification=false) -
v1.1.321 Nov 2022Release notes
Open source →Self Signed detection
Fix self signed detection, switch to authorityKeyIdentifier instead of compare subject and issuer
-
v1.1.215 Nov 2022Nothing published for this version
-
v1.1.114 Oct 2022 -
v1.1.004 May 2022Release notes
Open source →- Handle certificates correctly already containing line breaks
- The WebAuthn specification mandates that the counter check should be performed if either of the counters are non-zero.
- Support WebAuthn v2 residentKey field (#60)
- PHP 8.1 fixes
-
v1.0.013 Dec 2021Nothing published for this version