Skip to content

FIDO-AC/fidoac

Repository files navigation

FIDO-AC

This repository provides an implementation for the FIDO-AC system, an unoptimized proof-of-concept implementation prototype for the framework described in the Fast IDentity Online with Anonymous Credentials (FIDO-AC) paper link.

System design

Elements of the system:

  • Mobile application (Android)
  • FIDO-AC javascript that intercepts calls to navigator object
  • FIDO server
  • FIDO-AC server

The diagram below presents the interactions between elements of the system.

Repositories

  1. fidoac_androidapp : Android Application implementing the BAC/PACE, the ZK-Proof of the eID attribute and the local mediator.
  2. fidoac_app_server: Relying Party's FIDO Server, implemenetion based on simplewebauthn server
  3. fidoac_server: Web server for FIDO-AC verification (ZKProof and mediator).

FIDO-AC core elements

fidoac_andoridapp

The fidoac_androidapp implements

fido_app_server

The fido_app_server implements a standard FIDO2 server extended with FIDO-AC functionalities to trigger fido-ac extension and run the verification against FIDO-AC Server The FIDO-AC extension code can be found in fido-ac.ts file

Additionally, the server publishes a fido-ac.js which is responsible for intercepting FIDO calls and forwarding them to FIDO-AC application.

fidoac_server

The fidoac_server implements ZKP verification and publishing CRS. The source code for ZKP operations can be found in main.rs. The rust code is wrapped in the HTTP server. The local mediator verification can be found in MediatorVerifier.py.

Getting started

Building Server App

The fidoac_app_server and fidoac_server applications can be easily started using docker-compose.yml file

docker compose up

Building Android App

The expected mediator signing key for the APK is also provided and already preconfigured in build.gradle.

Prerequisites:

  1. Build Rust Code to lib.so
./gradlew cargoBuild
  1. Build Android Code to APK
./gradlew assembleDebug
  1. Install APK

User journey in the FIDO-AC system

Below, we present the interaction diagram for the FIDO process enchanced with the FIDO-AC elements.

fidoac_simplified_impl_dia drawio

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors