From 59fe7668f5c97a3958721e00a62273272a8990a6 Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Wed, 23 Nov 2011 20:19:57 +0100 Subject: [PATCH] component measurement entries into the database for Ubuntu 11.10 platform --- src/libimcv/plugins/imv_attestation/data.sql | 33 ++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/src/libimcv/plugins/imv_attestation/data.sql b/src/libimcv/plugins/imv_attestation/data.sql index 7769223fea..f6829c1cc2 100644 --- a/src/libimcv/plugins/imv_attestation/data.sql +++ b/src/libimcv/plugins/imv_attestation/data.sql @@ -188,6 +188,12 @@ INSERT INTO files ( 0, 'tboot_pcr18' ); +INSERT INTO files ( + type, path +) VALUES ( + 0, 'tboot_pcr18' +); + /* Components */ INSERT INTO components ( @@ -434,6 +440,18 @@ INSERT INTO product_component ( 4, 2, 0, 1 ); +INSERT INTO product_component ( + product, component, depth, sequence +) VALUES ( + 7, 1, 0, 1 +); + +INSERT INTO product_component ( + product, component, depth, sequence +) VALUES ( + 7, 2, 0, 2 +); + /* File Hashes */ INSERT INTO file_hashes ( @@ -1312,3 +1330,18 @@ INSERT INTO file_hashes ( ) VALUES ( 24, 4, 2, 32768, X'8397d8048ee36d7955e38da16fc33e86ef61d6b0' ); + +INSERT INTO file_hashes ( + file, product, component, algo, hash +) VALUES ( + 23, 7, 2, 32768, X'd537d437f058136eb3d7be517dbe7647b623c619' +); + +INSERT INTO file_hashes ( + file, product, component, algo, hash +) VALUES ( + 24, 7, 2, 32768, X'160d2b04d11eb225fb148615b699081869e15b6c' +); + + + -- 2.47.2