Giter Club home page Giter Club logo

fidoac's Introduction

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

fidoac's People

Contributors

kepuss avatar wabo0 avatar yeohweizhu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.