Showing posts with label Fido2. Show all posts
Showing posts with label Fido2. Show all posts

Wednesday, April 22, 2026

Local WebAuthn/FIDO2 environment

In last 2 years, we add WebAuthn/FIDO2 support to our server web apps. It works great and has multiple advantages over classical authentication. The whole idea of passwordless authentication is just awesome.

It was not long ago when I realized that testing FIDO2 in Chromium-based browsers is as easy as enabling WebAuthn tab in Developer's console! It's just there! Just hit F12 and either just add + to add a new tab or click three-dots and pick More tools. Then just click WebAuthn and you'll get a local WebAuthn client that lives until you close the browser. Perfect for testing!

If you need a gentle WebAuthn introduction, visit webauthn.io for more information.

Thursday, October 19, 2023

Fido2.NetFramework

Just published a working code of a port of the fido2-net-lib library. The library is great, it works but there's a drawback - it targets .NET 6 (or higher) which means that creating Fido2/Webauthn compatible website in .NET 4.X using the library is impossible.
My ported library, called the Fido2.NetFramework is supposed to fill the gap. I downgraded the code so that it compiles using the old C# 4.8 compiler, I replaced all external references that targets APIs/libraries/frameworks that are not available in .NET 4.8. For example, the Nsec.Cryptography used in the source library, was replaced with BouncyCastle.
The code contains a working demo.
There's still some work to do, in particular, validate the port by porting unit tests and creating extra compatibility tests.