mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
rust/pvattest: Add check command
Add a new command: check. This allows users to perform policy checks on the Attestation result. The host-key hashes, and the user-data can be tested for certain values. While at it fix some typos and enable CSV parsing for the Additional-data flags. Example: ``` pvattest check attestresp checkresult -k hkd0.crt,hkd1.crt --host-key-check AttKeyCheck ``` Reviewed-by: Jan Höppner <hoeppner@linux.ibm.com> Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
This commit is contained in:
@@ -2,11 +2,13 @@
|
||||
//
|
||||
// Copyright IBM Corp. 2024
|
||||
//
|
||||
pub mod check;
|
||||
pub mod create;
|
||||
#[cfg(target_arch = "s390x")]
|
||||
pub mod perform;
|
||||
pub mod verify;
|
||||
|
||||
pub use check::check;
|
||||
pub use create::create;
|
||||
pub use verify::verify;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user