mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
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:
committed by
Jan Höppner
parent
346a69e5a9
commit
808b766407
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user