From ec39c027d2a59c1ae1ffa6e697d5cad57f69caf0 Mon Sep 17 00:00:00 2001 From: gabrix73 Date: Sun, 31 May 2026 02:48:33 +0200 Subject: Initial commit: CLI extraction from yubisigner Extract core signing logic from Stefan Claas's yubisigner GUI into standalone CLI tool for automation workflows. Features: - YubiKey PIV Ed25519 signing (slot 9c) - 4 hash algorithms (RIPEMD-256, SHA-256, SM3, Streebog-256) - Identical signature format to original yubisigner - Command-line interface for scripting All cryptographic functions are verbatim copies from yubisigner.go with original line number references preserved in comments. --- go.mod | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 go.mod (limited to 'go.mod') diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..6165fcd --- /dev/null +++ b/go.mod @@ -0,0 +1,10 @@ +module yubisigner-cli + +go 1.23 + +require ( + github.com/c0mm4nd/go-ripemd v0.0.0-20200326052756-bd1759ad7d10 + github.com/go-piv/piv-go/v2 v2.5.0 + github.com/martinlindhe/gogost v0.0.0-20170914195721-31862914ae20 + github.com/tjfoc/gmsm v1.4.1 +) -- cgit v1.2.3