Skip to content

tpc3/go-ctap

Repository files navigation

Go Library for FIDO CTAP2

Go Reference Go Report Card

Introduction

This library implements FIDO Client to Authenticator Protocol(CTAP) 2.1.

Installation

go get github.com/tpc3/go-ctap

Features

  • Command request and response struct
  • Command function
  • PinUvAuth utility
  • wrap PC/SC card

CTAP1 isn't implemented

Usage

Get device

  • NFC: call ctap_pcsc.NewDevice(card *scard.Card)
  • USB: WIP

Get PinUvAuthToken

call (ctap.Device).GetPinUvAuthToken(permission, rpId, pin)

Call CTAP commands

call (ctap.Device).<command_name>

Read example directory to get more usage.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages