Andreas Steffen
07b60afdd8
make encoding of CERT_TRUSTED_PUBKEY configurable
2011-09-08 12:08:16 +02:00
Sansar Choinyambuu
517c372a5a
Inserted missing "!" mark
...
Changed variable name for AIK cert, key paths in strongswan.conf
2011-09-08 12:08:16 +02:00
Andreas Steffen
d3b0c23c24
refactored AIK functionality
2011-09-08 12:08:16 +02:00
Sansar Choinyambuu
70f8d3242a
Removed identity.c related references and variables
2011-09-08 12:08:16 +02:00
Sansar Choinyambuu
63b7b6e322
Delete unnecessary fake_ek_cert header file
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
Sansar Choinyambuu
0f36d4815e
Initialized ekcertlen with 0
2011-09-08 12:08:16 +02:00
Sansar Choinyambuu
8ab124a2f7
removed static keyword
2011-09-08 12:08:16 +02:00
Sansar Choinyambuu
29505b2cd6
added fake_ek_cert.h to makefile.am
2011-09-08 12:08:16 +02:00
Sansar Choinyambuu
4fa364193c
Included fake_ek_cert header back
2011-09-08 12:08:16 +02:00
Sansar Choinyambuu
30fa35eec5
Added fake_ek_cert.h
2011-09-08 12:08:15 +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
b522f6ab8f
some doxygen fixes
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
90c963439e
Started implementing obtaining of AIK
2011-09-08 12:08:15 +02:00
Sansar Choinyambuu
46fd48797d
Restore flag calculation
2011-09-08 12:08:14 +02:00
Sansar Choinyambuu
b460d5f5ce
Reading and writing flags directly
2011-09-08 12:08:14 +02:00
Sansar Choinyambuu
f4cc834c45
SHA384 is set as strongest hashing algorithm
2011-09-08 12:08:14 +02:00
Sansar Choinyambuu
6434d41fa5
Added empty getter/setter for AIK
2011-09-08 12:08:14 +02:00
Sansar Choinyambuu
86f1cd15b8
Deleted switch statement for hashing algorithms, using the integer field directly for the query
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
aab0c587db
Deleted filter for measurement enumerator
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
Sansar Choinyambuu
85ab2fc2a3
Deleted unnecessary debug statement
2011-09-08 12:08:13 +02:00
Sansar Choinyambuu
403409cbda
Corrected typo on product_file table
2011-09-08 12:08:13 +02:00
Sansar Choinyambuu
23f1509c4f
chunk_clone after read_data
2011-09-08 12:08:13 +02:00
Sansar Choinyambuu
f3aeb40bf1
Removed unnecessary struct
2011-09-08 12:08:13 +02:00
Sansar Choinyambuu
14ed35c52e
Corrected typo in query
2011-09-08 12:08:13 +02:00
Sansar Choinyambuu
20077abea2
Changes according to db implementation
2011-09-08 12:08:13 +02:00
Andreas Steffen
fdfdae45de
implemented access to PTS file measurement database
2011-09-08 12:08:13 +02:00
Sansar Choinyambuu
921b1022a5
Moved hashing functionalities to pts object
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
8a59adad57
replaced unreliable tabs by spaces
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
97112ec23a
Implemented Error Codes Enumeration for PTS
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