yk

package module
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2025 License: MIT Imports: 6 Imported by: 0

README

yk Go Reference test Go Report Card License

a library to work with yubikeys without cgo

Prerequisites

Linux

Install the PCSC-Lite daemon and CCID driver.

Ubuntu:

sudo apt install pcscd libccid

Arch Linux:

sudo pacman -S pcsclite ccid
sudo systemctl enable pcscd
Windows

None

Installation

go get github.com/malivvan/yk

Packages

package repository license
pcsc scard github.com/deeper-x/gopcsc MIT MIT

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProcessCommand

func ProcessCommand(card *scard.Card, command string, echoCmd bool) error

func Run

func Run(aid, script string) error

func RunInteractive

func RunInteractive(card *scard.Card) error

func RunScript

func RunScript(card *scard.Card, script string) error

Types

This section is empty.

Directories

Path Synopsis
cmd
apdu command
show-atr command
Package smartcard implements a portable high-level API for communicating with smart cards.
Package smartcard implements a portable high-level API for communicating with smart cards.

Jump to

Keyboard shortcuts

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