mirror of
https://github.com/Yubico/yubikit-swift.git
synced 2026-05-10 06:02:32 +00:00
PIVTool
Command-line tool demonstrating PIV functionality with YubiKit.
Overview
This sample tool shows how to:
- Generate keys directly on the YubiKey
- Manage certificates and perform digital signatures
- Handle PIN/PUK authentication and management keys
- Work with different key types (RSA, ECDSA, Ed25519, X25519)
Documentation
For a detailed walkthrough of this sample, see the PIVTool documentation.
Build and Run
make
Test
make test
Tests require:
- YubiKey connected via USB
- BATS test framework (
brew install bats-core)