Fix wrong OID in keyfile (#31262)

See
https://github.com/fleetdm/fleet/pull/31131#pullrequestreview-3055271720.

Thanks @Foxboron!
This commit is contained in:
Lucas Manuel Rodriguez
2025-07-25 14:05:56 -03:00
committed by GitHub
parent 043e256901
commit 17071cbee5
+1 -1
View File
@@ -255,7 +255,7 @@ func (t *tpm2SecureHW) selectBestECCCurve() (tpm2.TPMECCCurve, string) {
func (t *tpm2SecureHW) saveTPMKeyFile(privateKey tpm2.TPM2BPrivate, publicKey tpm2.TPM2BPublic) error {
k := keyfile.NewTPMKey(
keyfile.OIDOldLoadableKey,
keyfile.OIDLoadableKey,
publicKey,
privateKey,
keyfile.WithDescription("fleetd httpsig key"),