Commit Graph
78 Commits
Author SHA1 Message Date
Tobias Brunner 19ef2aec15 Update copyright headers after acquisition by secunet 2022-06-28 10:22:56 +02:00
Andreas Steffen 2ea1dac203 libimcv: Support symlinks introduced by usrmerge
Debian, Ubuntu, Fedora et. al. started to apply usrmerge to their
latest Linux distributions, i.e.  /bin, /sbin, and /lib are now
symbolical links to /usr/bin, /usr/sbin, and /usr/lib, respectively.
Since executables and libraries are contained only once in Linux
packages (e.g. /bin/cp in coreutils but not /usr/bin/cp) this leads
to missing file measurments due to the symlinks when doing remote
attestation.

The new ita_attr_symlinks PA-TNC attribute fixes this problem by
collecting symbolic links pointing to directories on the client
platform.
2021-01-08 11:00:15 +01:00
Andreas Steffen 731e043c8e libimcv: Reset of IMC state for new measurement cycle 2018-08-01 15:44:49 +02:00
Andreas Steffen d6fb2cc6e3 Merged libpts into libimcv 2014-10-05 12:55:37 +02:00
Andreas Steffen b448e3ece6 moved attestation plugins to libpts in order to resolve circular reference with libimcv 2011-11-28 21:23:59 +01:00
Andreas Steffen cb3ecd5aa5 refactored simple component evidence 2011-11-28 21:22:01 +01:00
Andreas Steffen 021b7dd9fa moved attribute processing to imc_attestation_process 2011-11-28 18:36:45 +01:00
Andreas Steffen c50f881f6a refactored DH group nonce exchange 2011-11-28 18:25:50 +01:00
Andreas Steffen 2b899b50ca combine two algorithm checks 2011-11-28 18:03:34 +01:00
Sansar Choinyambuu 0788198047 Improved implementation of Read PCR/ Extend PCR/ Quote_TPM functions
Implemented creating/handling of Simple Evidence Final attribute (incomplete)
2011-11-28 17:53:34 +01:00
Sansar Choinyambuu 0bfdae3b90 Implemented hasndling of Request Functional Component Evidence and creation of Simple Component Evidences 2011-11-28 17:30:17 +01:00
Sansar Choinyambuu b9d6aded18 Fixed memory leaks 2011-11-28 17:19:40 +01:00
Sansar Choinyambuu be922d56b2 Implemented handling of DH Parameters Response and Finish attributes
Implemented calculating session secrets
2011-11-28 16:05:19 +01:00
Sansar Choinyambuu d83bcc310d Started implementing handling of DH Nonce attributes 2011-11-28 15:48:38 +01:00
Sansar Choinyambuu 8a55b83319 Implemented Diffie Hellman Nonce attributes 2011-11-28 15:32:36 +01:00
Sansar Choinyambuu c5b346d1d0 Implemented handling of File Metadata 2011-11-28 15:01:53 +01:00
Sansar Choinyambuu 381b3452f3 File not Found, Invalid path, Invalid Delimiter PTS errors case checks implemented 2011-11-28 14:41:27 +01:00
Sansar Choinyambuu b8017b5eba follow strongswan coding rules 2011-11-28 14:39:52 +01:00
Sansar Choinyambuu b532c454ad Modified some unnecessary todo statement 2011-11-28 14:39:51 +01:00
Andreas Steffen 325704e1b4 moved attribute processing to imc_attestation_process 2011-11-28 14:39:50 +01:00
Andreas Steffen cc1406d6fa refactored DH group nonce exchange 2011-11-28 14:39:50 +01:00
Andreas Steffen 542b33c350 combine two algorithm checks 2011-11-28 14:39:49 +01:00
Andreas Steffen 02855188ef fixed setting of PTS DH group 2011-11-28 14:39:49 +01:00
Sansar Choinyambuu 924f3bf59e Improved implementation of Read PCR/ Extend PCR/ Quote_TPM functions
Implemented creating/handling of Simple Evidence Final attribute (incomplete)
2011-11-28 14:34:21 +01:00
Sansar Choinyambuu 20c70d9839 Use already negotiated Measurement algorithm as Hashing algorithm for Diffie Hellman secret calculation 2011-11-28 14:34:21 +01:00
Sansar Choinyambuu ef8ea80a28 Fixed some memory leaks 2011-11-28 14:34:21 +01:00
Sansar Choinyambuu 10210cc6e9 Fixed freeing invalid memory issue 2011-11-28 14:34:21 +01:00
Sansar Choinyambuu 849b903baa Implemented hasndling of Request Functional Component Evidence and creation of Simple Component Evidences 2011-11-28 14:34:21 +01:00
Sansar Choinyambuu 97ebeaa45c Fixed memory leaks 2011-11-28 14:34:20 +01:00
Sansar Choinyambuu c10867f40b Implemented handling of DH Parameters Response and Finish attributes
Implemented calculating session secrets
2011-11-28 14:34:20 +01:00
Sansar Choinyambuu 0daee96b05 Started implementing handling of DH Nonce attributes 2011-11-28 14:34:20 +01:00
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
Sansar Choinyambuu d22716509a File not Found, Invalid path, Invalid Delimiter PTS errors case checks implemented 2011-11-28 14:28:00 +01: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
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 67b9e618e3 fixed memory leak 2011-09-08 18:21:49 +02:00
Andreas Steffen 3ed943c34f created libpts 2011-09-08 12:20:58 +02:00
Andreas Steffen 863f59c560 get platform info from IMC 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 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 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