Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildPGPSignedMessage ¶
BuildPGPSignedMessage creates a multipart/signed MIME message using a YubiKey. publicKeyPath is the path to the account's PGP public key file, used to read key metadata (fingerprint, key ID, algorithm) for building a valid OpenPGP signature packet.
func GetYubiKeyInfo ¶
GetYubiKeyInfo returns human-readable information about the connected card.
func VerifyYubiKeyAvailable ¶
func VerifyYubiKeyAvailable() error
VerifyYubiKeyAvailable checks if a YubiKey with OpenPGP support is connected.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.