Commit Graph
65 Commits
Author SHA1 Message Date
Sansar Choinyambuu 9a49d2e065 Implemented Diffie Hellman Nonce attributes 2011-11-28 14:34:20 +01:00
Sansar Choinyambuu 1c6ebda3db Began implementing handline of Functional Component Measuring attributes 2011-11-28 14:34:20 +01:00
Sansar Choinyambuu 3e951334a2 Implemented handling of File Metadata 2011-11-28 14:28:00 +01:00
Andreas Steffen 12e065eacd used request ID in message request output 2011-09-10 23:01:29 +02:00
Andreas Steffen 74eb850dc0 introduced a PA-TNC attribute manager 2011-09-10 22:39:56 +02:00
Andreas Steffen f4ef026762 decoupled request ID from files table primary key 2011-09-10 22:39:56 +02:00
Sansar Choinyambuu 31ac5b0d6b File not Found, Invalid path, Invalid Delimiter PTS errors case checks implemented 2011-09-10 22:39:55 +02:00
Andreas Steffen c96ef7fc1d check if pts_credmgr exists 2011-09-08 17:28:07 +02:00
Andreas Steffen 66f43e6992 move state change to head of section 2011-09-08 17:15:20 +02:00
Andreas Steffen 3ed943c34f created libpts 2011-09-08 12:20:58 +02:00
Andreas Steffen 180720057c little bug fix 2011-09-08 12:20:58 +02:00
Andreas Steffen 35fbe4a5e6 beautified AIK verification 2011-09-08 12:20:58 +02:00
Andreas Steffen 582bda55dd refactored measurement verification 2011-09-08 12:20:57 +02:00
Andreas Steffen 925f54d36e refactored file measurement request list 2011-09-08 12:19:42 +02:00
Sansar Choinyambuu af275f3fdb Added Check_Measurement function to pts_database instead of returning enumerator over hashes
List of requested files/directories are kept within imv state now
Allocated memory for entries in files_in_dir_with_meas list
2011-09-08 12:17:08 +02:00
Sansar Choinyambuu e9fd8b4b7b Added Check_Measurement function to pts_database instead of returning enumerator over hashes
List of requested files/directories are kept within imv state now
Allocated memory for entries in files_in_dir_with_meas list
2011-09-08 12:13:10 +02:00
Andreas Steffen 85a276e985 check if AIK certificate is trusted 2011-09-08 12:08:17 +02:00
Sansar Choinyambuu 1c10fb59bf Added destroy functions for linked lists 2011-09-08 12:08:17 +02:00
Andreas Steffen b0ba470fba change measurement not found debug level 2011-09-08 12:08:17 +02:00
Andreas Steffen 863f59c560 get platform info from IMC 2011-09-08 12:08:17 +02:00
Andreas Steffen a75a4e87f3 added a PTS credential set 2011-09-08 12:08:17 +02:00
Sansar Choinyambuu 6ef5c05829 Verification of directory contents measurements implemented 2011-09-08 12:08:17 +02:00
Andreas Steffen d3b0c23c24 refactored AIK functionality 2011-09-08 12:08:16 +02:00
Sansar Choinyambuu 9816a29822 Read AIK certificate/ AIK public key from file 2011-09-08 12:08:16 +02:00
Sansar Choinyambuu 05a1b347b2 Enforced strongSwan coding rules (tab, if, {) 2011-09-08 12:08:16 +02:00
Andreas Steffen 3d0699595b implemented first TCG-PTS error attribute 2011-09-08 12:08:15 +02:00
Andreas Steffen e08fa4c1e2 display the measured file count 2011-09-08 12:08:15 +02:00
Andreas Steffen 0e4b6b500f fixed measurement of directory contents 2011-09-08 12:08:15 +02:00
Andreas Steffen d2f49c3dc4 finished refactoring of file measurements 2011-09-08 12:08:15 +02:00
Andreas Steffen a724a71953 first stage of file_meas refactoring 2011-09-08 12:08:15 +02:00
Sansar Choinyambuu f4527909f2 Obtain AIK and exchange as PEM certificate done
Fixed the trashy tail of last file name in Request File Measurement
2011-09-08 12:08:15 +02:00
Sansar Choinyambuu 6d9e319dd7 Provide recommendation after all received attributes are handled 2011-09-08 12:08:14 +02:00
Sansar Choinyambuu cd669535e6 Destroy meas_enumerator 2011-09-08 12:08:14 +02:00
Sansar Choinyambuu f36ef96ed4 Added create_meas_enumerator function to pts_database object
Implemented handling part of File Measurement attributes reception
Ending the exchange and allowing access if all measurements match with database isolate if not
2011-09-08 12:08:14 +02:00
Sansar Choinyambuu f2f18b4e2f The file and directory lists are queried from db
Request File Measurements sending and handling is implemented accordingly
Measuring the file and directories are tested
2011-09-08 12:08:14 +02:00
Andreas Steffen fdfdae45de implemented access to PTS file measurement database 2011-09-08 12:08:13 +02:00
Sansar Choinyambuu a1ff28f582 Moved structures related to File Measurement to pts.h 2011-09-08 12:08:13 +02:00
Andreas Steffen 20c2bec0f3 added pts database interface 2011-09-08 12:08:13 +02:00
Sansar Choinyambuu bbe179e472 Proto Caps and Meas Algorithms
TPM Version Info (AIK as well) and Request File Meas
attributes are sent together in a single pa_tnc message
2011-09-08 12:08:13 +02:00
Andreas Steffen 01e069b675 moved proto_caps and meas_algo to pts object 2011-09-08 12:08:12 +02:00
Andreas Steffen 8a2482c7c2 moved TSS into pts object 2011-09-08 12:08:12 +02:00
Andreas Steffen 48f04107ea reformatted TPM Version Info output 2011-09-08 12:08:12 +02:00
Andreas Steffen 0e521df129 cleaned up variable names 2011-09-08 12:08:12 +02:00
Andreas Steffen 54fb8162a4 log selected PTS measurement algorithm 2011-09-08 12:08:12 +02:00
Andreas Steffen 05f03238fa shortened function names and moved to pts subdirectory 2011-09-08 12:08:12 +02:00
Andreas Steffen f0255cd1c9 Attestation IMV starts sending PA-TNC messages 2011-09-08 12:08:12 +02:00
Andreas Steffen 7de203bc3b get rid of intermediate handshake_state variable 2011-09-08 12:08:11 +02:00
Sansar Choinyambuu c7787eac47 Implemented the ReceiveMessage function on imc/v 2011-09-08 12:08:11 +02:00
Sansar Choinyambuu 525d191a42 Implemented send_message of File Measurement PTS attribute on imc_attestation 2011-09-08 12:08:11 +02:00
Andreas Steffen c567b0595f combined request with tcg_pts_attr_proto_caps 2011-09-08 12:08:11 +02:00