Phase 0: Fundament für Inhaus
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 1m14s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 1m12s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 1m7s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 1m19s
CI / PHP 8.3 / mysql:8.0 (pull_request) Successful in 1m32s
CI / PHP 8.4 / mysql:8.0 (pull_request) Successful in 1m22s
CI / PHP 8.4 / mysql:8.4 (pull_request) Successful in 1m32s
CI / PHP 8.3 / mysql:8.4 (pull_request) Successful in 1m35s
CI / Build-Artefakte aktuell (pull_request) Failing after 1m7s

- Laravel 13 mit Filament 5 (Admin), Inertia 3 + Vue 3 + Vuetify 4 (Material 3)
- Anmeldung über Fortify (Login, Passwort vergessen/ändern), keine Selbstregistrierung
- Profil mit Profilbild (WebP in festen Größen), Personenseiten, Header mit Avatar-Menü
- Material-3-Farbschema aus der Primärfarbe, hell/dunkel/System pro Person
- Basis-Branding (Portalname, Logo, Primärfarbe) im Admin unter „Erscheinungsbild“
- Benutzerverwaltung im Admin, Zugang vorläufig über is_admin
- vendor/ (ohne Dev-Pakete) und Frontend-Build mitversioniert, Dev-Pakete in vendor-dev/
- PHPUnit-Tests gegen MySQL/MariaDB, Forgejo-CI-Matrix, Docker-Entwicklungsumgebung
- VERSION, CHANGELOG.md und CONTRIBUTING.md mit Release-Ablauf

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Friederich Loheide 2026-09-25 20:35:30 +00:00
parent 7197eaebf2
commit 9c0f8de791
15771 changed files with 1564103 additions and 5 deletions

View file

@ -0,0 +1,9 @@
<?php
declare(strict_types=1);
namespace Webauthn\Exception;
class AttestationStatementException extends WebauthnException
{
}

View file

@ -0,0 +1,32 @@
<?php
declare(strict_types=1);
namespace Webauthn\Exception;
use Throwable;
final class AttestationStatementLoadingException extends AttestationStatementException
{
/**
* @param array<string, mixed> $attestation
*/
public function __construct(
public readonly array $attestation,
string $message,
?Throwable $previous = null
) {
parent::__construct($message, $previous);
}
/**
* @param array<string, mixed> $attestation
*/
public static function create(
array $attestation,
string $message = 'Invalid attestation object',
?Throwable $previous = null
): self {
return new self($attestation, $message, $previous);
}
}

View file

@ -0,0 +1,15 @@
<?php
declare(strict_types=1);
namespace Webauthn\Exception;
use Throwable;
final class AttestationStatementVerificationException extends AttestationStatementException
{
public static function create(string $message = 'Invalid attestation object', ?Throwable $previous = null): self
{
return new self($message, $previous);
}
}

View file

@ -0,0 +1,15 @@
<?php
declare(strict_types=1);
namespace Webauthn\Exception;
use Throwable;
final class AuthenticationExtensionException extends WebauthnException
{
public static function create(string $message, ?Throwable $previous = null): self
{
return new self($message, $previous);
}
}

View file

@ -0,0 +1,15 @@
<?php
declare(strict_types=1);
namespace Webauthn\Exception;
use Throwable;
class AuthenticatorResponseVerificationException extends WebauthnException
{
public static function create(string $message, ?Throwable $previous = null): self
{
return new self($message, $previous);
}
}

View file

@ -0,0 +1,36 @@
<?php
declare(strict_types=1);
namespace Webauthn\Exception;
use Throwable;
class CertificateChainException extends MetadataServiceException
{
/**
* @param array<string> $untrustedCertificates
* @param array<string> $trustedCertificates
*/
public function __construct(
public readonly array $untrustedCertificates,
public readonly array $trustedCertificates,
string $message,
?Throwable $previous = null
) {
parent::__construct($message, $previous);
}
/**
* @param array<string> $untrustedCertificates
* @param array<string> $trustedCertificates
*/
public static function create(
array $untrustedCertificates,
array $trustedCertificates,
string $message = 'Unable to validate the certificate chain.',
?Throwable $previous = null
): self {
return new self($untrustedCertificates, $trustedCertificates, $message, $previous);
}
}

View file

@ -0,0 +1,18 @@
<?php
declare(strict_types=1);
namespace Webauthn\Exception;
use Throwable;
class CertificateException extends MetadataServiceException
{
public function __construct(
public readonly string $certificate,
string $message,
?Throwable $previous = null
) {
parent::__construct($message, $previous);
}
}

View file

@ -0,0 +1,23 @@
<?php
declare(strict_types=1);
namespace Webauthn\Exception;
use Throwable;
final class CertificateRevocationListException extends MetadataServiceException
{
public function __construct(
public readonly string $url,
string $message,
?Throwable $previous = null
) {
parent::__construct($message, $previous);
}
public static function create(string $url, string $message = 'Invalid CRL.', ?Throwable $previous = null): self
{
return new self($url, $message, $previous);
}
}

View file

