Commit Graph
121 Commits
Author SHA1 Message Date
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 bf60354917 define attr_info only once 2011-09-10 22:39:56 +02:00
Andreas Steffen a6c081ca27 removed whitespace 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
Andreas Steffen 733ac2287f determine version for various Linux releases 2011-09-10 22:39:55 +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 e6c56104b1 added Gentoo UML file measurements 2011-09-08 19:32:19 +02:00
Andreas Steffen 67b9e618e3 fixed memory leak 2011-09-08 18:21:49 +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 fc25e330ae allow to override platform info 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 5ab99898c6 added some more entries to file hashes database 2011-09-08 12:08:17 +02:00
Andreas Steffen 92db6ca52c added libxt_udp.so and libxt_tcp.so for Ubuntu 11.4 i686 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
Sansar Choinyambuu 35cd6ec43c Added measurements for libxt_udp.so and libxt_tcp.so to check dir measuring 2011-09-08 12:08:16 +02:00
Sansar Choinyambuu a08796a5c3 Added directory column with default value of zero into file_hashes table 2011-09-08 12:08:16 +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 246906cf57 send TCG_PTS_TPM_VERS_NOT_SUPPORTED error code 2011-09-08 12:08:15 +02:00
Andreas Steffen 3d0699595b implemented first TCG-PTS error attribute 2011-09-08 12:08:15 +02:00
Andreas Steffen e21c829861 added some pts database entries 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 5736aa7a02 added directory entry to database 2011-09-08 12:08:15 +02:00
Andreas Steffen 2266e0899d reordered file hash entries 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 f4cc834c45 SHA384 is set as strongest hashing algorithm 2011-09-08 12:08:14 +02:00
Sansar Choinyambuu 2db719a509 Replaced reason strings with temporary ones for File Measurement Comparison 2011-09-08 12:08:14 +02:00
Sansar Choinyambuu 6d9e319dd7 Provide recommendation after all received attributes are handled 2011-09-08 12:08:14 +02:00
Sansar Choinyambuu 8ada2b68a3 Clone the path chunk before adding to measurements list 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 08a7bd530e Corrected output length for SHA256 algorithm 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