Giter Club home page Giter Club logo

mdoc-verifier's Introduction

mdoc verifier

Overview

This project is an mdoc/mDL (mobile driving license) verification compliant with ISO/IEC 18013-5:2021.

mdog

Included Packages

  • mdoc: Provides mdoc data model and verification functionality
  • apple_hpke, preview_hpke, openid4vp: Offer session encryption capabilities for each protocol
  • document: Define the element identifiers for each doctype and namespace.
  • server: Example server demonstrating how to use the verifier

How to use for Apple's Verify with Wallet API

Status of behavior check

owf wallet
(prevew)
owf wallet
(oid4vp)
Apple wallet
(sample data)
Apple wallet
(iOS simulator)
EUDI wallet
Interface for communicating with wallets Identity Credential API Identity Credential API Verify with Wallet API Verify with Wallet API OID4VP
Encryption HPKE No encryption HPKE HPKE JOSE
Reader authenticator - - Verify with the Marchant Key is managed by developer center.
(The sample data is fixed)
Verify with the Marchant Key is managed by developer center.
(iOS simulator returns mock data)
client_id_schema = x509_san_dns

(Create root certification and embeded in the wallet)
Verification of issuer certification Unknown where issuer's certificate or root certificate is located. Unknown where issuer's certificate or root certificate is located. Can be verified by trusting the certificate of the issuer attached to the sample. The mock data was broken. Unknown where issuer's certificate or root certificate is located.

Also, the certificate has expired.
Verification of mso ok ok ok ok ok
Verification of device signature ok ok ok The mock data was broken. ok
Check digest ok ok ok ok ok

original sheet

Prerequisites

Identity Credentials API

Open wallet Foundation

Apple Wallet (client app)

EUDI Wallet - Android

cp ${this repository}/internal/cryptoroot/pem/rootCert.pem ${eudi-app-android-wallet-ui}/resporesources-logic/src/main/res/raw/eudi_pid_issuer_ut.pem
  • Build and install the app.

How to use sample server

  • Install ngrok and set up the authentication token:
$ ngrok config add-authtoken (token)

$ ngrok config edit
version: "2"
authtoken: (token)
tunnels:
  fido-server:
    addr: 8080
    proto: http
    subdomain: (server-sub-domain)
  web-client:
    addr: 8081
    proto: http
    subdomain: (client-sub-domain)
  • Environment
export SERVER_DOMAIN="(server-sub-domain) "
  • Launch ngrok on your laptop
make ngrok
  • Start the server
make run
  • access to the (client-sub-domain)

links

mdoc-verifier's People

Contributors

kokukuma avatar

Stargazers

佐藤剛士 avatar RyuNen344 avatar Nguyen Gia avatar 56 avatar

Watchers

Lucian avatar  avatar 佐藤剛士 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.