Commit Graph
19030 Commits
Author SHA1 Message Date
Andreas Steffen e4ac6698bd fixed SQL queries 2011-11-28 14:39:53 +01:00
Andreas Steffen 09c4891459 get measurement hashes for a given file 2011-11-28 14:39:53 +01:00
Andreas Steffen 63c6709041 add directory prefix to file path 2011-11-28 14:39:53 +01:00
Andreas Steffen 4bf382742e list file measurement hashes 2011-11-28 14:39:53 +01:00
Andreas Steffen 1fa5b95962 remove attest 2011-11-28 14:39:52 +01:00
Andreas Steffen 83ceee8abf corrected copyright 2011-11-28 14:39:52 +01:00
Andreas Steffen 2da75114d9 ipsec attest lists data stored in an attestation database 2011-11-28 14:39:52 +01:00
Sansar Choinyambuu 8209ab86a5 free memories that are bound to the context 2011-11-28 14:39:52 +01:00
Sansar Choinyambuu cb83fb3b72 Both D and T flags required to be set for PTS Component Measurement
DH Finish is sent only when D flag is set in TPM_INIT phase
2011-11-28 14:39:52 +01:00
Sansar Choinyambuu 6c5c5b6a2e use D flag for PTS Protocol Capabilities 2011-11-28 14:39:52 +01:00
Andreas Steffen a626ff9267 added measurements for Ubuntu 11.10 i686 2011-11-28 14:39:52 +01:00
Andreas Steffen 7a40949e18 changed method name to create_file_meas_enumerator 2011-11-28 14:39:52 +01:00
Andreas Steffen d4171c6ea9 committed missing pts_file_type.c 2011-11-28 14:39:52 +01:00
Andreas Steffen 7b81a60c51 added pts_file_type_names 2011-11-28 14:39:52 +01:00
Andreas Steffen 96d611f585 Unix-Style File Metadata returns relative pathnames 2011-11-28 14:39:52 +01:00
Andreas Steffen ba361d3cd7 use write_uint64 and read_uint64 in file measurements 2011-11-28 14:39:52 +01:00
Andreas Steffen 63ca82e56d optimized handling of UNIX file metadata 2011-11-28 14:39:52 +01:00
Andreas Steffen fbeb94544c extended bio_reader and bio_writer to handle u_int64_t 2011-11-28 14:39:52 +01:00
Andreas Steffen 8ddf76dd13 shortened fieldnames of pts_file_metadata_t struct 2011-11-28 14:39:52 +01:00
Andreas Steffen bd96953568 removed empty line 2011-11-28 14:39:52 +01:00
Andreas Steffen 5b0e14c48f compacted file metadata debug output 2011-11-28 14:39:52 +01:00
Sansar Choinyambuu dbe7751a22 Copy just 20 bytes of pcr after value 2011-11-28 14:39:52 +01:00
Sansar Choinyambuu b8017b5eba follow strongswan coding rules 2011-11-28 14:39:52 +01:00
Sansar Choinyambuu 954be9f5e4 Sort the pcr entries list everytime new entry is added 2011-11-28 14:39:52 +01:00
Sansar Choinyambuu b532c454ad Modified some unnecessary todo statement 2011-11-28 14:39:51 +01:00
Sansar Choinyambuu 20c005f9e4 Cosmetics 2011-11-28 14:39:51 +01:00
Sansar Choinyambuu e2d26e47e9 Deleted unnecessary debuggin statements for File Metadata on IMC side 2011-11-28 14:39:51 +01:00
Sansar Choinyambuu 7fa72be3f2 Implemented creating and handling of Optional PCR Composite field in Simple Evidence Final attribute 2011-11-28 14:39:51 +01:00
Sansar Choinyambuu d6fc5bace3 Construct PCR Composite using information received in Simple Component Evidence attributes 2011-11-28 14:39:51 +01:00
Sansar Choinyambuu d09cf19716 Temporary commenting out of processing optional PCR Composite field 2011-11-28 14:39:51 +01:00
Sansar Choinyambuu 52ae3f27f8 Used Openssl RSA_verify function 2011-11-28 14:39:51 +01:00
Sansar Choinyambuu 72684a710b Fixed calculate quote info function -> initialize PCR bit mask array with zeroes
Return TPM Quote Info only, hash of it is calculated in IMV Process
Renamed digest with quote info
2011-11-28 14:39:51 +01:00
Sansar Choinyambuu baee8292ad Included hasher.h 2011-11-28 14:39:51 +01:00
Sansar Choinyambuu 0dd5914cc1 fixed typo in reason strings 2011-11-28 14:39:51 +01:00
Sansar Choinyambuu b8cc499b7e Check if matching value configured with the received pcr after value in Simple Component Evidence 2011-11-28 14:39:51 +01:00
Sansar Choinyambuu 26b657ce2b Changed definition of pcr_value in pcr_entry_t structure
Implemented function to check if recevied PCR after value matches with any configured pcr value
2011-11-28 14:39:51 +01:00
Sansar Choinyambuu d631a1dda5 deleted unnecessary debuggin statement 2011-11-28 14:39:51 +01:00
Sansar Choinyambuu 2eb3dc40b9 return SHA1 hash of TPM Quote Info in calculate_quote_digest 2011-11-28 14:39:51 +01:00
Sansar Choinyambuu 67299653e4 Modified reason strings 2011-11-28 14:39:51 +01:00
Sansar Choinyambuu 47e5d106a6 Replaced static string path with Metadata requests retrieved from pts database 2011-11-28 14:39:51 +01:00
Sansar Choinyambuu 8ed9f5552e Implemented new create enumerator function to get metadata request paths
Modified existing file_enumerator function to include just measurement requests
2011-11-28 14:39:51 +01:00
Sansar Choinyambuu df918eca8d Added measurement and metadata columns to files table
Added "/etc/tnc_config" file record for metadata request
Modified files table entries with measurement flag set
2011-11-28 14:39:51 +01:00
Sansar Choinyambuu a8be826be4 Implemented Quote Digest constructing function for IMV
Implemented Signature verification function to check TPM Quote Signature
Implemented Handling of Simple Evidence Final attribute
Fixed bug within tpm_quote function
2011-11-28 14:39:50 +01:00
Sansar Choinyambuu 7037b55ff1 Replaced with boolean variable for PCR info included and Evidence Signature included flags
Write and Read flags to int first and set flags /Due to special definition/
2011-11-28 14:39:50 +01:00
Sansar Choinyambuu d25b7b3d9a Loading AIK Blob from file configured
Finalized implementation of quote_tpm function
2011-11-28 14:39:50 +01:00
Sansar Choinyambuu fe247ba2a6 Get AIK certificate encoding in PUBKEY_ASN1_DER if it's just public key 2011-11-28 14:39:50 +01:00
Sansar Choinyambuu f557e5fcaf Added parentesis for logical conditions of IF statement to get rid of the warning 2011-11-28 14:39:50 +01:00
Andreas Steffen dc5995fb51 added pts_dh_group_error_create() and pts_dh_nonce_error_create() 2011-11-28 14:39:50 +01:00
Andreas Steffen d7bc2841ca moved building of attributes to imv_attestation_build 2011-11-28 14:39:50 +01:00
Andreas Steffen 5e5d6ecd94 cosmetics 2011-11-28 14:39:50 +01:00