From c1343b3278cdf99533b7902744d15969f9d6fdc1 Mon Sep 17 00:00:00 2001 From: Yves-Alexis Perez Date: Wed, 2 Jan 2013 14:18:20 +0100 Subject: Imported Upstream version 5.0.1 --- src/libpts/plugins/imv_attestation/attest_usage.c | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) (limited to 'src/libpts/plugins/imv_attestation/attest_usage.c') diff --git a/src/libpts/plugins/imv_attestation/attest_usage.c b/src/libpts/plugins/imv_attestation/attest_usage.c index e58f821e0..f7040f7ad 100644 --- a/src/libpts/plugins/imv_attestation/attest_usage.c +++ b/src/libpts/plugins/imv_attestation/attest_usage.c @@ -40,7 +40,7 @@ Usage:\n\ Show a list of measurement hashes for a given software product or\n\ its primary key as an optional selector.\n\ \n\ - ipsec attest --hashes [--sha1|--sha256|--sha384] [--file |--fid ]\n\ + ipsec attest --hashes [--sha1|--sha1-ima|--sha256|--sha384] [--file |--fid ]\n\ Show a list of measurement hashes for a given file or\n\ its primary key as an optional selector.\n\ \n\ @@ -52,11 +52,11 @@ Usage:\n\ Show a list of AIK key digests with a component or\n\ its primary key as an optional selector.\n\ \n\ - ipsec attest --measurements [--sha1|--sha256|--sha384] [--component |--cid ]\n\ + ipsec attest --measurements --sha1|--sha256|--sha384 [--component |--cid ]\n\ Show a list of component measurements for a given component or\n\ its primary key as an optional selector.\n\ \n\ - ipsec attest --measurements [--sha1|--sha256|--sha384] [--key |--kid |--aik ]\n\ + ipsec attest --measurements --sha1|--sha256|--sha384 [--key |--kid |--aik ]\n\ Show a list of component measurements for a given AIK or\n\ its primary key as an optional selector.\n\ \n\ @@ -67,14 +67,31 @@ Usage:\n\ ipsec attest --add [--owner ] --key |--aik \n\ Add an AIK public key digest entry preceded by an optional owner name\n\ \n\ + ipsec attest --add --product |--pid --sha1|--sha1-ima|--sha256|--sha384\n\ + [--relative|--rel] --dir |--file \n\ + Add hashes of a single file or all files in a directory under absolute or relative filenames\n\ + \n\ + ipsec attest --add --key --component |--cid --sequence |--seq \n\ + Add an ordered key/component entry\n\ + \n\ ipsec attest --del --file |--fid |--dir |--did \n\ Delete a file or directory entry referenced either by value or primary key\n\ \n\ ipsec attest --del --product |--pid |--component |--cid \n\ Delete a product or component entry referenced either by value or primary key\n\ \n\ + ipsec attest --del --product |--pid --file |--fid |--dir |--did \n\ + Delete a product/file entry referenced either by value or primary key\n\ + \n\ ipsec attest --del --key |--kid |--aik \n\ Delete an AIK entry referenced either by value or primary key\n\ + \n\ + ipsec attest --del --key --component |--cid \n\ + Delete a key/component entry\n\ + \n\ + ipsec attest --del --product |--pid --sha1|--sha1-ima|--sha256|--sha384\n\ + [--dir |--did ] --file |--fid \n\ + Delete a file hash given an absolute or relative filename\n\ \n"); } -- cgit v1.2.3