Skip to content

A project to use yubikey low level functions on node.js applications

Notifications You must be signed in to change notification settings

agco/yubikey-piv-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project creates a bridge between yubikey devices and node.js programs.

It is meant to mimic the function available on yubico-piv-tool, with small adaptations.

Functions implemented:

function listReaders()
function getVersion()
function verifyPin(pin)
function changePuk(currentPuk, newPuk)
function reset()
function changePin(currentPin, newPin)
function setManagementKey(current_key, new_key)
function getAvailableAlgorithms()
function getAvailableKeyFormats()
function getPinPolicies()
function getTouchPolicies()
function getAvailableHashes()
function generateKey(mgmKey, slot, algorithm, keyFormat)
function requestCertificate(mgmKey, slot, hash, subject, publicKey)
function importCertificate(mgmKey, slot, certFormat, certificate, password)
function readCertificate(slot, keyFormat)
function deleteCertificate(slot, mgmKey)
function importKey(mgmKey, slot, certFormat, certificate, password)
function unlockPin(puk, newPin)

About

A project to use yubikey low level functions on node.js applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published