# README
Generate sample ECC key like so
gpg --full-gen-key --expert
# select ECC sign only
# use e.g. Name: foo bar, Email: [email protected]
Generate signing traces like so:
echo foo | strace -xs 1024 /usr/bin/gpg --verbose --status-fd=2 -bsau C54A8868468BC138 2> gpg-agent.sign.strace
# grep the agent socket
grep '(5'
# reads
grep '^read'
# writes
grep '^write'
Export key for use in CI:
gpg --export -ao /tmp/C54A8868468BC138.asc [email protected]
# Functions
EventString retrieves an enum value from the enum constants string name.
EventStrings returns a slice of all String values of the enum.
EventValues returns all values of the enum.
New initialises a new gpg-agent server assuan FSM.
PercentDecodeSExp replaces the percent-encoded byte sequences with their raw byte values.
PercentEncodeSExp replaces the raw byte values with their percent-encoded byte sequences.
StateString retrieves an enum value from the enum constants string name.
StateStrings returns a slice of all String values of the enum.
StateValues returns all values of the enum.
# Interfaces
The KeyService interface provides functions used by the Assuan FSM.