From bdb8a02bbb3dc0d7c39f5b3ec451abb68e9d093d Mon Sep 17 00:00:00 2001 From: Gab Virebent Date: Sun, 23 Aug 2026 00:26:27 +0200 Subject: Simplify Usenet posting to signing only --- internal/profile/vault.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/profile/vault.go') diff --git a/internal/profile/vault.go b/internal/profile/vault.go index 554d01b..5b819b4 100644 --- a/internal/profile/vault.go +++ b/internal/profile/vault.go @@ -33,7 +33,7 @@ type Profile struct { PublicKey string `json:"ed25519_public_key"` PrivateKey string `json:"ed25519_private_key"` AgeIdentity string `json:"age_identity,omitempty"` - YubiKeyFingerprint string `json:"yubikey_openpgp_fingerprint,omitempty"` + YubiKeyFingerprint string `json:"yubikey_signing_fingerprint,omitempty"` CreatedAt time.Time `json:"created_at"` } @@ -154,7 +154,7 @@ func Validate(value Profile) error { } if strings.TrimSpace(value.PrivateKey) == "" { if strings.TrimSpace(value.YubiKeyFingerprint) == "" { - return errors.New("profile needs an encrypted private key or a YubiKey OpenPGP fingerprint") + return errors.New("profile needs an encrypted private key or a YubiKey signing fingerprint") } return nil } -- cgit v1.2.3