@ -0,0 +1,28 @@
<?php
declare(strict_types=1);
namespace Webauthn\Exception;
use Throwable;
final class CounterException extends WebauthnException
{
public function __construct(
public int $currentCounter,
public int $authenticatorCounter,
string $message,
?Throwable $previous = null
) {
parent::__construct($message, $previous);
}
public static function create(
int $currentCounter,
int $authenticatorCounter,
string $message,
?Throwable $previous = null
): self {
return new self($currentCounter, $authenticatorCounter, $message, $previous);
}
}

View file

@ -0,0 +1,18 @@
<?php
declare(strict_types=1);
namespace Webauthn\Exception;
use Throwable;
final class ExpiredCertificateException extends CertificateException
{
public static function create(
string $certificate,
string $message = 'Expired certificate',
?Throwable $previous = null
): self {
return new self($certificate, $message, $previous);
}
}

View file

@ -0,0 +1,27 @@
<?php
declare(strict_types=1);
namespace Webauthn\Exception;
use Throwable;
use Webauthn\AttestationStatement\AttestationStatement;
final class InvalidAttestationStatementException extends AttestationStatementException
{
public function __construct(
public readonly AttestationStatement $attestationStatement,
string $message,
?Throwable $previous = null
) {
parent::__construct($message, $previous);
}
public static function create(
AttestationStatement $attestationStatement,
string $message = 'Invalid attestation statement',
?Throwable $previous = null
): self {
return new self($attestationStatement, $message, $previous);
}
}

View file

@ -0,0 +1,23 @@
<?php
declare(strict_types=1);
namespace Webauthn\Exception;
use Throwable;
final class InvalidCertificateException extends MetadataServiceException
{
public function __construct(
public readonly string $certificate,
string $message,
?Throwable $previous = null
) {
parent::__construct($message, $previous);
}
public static function create(string $certificate, string $message, ?Throwable $previous = null): self
{
return new self($certificate, $message, $previous);
}
}

View file

@ -0,0 +1,23 @@
<?php
declare(strict_types=1);
namespace Webauthn\Exception;
use Throwable;
final class InvalidDataException extends WebauthnException
{
public function __construct(
public readonly mixed $data,
string $message,
?Throwable $previous = null
) {
parent::__construct($message, $previous);
}
public static function create(mixed $data, string $message, ?Throwable $previous = null): self
{
return new self($data, $message, $previous);
}
}

View file

@ -0,0 +1,15 @@
<?php
declare(strict_types=1);
namespace Webauthn\Exception;
use Throwable;
final class InvalidTrustPathException extends WebauthnException
{
public static function create(string $message, ?Throwable $previous = null): self
{
return new self($message, $previous);
}
}

View file

@ -0,0 +1,15 @@
<?php
declare(strict_types=1);
namespace Webauthn\Exception;
use Throwable;
final class InvalidUserHandleException extends AuthenticatorResponseVerificationException
{
public static function create(string $message = 'Invalid user handle', ?Throwable $previous = null): self
{
return new self($message, $previous);
}
}

View file

@ -0,0 +1,16 @@
<?php
declare(strict_types=1);
namespace Webauthn\Exception;
use Exception;
use Throwable;
class MetadataServiceException extends Exception
{
public function __construct(string $message, ?Throwable $previous = null)
{
parent::__construct($message, 0, $previous);
}
}

View file

@ -0,0 +1,9 @@
<?php
declare(strict_types=1);
namespace Webauthn\Exception;
class MetadataStatementException extends MetadataServiceException
{
}

View file

@ -0,0 +1,17 @@
<?php
declare(strict_types=1);
namespace Webauthn\Exception;
use Throwable;
final class MetadataStatementLoadingException extends MetadataStatementException
{
public static function create(
string $message = 'Unable to load the metadata statement',
?Throwable $previous = null
): self {
return new self($message, $previous);
}
}

View file

@ -0,0 +1,26 @@
<?php
declare(strict_types=1);
namespace Webauthn\Exception;
use Throwable;
final class MissingMetadataStatementException extends MetadataStatementException
{
public function __construct(
public readonly string $aaguid,
string $message,
?Throwable $previous = null
) {
parent::__construct($message, $previous);
}
public static function create(
string $aaguid,
string $message = 'The Metadata Statement is missing',
?Throwable $previous = null
): self {
return new self($aaguid, $message, $previous);
}
}

View file

@ -0,0 +1,9 @@
<?php
declare(strict_types=1);
namespace Webauthn\Exception;
final class RevokedCertificateException extends CertificateException
{
}

View file

@ -0,0 +1,15 @@
<?php
declare(strict_types=1);
namespace Webauthn\Exception;
use Throwable;
final class UnsupportedFeatureException extends WebauthnException
{
public static function create(string $message, ?Throwable $previous = null): self
{
return new self($message, $previous);
}
}

View file

@ -0,0 +1,16 @@
<?php
declare(strict_types=1);
namespace Webauthn\Exception;
use Exception;
use Throwable;
class WebauthnException extends Exception
{
public function __construct(string $message, ?Throwable $previous = null)
{
parent::__construct($message, 0, $previous);
}
}