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.
The card session, signature packet construction, and ASCII armoring are handled by github.com/floatpane/go-openpgp-card-hl; this function owns only the MIME multipart/signed framing on top of the detached signature.
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.