diff options
Diffstat (limited to 'internal/profile')
| -rw-r--r-- | internal/profile/vault.go | 4 |
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 } |
