summaryrefslogtreecommitdiffstats
path: root/internal/profile
diff options
context:
space:
mode:
authorGab Virebent <gabriel1@virebent.art>2026-08-23 00:26:27 +0200
committerGab Virebent <gabriel1@virebent.art>2026-08-23 00:26:27 +0200
commitbdb8a02bbb3dc0d7c39f5b3ec451abb68e9d093d (patch)
tree796d246f9874641717b5e81a72989961e65a9b9f /internal/profile
parentc1decadb590c4d79d92bcc4df7772119a5c91244 (diff)
downloadaegis-bdb8a02bbb3dc0d7c39f5b3ec451abb68e9d093d.tar.gz
aegis-bdb8a02bbb3dc0d7c39f5b3ec451abb68e9d093d.tar.xz
aegis-bdb8a02bbb3dc0d7c39f5b3ec451abb68e9d093d.zip
Simplify Usenet posting to signing onlyHEADmain
Diffstat (limited to 'internal/profile')
-rw-r--r--internal/profile/vault.go4
1 files changed, 2 insertions, 2 deletions
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
}