pvattest: Change default firmware hash verification endpoint

Change the default firmware hash verification to its final location.
For the old one, there is a redirection in place for the foreseeable
future.

Reviewed-by: Marc Hartmayer <marc@linux.ibm.com>
Acked-by: Brendon Drew <bdrew@us.ibm.com>
Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Steffen Eiden
2026-01-12 18:48:51 +01:00
committed by Jan Höppner
parent 346a69e5a9
commit 808b766407

View File

@@ -13,8 +13,8 @@ use serde::{Deserialize, Serialize};
use super::{bail_check, CheckState};
use crate::{additional::AttestationResult, cli::CheckOpt};
const CHECK_DEFAULT_ENDP: &str = "https://www.ibm.com/support/resourcelink/api";
const VERIFY_API: &str = "firmware-attestation/verify/v1";
const CHECK_DEFAULT_ENDP: &str = "https://esupport.ibm.com/eccedge/ent/z";
const VERIFY_API: &str = "hmrs/firmware/attestation/v1/verify";
const TIMEOUT_MAX: Duration = Duration::from_secs(3);
const USER_AGENT: &str = "s390-tools-pvattest";
const CONTENT_TYPE: &str = "Content-Type: application/json";