smartcard

command module
v0.0.0-...-4dbeb52 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 3, 2020 License: MIT Imports: 1 Imported by: 0

README

Smart Card Test Tool

Compile GitHub GitHub Last Commit

Smart Card Test Tool is simple Web Service written in GO for testing PIV Applets in Smart Card. For more info search for ISO7816-4.


Instructions

Build

go build -trimpath -ldflags "-s -w"

Simply start smartcard.exe and open http://localhost:5580 to open test page. If you are using PostMan, you will find API collection definition with all available REST URL's

Note:

  • Data parameter must be set in HEX through web page.
  • Data parameter must be set in Base64 encoded HEX array when API is used directly.
  • Response Data property is HEX String.
SmartCard Info

SmartCard with PIV applets store client SSL certificate which can be used to authenticate user to web site.

Type of smart card devices are

  • Mobile SIM
  • Bank / Credit Card
  • Security Keys (YubiKey)
  • JavaCard

©2015-2020. Green Screens Ltd. www.greenscreens.io

Documentation

Overview

Package main Desktop smartcard linker between browser and locally instaleld smartcard Browser JavaScript might call service to communicate directly with smartcard

Directories

Path Synopsis
libs
api
Package api contains functions to cummunicate with smartcards as conencting, issuing commands etc.
Package api contains functions to cummunicate with smartcards as conencting, issuing commands etc.
jsondef
Package jsondef contains http requests definitions
Package jsondef contains http requests definitions
server
Package server contains Http server and routes for processing requests Package server Generic simple http server
Package server contains Http server and routes for processing requests Package server Generic simple http server

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL