Skip to content
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
163 commits
Select commit Hold shift + click to select a range
a84eeeb
Upgrade TFM to .NET 8, 9 and 10
vanbukin Nov 27, 2025
0262358
Migrate .sln to .slnx
vanbukin Nov 27, 2025
48111ab
Make project builable on .NET 8,9,10 tfm.
vanbukin Nov 27, 2025
b2da6f6
Apply formatting and refactor code for improved consistency and clarity.
vanbukin Nov 27, 2025
808cf28
Remove redundant Microsoft.Extensions.* package references across pro…
vanbukin Nov 27, 2025
9389038
Refactor `_credentials` field to use `ICollection` for improved flexi…
vanbukin Nov 27, 2025
23c4c0e
Refactor WebAuthn options initialization by introducing `FakeWebAuthn…
vanbukin Nov 27, 2025
cf787cb
Refactor Fido metadata background service and CborNegativeInteger cla…
vanbukin Nov 27, 2025
0bbbd61
Update README.md to replace dated WebAuthn Level 3 links with stable …
vanbukin Nov 27, 2025
5e3d298
Update README.md to replace WebAuthn specification links with stable …
vanbukin Nov 27, 2025
a619e8b
Remove unused attestation-related properties and update WebAuthn spec…
vanbukin Dec 1, 2025
9a6147a
Update WebAuthn specification links with stable references in `Authen…
vanbukin Dec 5, 2025
231802c
Update `AttestationConveyancePreference` documentation to use stable …
vanbukin Dec 5, 2025
f13809a
Update `AttestationStatementFormat` documentation to use stable WebAu…
vanbukin Dec 5, 2025
ce9c88a
Update `AuthenticatorAttachment` documentation to use stable WebAuthn…
vanbukin Dec 5, 2025
4ffccb5
Update `AuthenticatorTransport` documentation to use stable WebAuthn …
vanbukin Dec 5, 2025
3c4172b
Update `PublicKeyCredentialHints` documentation to use stable WebAuth…
vanbukin Dec 5, 2025
5f3dc80
Update `PublicKeyCredentialType` documentation to use stable WebAuthn…
vanbukin Dec 5, 2025
7b7efb0
Update `ResidentKeyRequirement` documentation to use stable WebAuthn …
vanbukin Dec 8, 2025
4cf9c53
Update `UserVerificationRequirement` documentation to use stable WebA…
vanbukin Dec 8, 2025
6ba071e
Remove attestation-related properties and unused references across au…
vanbukin Dec 8, 2025
ef543b5
Update `AuthenticationResponse` documentation to use stable WebAuthn …
vanbukin Dec 8, 2025
a071239
Update `AuthenticationResponse` documentation to use stable WebAuthn …
vanbukin Dec 8, 2025
63784d5
Update `RegistrationResponseJSON` documentation to use stable WebAuth…
vanbukin Dec 8, 2025
f52bbd3
Update `AuthenticatorAttestationResponseJSON` documentation to use st…
vanbukin Dec 9, 2025
a33c5b9
Update `AuthenticatorSelectionCriteriaJSON` documentation to use stab…
vanbukin Dec 9, 2025
4780b42
Bump .NET SDK to 10.0.101
vanbukin Dec 10, 2025
2539038
Update documentation to use stable WebAuthn specification links and i…
vanbukin Dec 10, 2025
18d7887
Update `PublicKeyCredentialDescriptorJSON` documentation to use stabl…
vanbukin Dec 17, 2025
96caddd
Refactor constructors in `PublicKeyCredentialDescriptorJSON` and enco…
vanbukin Dec 17, 2025
cde6609
Update `PublicKeyCredentialDescriptor` and `PublicKeyCredentialDescri…
vanbukin Dec 17, 2025
1968691
Update `PublicKeyCredentialDescriptor` documentation to use stable We…
vanbukin Dec 17, 2025
e90f82a
Update `AuthenticatorAttestationResponse` and `AuthenticatorAttestati…
vanbukin Dec 17, 2025
b3b071e
Update `RegistrationResponse` documentation to use stable WebAuthn sp…
vanbukin Dec 17, 2025
50dd0cb
Update `AuthenticatorSelectionCriteria` documentation to use stable W…
vanbukin Dec 17, 2025
8471371
Update `PublicKeyCredentialCreationOptions` and `PublicKeyCredentialC…
vanbukin Dec 17, 2025
36bebb9
Update `PublicKeyCredentialParameters` documentation to use stable We…
vanbukin Dec 17, 2025
bca6ee2
Update `PublicKeyCredentialRpEntity` documentation to use stable WebA…
vanbukin Dec 17, 2025
e504338
Update `PublicKeyCredentialUserEntity` documentation to use stable We…
vanbukin Dec 17, 2025
bd8fa4e
Update `X509ChainValidationOptions` to adjust chain validation polici…
vanbukin Dec 17, 2025
ba9f58d
Update package references and conditionally handle certificate loadin…
vanbukin Dec 17, 2025
ce04429
Update `AndroidKeyAttestationStatementOptions` documentation to use s…
vanbukin Dec 17, 2025
bda635d
Update `NoneAttestationOptions` documentation to use stable WebAuthn …
vanbukin Dec 17, 2025
8ced445
Update `SelfAttestationOptions` documentation to use stable WebAuthn …
vanbukin Dec 17, 2025
a91b5f1
Update `AttestationStatementOptions` documentation to use stable WebA…
vanbukin Dec 17, 2025
ec94193
Update `SelfAttestationOptions` and `AttestationTypeOptions` document…
vanbukin Dec 17, 2025
e186fd7
Update `WebAuthnOptions` documentation to use stable WebAuthn specifi…
vanbukin Dec 17, 2025
b2d457a
Update `CredentialPublicKeyRecord` documentation to use stable WebAut…
vanbukin Dec 17, 2025
e6453c0
Update `UserCredentialRecord` documentation to use stable WebAuthn sp…
vanbukin Dec 17, 2025
95fa49e
Update `CredentialRecord` documentation to use stable WebAuthn specif…
vanbukin Dec 17, 2025
ec65669
Update `CoseAlgorithm` documentation to use stable WebAuthn specifica…
vanbukin Dec 17, 2025
96d70b5
Update `DefaultCoseKeyDeserializer` to use stable WebAuthn specificat…
vanbukin Dec 17, 2025
d9e55a6
Update `IAttestationObjectDecoder` and `AttestationObject` documentat…
vanbukin Dec 17, 2025
5c6436b
Update `CredentialRecordUpdateResult` documentation to use stable Web…
vanbukin Dec 17, 2025
b9e2ba3
Update `CredentialBackupStateRecommendedAction` documentation to use …
vanbukin Dec 17, 2025
3d9bab6
Update `InMemoryUserCredentialRecord` documentation to use stable Web…
vanbukin Dec 18, 2025
46c8975
Update `MySqlPublicKeyCredentialDescriptor` and `MySqlUserCredentialR…
vanbukin Dec 18, 2025
677b343
Rename `CredentialId` to `Id` in `MySqlPublicKeyCredentialDescriptor`…
vanbukin Dec 18, 2025
c0935a8
Rename `Id` to `CredentialId` in `MySqlPublicKeyCredentialDescriptor`…
vanbukin Dec 18, 2025
ab38f83
Update `PostgreSqlPublicKeyCredentialDescriptor` documentation to use…
vanbukin Dec 18, 2025
304833d
Update `PostgreSqlUserCredentialRecord` documentation to use stable W…
vanbukin Dec 18, 2025
491363c
Update `SqlServerPublicKeyCredentialDescriptor` documentation to use …
vanbukin Dec 18, 2025
60e35f5
Update `SqlServerUserCredentialRecord` documentation to use stable We…
vanbukin Dec 18, 2025
f957a45
Remove unused attestation-related dependencies and replace WebAuthn s…
vanbukin Dec 22, 2025
9cc2516
Update `AuthenticationCeremonyIncludeCredentials` documentation to us…
vanbukin Dec 23, 2025
c874a4a
Update `AuthenticationCeremonyPublicKeyCredentialDescriptor` document…
vanbukin Dec 23, 2025
e296363
Update `BeginAuthenticationCeremonyRequest` documentation to use stab…
vanbukin Dec 23, 2025
80086b5
Update `CompleteAuthenticationCeremonyResult` documentation to use st…
vanbukin Dec 23, 2025
2962d40
Update `IAuthenticationCeremonyService` documentation to use stable W…
vanbukin Dec 23, 2025
fe8ab07
Update `IAndroidKeyAttestationStatementDecoder` documentation to use …
vanbukin Dec 23, 2025
90f61a7
Update `IAndroidSafetyNetAttestationStatementDecoder` documentation t…
vanbukin Dec 23, 2025
ee13585
Update `IAppleAnonymousAttestationStatementDecoder` documentation to …
vanbukin Dec 23, 2025
4436a76
Update `IFidoU2FAttestationStatementDecoder` documentation to use sta…
vanbukin Dec 23, 2025
1e4322f
Update `INoneAttestationStatementDecoder` documentation to use stable…
vanbukin Dec 23, 2025
3ebcb9a
Update `IPackedAttestationStatementDecoder` documentation to use stab…
vanbukin Dec 23, 2025
00ab9c9
Update `ITpmAttestationStatementDecoder` documentation to use stable …
vanbukin Dec 23, 2025
4579a66
Update `DefaultAttestationStatementDecoder` documentation to use stab…
vanbukin Dec 23, 2025
d2ef1e6
Update `AndroidKeyAttestationStatement` documentation to use stable W…
vanbukin Dec 23, 2025
0907965
Update `AndroidSafetyNetAttestationStatement` documentation to use st…
vanbukin Dec 23, 2025
50a16f2
Update `AppleAnonymousAttestationStatement` documentation to use stab…
vanbukin Dec 23, 2025
d80c548
Update `FidoU2FAttestationStatement` documentation to use stable WebA…
vanbukin Dec 23, 2025
d681161
Update `NoneAttestationStatement` documentation to use stable WebAuth…
vanbukin Dec 23, 2025
0ac81e6
Update `PackedAttestationStatement` documentation to use stable WebAu…
vanbukin Dec 23, 2025
c42ef7f
Update `TpmAttestationStatement` documentation to use stable WebAuthn…
vanbukin Dec 23, 2025
b77c97e
Update `IAndroidKeyAttestationStatementVerifier` documentation to use…
vanbukin Dec 23, 2025
b2b106c
Update `IAndroidKeyAttestationStatementVerifier` and `IAndroidSafetyN…
vanbukin Dec 23, 2025
f6a5d5a
Update `IAndroidSafetyNetAttestationStatementVerifier` documentation …
vanbukin Dec 23, 2025
d0698c6
Update `IAppleAnonymousAttestationStatementVerifier` documentation to…
vanbukin Dec 23, 2025
98e70dc
Update `IFidoU2FAttestationStatementVerifier` documentation to use st…
vanbukin Dec 23, 2025
60fe386
Update `INoneAttestationStatementVerifier` documentation to use stabl…
vanbukin Dec 23, 2025
11d66ee
Update `IPackedAttestationStatementVerifier` documentation to use sta…
vanbukin Dec 23, 2025
6d10db1
Update `ITpmAttestationStatementVerifier` documentation to use stable…
vanbukin Dec 23, 2025
24fc527
Update `AndroidKeyRoots` documentation to use stable WebAuthn specifi…
vanbukin Dec 23, 2025
ab8c122
Refactor `AndroidKey` root certificates: remove unused RSA key file, …
vanbukin Dec 23, 2025
83fcfce
Update `DefaultAndroidKeyAttestationStatementVerifier` documentation …
vanbukin Dec 23, 2025
853dbd9
Update `DefaultAndroidKeyAttestationStatementVerifier` to use stable …
vanbukin Dec 23, 2025
11d9e2f
Update `DefaultAndroidSafetyNetAttestationStatementVerifier` and `And…
vanbukin Dec 23, 2025
c29f33d
Update `AppleRoots` documentation to use stable WebAuthn specificatio…
vanbukin Dec 23, 2025
097ec50
Update `DefaultAppleAnonymousAttestationStatementVerifier` documentat…
vanbukin Dec 23, 2025
cfaf31c
Update `FidoU2FAttestationTypeResult` documentation to use stable Web…
vanbukin Dec 24, 2025
3ddd4c8
Update `AttestationType` documentation to use stable WebAuthn specifi…
vanbukin Dec 24, 2025
e1f0930
Update `DefaultFidoU2FAttestationStatementVerifier` documentation to …
vanbukin Dec 24, 2025
799e03c
Update `DefaultNoneAttestationStatementVerifier` documentation to use…
vanbukin Dec 24, 2025
ebccfd6
Update `FidoPackedAttestationTypeResult` documentation to use stable …
vanbukin Dec 24, 2025
1c232d2
Update `DefaultPackedAttestationStatementVerifier` documentation to u…
vanbukin Dec 24, 2025
5feeb30
Update `TpmRoots` documentation to use stable WebAuthn specification …
vanbukin Dec 24, 2025
00644d5
Update `DefaultTpmAttestationStatementVerifier` and `DefaultTpmCertIn…
vanbukin Dec 24, 2025
29271de
Update `DefaultAttestationStatementVerifier` documentation to use sta…
vanbukin Dec 24, 2025
87a194f
Update `DefaultAuthenticatorDataDecoder` and `DefaultAttestationTrust…
vanbukin Dec 24, 2025
0bee863
Update `AuthenticatorDataFlags` documentation to use stable WebAuthn …
vanbukin Dec 24, 2025
1a11aad
Update documentation to use stable WebAuthn specification links in `N…
vanbukin Dec 24, 2025
9aadcbd
Update `AttestedCredentialData` documentation to use stable WebAuthn …
vanbukin Dec 24, 2025
833b9f3
Remove `TokenBinding` model, related enums, and unused references whi…
vanbukin Dec 29, 2025
987a9a8
Update `IRegistrationResponseDecoder` and `DefaultRegistrationCeremon…
vanbukin Jan 12, 2026
b74e78d
Update `DefaultRegistrationCeremonyService` to align with stable WebA…
vanbukin Jan 12, 2026
542bad4
Update `DefaultRegistrationCeremonyService` documentation to use stab…
vanbukin Jan 12, 2026
322bd7c
Update `CompleteRegistrationCeremonyResult` documentation to use stab…
vanbukin Jan 12, 2026
7e68cb2
Update `BeginRegistrationCeremonyRequest` documentation to use stable…
vanbukin Jan 12, 2026
9ea11ad
Update .NET SDK and package dependencies across projects
vanbukin Jan 14, 2026
bc53c25
Update `RegistrationCeremonyExcludeCredentials` documentation to use …
vanbukin Jan 14, 2026
a3bacd0
Update `RegistrationCeremonyPublicKeyCredentialDescriptor` documentat…
vanbukin Jan 14, 2026
aa9f515
Update `RegistrationCeremonyPublicKeyCredentialDescriptor` to use sta…
vanbukin Jan 14, 2026
2a73a9e
Update `IRegistrationCeremonyService` documentation to use stable Web…
vanbukin Jan 14, 2026
4ccb6c0
Update `CollectedClientData` and `CollectedClientDataJson` documentat…
vanbukin Jan 14, 2026
8b09869
Update TPM and Packed attestation verifiers to use stable WebAuthn sp…
vanbukin Jan 14, 2026
6ad0ea9
Update WebAuthn models and enums to use stable specification links an…
vanbukin Jan 14, 2026
5e26955
Add `IAPARThreshold` field to biometric accuracy descriptors and upda…
vanbukin Jan 14, 2026
ae6aa46
Update biometric status report models to use stable FIDO specificatio…
vanbukin Jan 20, 2026
12e3117
Extend `StatusReport` and related models to support new FIDO metadata…
vanbukin Jan 21, 2026
4999bcc
Refactor FIDO metadata models to introduce `FidoPublicKeyCredentialPa…
vanbukin Jan 21, 2026
51a7a4d
Update elliptic curve and key parameter documentation to use stable R…
vanbukin Jan 21, 2026
fad3ec7
Update `CodeAccuracyDescriptor` documentation to use stable FIDO spec…
vanbukin Jan 21, 2026
e09b68e
Update FIDO metadata model documentation to use stable specification …
vanbukin Jan 21, 2026
f235f46
Update `DisplayPNGCharacteristicsDescriptor` documentation to use sta…
vanbukin Jan 21, 2026
75d985a
Update `EcdaaTrustAnchor` documentation to use stable FIDO specificat…
vanbukin Jan 21, 2026
a11b256
Update `ExtensionDescriptor` documentation to use stable FIDO specifi…
vanbukin Jan 21, 2026
c4e6a25
Update FIDO metadata model documentation to use updated stable specif…
vanbukin Jan 21, 2026
e9851b1
Extend FIDO metadata models with additional fields for enhanced provi…
vanbukin Jan 21, 2026
d972be2
Update FIDO metadata model documentation to use v3.1 specification links
vanbukin Jan 21, 2026
32a0db6
Update `StatusReportJSON` to rename `fipsRevision` to `fipsPhysicalSe…
vanbukin Jan 21, 2026
7c2b258
Update `PatternAccuracyDescriptor` documentation to reference FIDO v3…
vanbukin Jan 21, 2026
c47e9d6
Update `RgbPaletteEntry` documentation to reference FIDO v3.1 specifi…
vanbukin Jan 21, 2026
a5a184a
Update `StatusReport` documentation to reference FIDO v3.1 specificat…
vanbukin Jan 21, 2026
0140f82
Update `VerificationMethodDescriptor` documentation to reference FIDO…
vanbukin Jan 21, 2026
d809f49
Update `Version` and `VersionJSON` documentation to use stable FIDO s…
vanbukin Jan 21, 2026
c1a3f9a
Update `FidoPublicKeyCredentialParameters` documentation to reference…
vanbukin Jan 21, 2026
04f4920
Update `CompleteRegistrationCeremonyResult` documentation to referenc…
vanbukin Jan 21, 2026
5f88234
Update `BiometricStatusReport` documentation to reference FIDO v3.1 s…
vanbukin Jan 21, 2026
9abe6e4
Update `MetadataBlobPayloadEntry` documentation to reference FIDO v3.…
vanbukin Jan 21, 2026
5da4fb1
Update `MetadataStatement` and `MetadataStatementJSON` documentation …
vanbukin Jan 21, 2026
55ecacc
Update `MetadataBLOBPayloadEntryJSON` documentation to reference FIDO…
vanbukin Jan 21, 2026
72b0205
Update `MetadataBLOBPayloadEntryJSON` and `MetadataBlobPayloadEntry` …
vanbukin Jan 21, 2026
8101bb6
Update `MetadataStatementJSON` documentation to reference FIDO v2.2 s…
vanbukin Jan 21, 2026
c745f42
Update `MetadataBLOBPayloadEntryJSON` and `MetadataBlobPayloadEntry` …
vanbukin Jan 21, 2026
77cfd02
Update `MetadataStatement` and `MetadataStatementJSON` documentation …
vanbukin Jan 21, 2026
a7bb207
Update `FidoPublicKeyCredentialParametersJSON` documentation to fix c…
vanbukin Jan 21, 2026
2342141
Add `TokenBinding` support in `CollectedClientData` to align with Web…
vanbukin Jan 21, 2026
bd502c2
Update instructions for running FIDO Conformance Tests manually
vanbukin Jan 21, 2026
2a9bcd7
Bump .NET SDK version references to 9.0.310 in documentation and GitH…
vanbukin Jan 21, 2026
2cbc149
Add `dependabot.yml` to solution file
vanbukin Jan 21, 2026
2797728
Comment out `RequestLoggingMiddleware` registration and usage in FIDO…
vanbukin Jan 21, 2026
1262eb2
Update bootstrap in demo project
vanbukin Jan 21, 2026
c5d7c72
Bump package versions: `Microsoft.Data.SqlClient` to 6.1.4, `OpenTele…
vanbukin Jan 21, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ max_line_length = 999999999
# Xml project files
[*.csproj]
indent_size = 2
ij_formatter_enabled = false
ij_formatter_enabled = true
# Xml config files
[*.props]
indent_size = 2
Expand Down
17 changes: 12 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,25 @@ jobs:
DOTNET_CLI_TELEMETRY_OPTOUT: true
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup .NET SDK 6.0
uses: actions/checkout@v6
- name: Setup .NET SDK 8.0
uses: actions/setup-dotnet@v5
with:
dotnet-version: 6.0.425
dotnet-version: 8.0.402
source-url: ${{ secrets.NUGET_SOURCE }}
env:
NUGET_AUTH_TOKEN: ${{ secrets.PACKAGES_TOKEN }}
- name: Setup .NET SDK 8.0
- name: Setup .NET SDK 9.0
uses: actions/setup-dotnet@v5
with:
dotnet-version: 8.0.402
dotnet-version: 9.0.308
source-url: ${{ secrets.NUGET_SOURCE }}
env:
NUGET_AUTH_TOKEN: ${{ secrets.PACKAGES_TOKEN }}
- name: Setup .NET SDK 10.0
uses: actions/setup-dotnet@v5
with:
dotnet-version: 10.0.100
source-url: ${{ secrets.NUGET_SOURCE }}
env:
NUGET_AUTH_TOKEN: ${{ secrets.PACKAGES_TOKEN }}
Expand Down
17 changes: 12 additions & 5 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,29 @@ jobs:
environment: Production
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
ref: ${{ github.sha }}
- name: Set release version
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Setup .NET SDK 6.0
- name: Setup .NET SDK 8.0
uses: actions/setup-dotnet@v5
with:
dotnet-version: 6.0.425
dotnet-version: 8.0.402
source-url: ${{ secrets.NUGET_SOURCE }}
env:
NUGET_AUTH_TOKEN: ${{ secrets.PACKAGES_TOKEN }}
- name: Setup .NET SDK 8.0
- name: Setup .NET SDK 9.0
uses: actions/setup-dotnet@v5
with:
dotnet-version: 8.0.402
dotnet-version: 9.0.308
source-url: ${{ secrets.NUGET_SOURCE }}
env:
NUGET_AUTH_TOKEN: ${{ secrets.PACKAGES_TOKEN }}
- name: Setup .NET SDK 10.0
uses: actions/setup-dotnet@v5
with:
dotnet-version: 10.0.100
source-url: ${{ secrets.NUGET_SOURCE }}
env:
NUGET_AUTH_TOKEN: ${{ secrets.PACKAGES_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build-env

COPY . ./app

Expand All @@ -7,7 +7,7 @@ WORKDIR /app/demo/WebAuthn.Net.Demo.Mvc
RUN dotnet restore
RUN dotnet publish -c Release -o out

FROM mcr.microsoft.com/dotnet/aspnet:8.0
FROM mcr.microsoft.com/dotnet/aspnet:10.0
WORKDIR /app
COPY --from=build-env /app/demo/WebAuthn.Net.Demo.Mvc/out .
ENTRYPOINT ["dotnet", "WebAuthn.Net.Demo.Mvc.dll"]
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# WebAuthn.Net

A production-ready, easy-to-use, extensible implementation of the [WebAuthn Level 3 standard](https://www.w3.org/TR/2023/WD-webauthn-3-20230927/), passing the [FIDO conformance test](https://fidoalliance.org/certification/functional-certification/conformance/), for the server side of web applications on .NET 6 and .NET 8.
A production-ready, easy-to-use, extensible implementation of the [WebAuthn Level 3 standard](https://www.w3.org/TR/2023/WD-webauthn-3-20230927/), passing the [FIDO conformance test](https://fidoalliance.org/certification/functional-certification/conformance/), for the server side of web applications on .NET 8, .NET 9 and .NET 10.

<a href="https://webauthn.dodo.dev"><img src="https://img.shields.io/badge/Demo-blue"/></a>
<a href="https://www.nuget.org/packages/WebAuthn.Net/"><img src="https://img.shields.io/badge/NuGet-blue"/></a>
Expand Down Expand Up @@ -61,8 +61,9 @@ The documentation for each project is described in its README.md file.

### Required dependencies

- [.NET SDK 6.0.425+](https://dotnet.microsoft.com/en-us/download/dotnet/6.0)
- [.NET SDK 8.0.402+](https://dotnet.microsoft.com/en-us/download/dotnet/8.0)
- [.NET SDK 8.0.416+](https://dotnet.microsoft.com/en-us/download/dotnet/8.0)
- [.NET SDK 9.0.308+](https://dotnet.microsoft.com/en-us/download/dotnet/9.0)
- [.NET SDK 10.0.100+](https://dotnet.microsoft.com/en-us/download/dotnet/10.0)

## Tips for Contribution

Expand Down
117 changes: 0 additions & 117 deletions WebAuthn.Net.sln

This file was deleted.

34 changes: 34 additions & 0 deletions WebAuthn.Net.slnx
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<Solution>
<Folder Name="/root/">
<File Path=".editorconfig"/>
<File Path=".gitattributes"/>
<File Path=".gitignore"/>
<File Path="Directory.Build.props"/>
<File Path="global.json"/>
<File Path="NOTICE.md"/>
<File Path="README.md"/>
</Folder>
<Folder Name="/root/.config/">
<File Path=".config/dotnet-tools.json"/>
</Folder>
<Folder Name="/root/.github/"/>
<Folder Name="/root/.github/workflows/">
<File Path=".github/workflows/CI.yml"/>
<File Path=".github/workflows/Release.yml"/>
</Folder>
<Folder Name="/root/demo/">
<Project Path="demo/WebAuthn.Net.Demo.FidoConformance/WebAuthn.Net.Demo.FidoConformance.csproj"/>
<Project Path="demo/WebAuthn.Net.Demo.Mvc/WebAuthn.Net.Demo.Mvc.csproj"/>
</Folder>
<Folder Name="/root/src/">
<Project Path="src/WebAuthn.Net.OpenTelemetry/WebAuthn.Net.OpenTelemetry.csproj"/>
<Project Path="src/WebAuthn.Net.Storage.InMemory/WebAuthn.Net.Storage.InMemory.csproj"/>
<Project Path="src/WebAuthn.Net.Storage.MySql/WebAuthn.Net.Storage.MySql.csproj"/>
<Project Path="src/WebAuthn.Net.Storage.PostgreSql/WebAuthn.Net.Storage.PostgreSql.csproj"/>
<Project Path="src/WebAuthn.Net.Storage.SqlServer/WebAuthn.Net.Storage.SqlServer.csproj"/>
<Project Path="src/WebAuthn.Net/WebAuthn.Net.csproj"/>
</Folder>
<Folder Name="/root/tests/">
<Project Path="tests/WebAuthn.Net.Tests.Unit/WebAuthn.Net.Tests.Unit.csproj"/>
</Folder>
</Solution>
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,19 @@
var json = Encoding.UTF8.GetString(ms.ToArray());
var element = JsonSerializer.Deserialize<JsonElement>(json);
var intendedJson = JsonSerializer.Serialize(element, _jsonSerializerOptions);
_logger.LogInformation($"Request {context.Request.Method} {context.Request.GetEncodedPathAndQuery()}{Environment.NewLine}Body:{Environment.NewLine}{intendedJson}");
_logger.LogRequestInformation(context.Request.Method, context.Request.GetEncodedPathAndQuery(), intendedJson);
await next(context);
}
}

internal static partial class RequestLoggingMiddlewareLoggingExtensions
{
[LoggerMessage(
Level = LogLevel.Information,
Message = "Request {Method} {PathAndQuery}\nBody:\n{Body}")]
public static partial void LogRequestInformation(
this ILogger logger,
string method,
string pathAndQuery,
string body);
}
4 changes: 2 additions & 2 deletions demo/WebAuthn.Net.Demo.FidoConformance/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ This project contains a demo application designed for passing the [FIDO conforma

These steps need to be performed only if you have not done them before.

1. Install .NET SDK versions [6.0.425+](https://dotnet.microsoft.com/en-us/download/dotnet/6.0) and [8.0.402+](https://dotnet.microsoft.com/en-us/download/dotnet/8.0).
2. [Trust the ASP.NET Core HTTPS development certificate](https://learn.microsoft.com/en-us/aspnet/core/security/enforcing-ssl?view=aspnetcore-8.0&tabs=visual-studio%2Clinux-ubuntu#trust-the-aspnet-core-https-development-certificate-on-windows-and-macos)
1. Install .NET SDK versions [.NET SDK 8.0.416+](https://dotnet.microsoft.com/en-us/download/dotnet/8.0), [.NET SDK 9.0.308+](https://dotnet.microsoft.com/en-us/download/dotnet/9.0) and [.NET SDK 10.0.100+](https://dotnet.microsoft.com/en-us/download/dotnet/10.0).
2. [Trust the ASP.NET Core HTTPS development certificate](https://learn.microsoft.com/en-us/aspnet/core/security/enforcing-ssl?view=aspnetcore-10.0&tabs=visual-studio%2Clinux-sles#trust-the-aspnet-core-https-development-certificate)

### Starting the FIDO Conformance test

Expand Down
Original file line number Diff line number Diff line change
@@ -1,41 +1,42 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<LangVersion>12</LangVersion>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<LangVersion>14</LangVersion>
<NoWarn>$(NoWarn);CA1515;</NoWarn>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\src\WebAuthn.Net.Storage.InMemory\WebAuthn.Net.Storage.InMemory.csproj" />
<ProjectReference Include="..\..\src\WebAuthn.Net.Storage.MySql\WebAuthn.Net.Storage.MySql.csproj" />
<ProjectReference Include="..\..\src\WebAuthn.Net.Storage.PostgreSql\WebAuthn.Net.Storage.PostgreSql.csproj" />
<ProjectReference Include="..\..\src\WebAuthn.Net.Storage.SqlServer\WebAuthn.Net.Storage.SqlServer.csproj" />
<ProjectReference Include="..\..\src\WebAuthn.Net\WebAuthn.Net.csproj" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\WebAuthn.Net.Storage.InMemory\WebAuthn.Net.Storage.InMemory.csproj"/>
<ProjectReference Include="..\..\src\WebAuthn.Net.Storage.MySql\WebAuthn.Net.Storage.MySql.csproj"/>
<ProjectReference Include="..\..\src\WebAuthn.Net.Storage.PostgreSql\WebAuthn.Net.Storage.PostgreSql.csproj"/>
<ProjectReference Include="..\..\src\WebAuthn.Net.Storage.SqlServer\WebAuthn.Net.Storage.SqlServer.csproj"/>
<ProjectReference Include="..\..\src\WebAuthn.Net\WebAuthn.Net.csproj"/>
</ItemGroup>

<ItemGroup>
<None Update="ConformanceMetadata\Jwt\*">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="ConformanceMetadata\Jwt\.gitkeep">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</None>
<None Update="ConformanceMetadata\RootCertificate\*.*">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="ConformanceMetadata\MetadataStatements\.gitkeep">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</None>
<Content Remove="ConformanceMetadata\MetadataStatements\*.json" />
<None Include="ConformanceMetadata\MetadataStatements\*.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<None Update="ConformanceMetadata\Jwt\*">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="ConformanceMetadata\Jwt\.gitkeep">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</None>
<None Update="ConformanceMetadata\RootCertificate\*.*">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Update="ConformanceMetadata\MetadataStatements\.gitkeep">
<CopyToOutputDirectory>Never</CopyToOutputDirectory>
</None>
<Content Remove="ConformanceMetadata\MetadataStatements\*.json"/>
<None Include="ConformanceMetadata\MetadataStatements\*.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Polly" Version="8.4.2" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Polly" Version="8.6.5"/>
</ItemGroup>

</Project>
Loading
Loading