diff options
| author | Gab Virebent <gabriel1@virebent.art> | 2026-08-23 00:26:27 +0200 |
|---|---|---|
| committer | Gab Virebent <gabriel1@virebent.art> | 2026-08-23 00:26:27 +0200 |
| commit | bdb8a02bbb3dc0d7c39f5b3ec451abb68e9d093d (patch) | |
| tree | 796d246f9874641717b5e81a72989961e65a9b9f /internal/profile/vault.go | |
| parent | c1decadb590c4d79d92bcc4df7772119a5c91244 (diff) | |
| download | aegis-bdb8a02bbb3dc0d7c39f5b3ec451abb68e9d093d.tar.gz aegis-bdb8a02bbb3dc0d7c39f5b3ec451abb68e9d093d.tar.xz aegis-bdb8a02bbb3dc0d7c39f5b3ec451abb68e9d093d.zip | |
Diffstat (limited to 'internal/profile/vault.go')
| -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 } |
