Home | History | Annotate | Line # | Download | only in dist
ChangeLog revision 1.1.1.2
      1  1.1.1.2  christos * TROUSERS_0_3_14
      2  1.1.1.2  christos - Changes to support OpenSSL 1.1.0
      3  1.1.1.2  christos - Removed some warnings for proper builds
      4  1.1.1.2  christos - Changes to allow building on OS X
      5  1.1.1.2  christos - Fixed memory leaks
      6  1.1.1.2  christos - Fixed failure to recognize connections from localhost over IPv6
      7  1.1.1.2  christos - Fixed for an exploitable local denial of service in tcsd
      8  1.1.1.2  christos 
      9  1.1.1.2  christos * TROUSERS_0_3_13
     10  1.1.1.2  christos - Changed exported functions which had a name too common, to avoid collision
     11  1.1.1.2  christos - Assessed daemon security using manual techniques and coverit
     12  1.1.1.2  christos - Fixed major security bugs and memory leaks
     13  1.1.1.2  christos - Added debug support to run tcsd with a different user/group
     14  1.1.1.2  christos - Daemon now properly closes sockets before shutting down
     15  1.1.1.2  christos 
     16  1.1.1.2  christos * TROUSERS_0_3_12
     17  1.1.1.2  christos - Added new network code for RPC, which supports IPv6
     18  1.1.1.2  christos - Users of client applications can configure the hostname of the tcsd server
     19  1.1.1.2  christos they want to connect through the TSS_TCSD_HOSTNAME env var (only works if
     20  1.1.1.2  christos application didn't set a hostname in the context)
     21  1.1.1.2  christos - Added disable_ipv4 and disable_ipv6 config options for server
     22  1.1.1.2  christos 
     23  1.1.1.2  christos * TROUSERS_0_3_11
     24  1.1.1.2  christos - Fix build process for distros
     25  1.1.1.2  christos - License was changed from GPL to BSD
     26  1.1.1.2  christos - Many bugfixes
     27  1.1.1.2  christos - updated man pages
     28  1.1.1.2  christos 
     29      1.1  christos * TROUSERS_0_3_8
     30      1.1  christos 
     31      1.1  christos - Fix ssl_ui.c overflow
     32      1.1  christos - Handling of TPM_CERTIFY_INFO2 structure special case
     33      1.1  christos - Fix possible obfuscation of obj_migdata.c errors.
     34      1.1  christos - Make 1.2 keys respect the TPM_PCRIGNOREDONREAD flag.
     35      1.1  christos - PCRInfo member allocation in Trspi_Unload_CERTIFY_INFO.
     36      1.1  christos - Add functions for deserializing NVRAM related data structures
     37      1.1  christos - Add NVRAM specific error messages
     38      1.1  christos - Fix spec file so one can build an rpm
     39      1.1  christos - Initialize the tcsd_config_file with NULL.
     40      1.1  christos - support for -c <configfile> command line option
     41      1.1  christos - Establish a .gitignore file
     42      1.1  christos - ENDIAN_H and htole definition fix
     43      1.1  christos 
     44      1.1  christos * TROUSERS_0_3_7
     45      1.1  christos 
     46      1.1  christos - __tspi_freeTable wrong call
     47      1.1  christos - Owner Evict pubkey setup fix
     48      1.1  christos - The "HAVE_ENDIAN_H" check is missing from configure.in, but it appears to be needed in a couple of the source files.
     49      1.1  christos - tspi_context.c fix (memleak)
     50      1.1  christos - Added the missing setup of a tcs handle for owner evict keys.
     51      1.1  christos - No need to initialize the flock structure.
     52      1.1  christos - flock to fcntl change
     53      1.1  christos - Fixed cleanup code in svrside.c
     54      1.1  christos - Avoid warning of missing return in tcsd_thread_run()
     55      1.1  christos - printf() warning fix
     56      1.1  christos - Moved hDAA debug message after initialization
     57      1.1  christos - Additional length check
     58      1.1  christos - Tspi_NV_DefineSpace secret check fix
     59      1.1  christos 
     60      1.1  christos * TROUNSERS_0_3_6
     61      1.1  christos 
     62      1.1  christos - Fixed a number of warnings during a build with --debug regarding THREAD ID
     63      1.1  christos   definition
     64      1.1  christos - Removed htole() dependency, which was included only in glibc 2.9
     65      1.1  christos 
     66      1.1  christos * TROUSERS_0_3_5
     67      1.1  christos 
     68      1.1  christos - Allowed TCD Daemon to run with reduced privileges In Solaris.
     69      1.1  christos - Fixing previous kfreebsd build patch conflict with the current tree.
     70      1.1  christos - TCSD error handling improvements.
     71      1.1  christos - mutex init inclusion.
     72      1.1  christos - pthread_t portability fix
     73      1.1  christos - Owner Evict keys load fix.
     74      1.1  christos - Big- endian issues.
     75      1.1  christos - Memory leak fix.
     76      1.1  christos - Adding missing #include <limits.h>.
     77      1.1  christos - kfreebsd build fixes.
     78      1.1  christos - Fixed usage of syslog().
     79      1.1  christos - 64bits clean
     80      1.1  christos - Fixes the TCP UN and IN socket connection attempt handling
     81      1.1  christos - Fixes logic on opening a hardware TPM.
     82      1.1  christos - Added communication through TCP to software TPMs in TrouSerS.
     83      1.1  christos - Fixed conflicting defines
     84      1.1  christos - Adds missing free()
     85      1.1  christos - Fixed fread() return value check.
     86      1.1  christos - Made the previous fix cleaner and more robust.
     87      1.1  christos - Added missing check in order to avoid freeing buffer that's out of Tspi_Data_Seal() scope.
     88      1.1  christos - Fixed Tspi_TPM_GetRandom 4kb output limit.
     89      1.1  christos 
     90      1.1  christos * TROUSERS_0_3_4
     91      1.1  christos 
     92      1.1  christos - Fixed TrouSerS mishandling of TPM auth sessions
     93      1.1  christos - Enabled hosttable.c "_init" and "_fini" functions to work on Solaris
     94      1.1  christos - Included Solaris in BSD_CONST definition conditional
     95      1.1  christos - Made the init script LSB compliant
     96      1.1  christos - make distcheck improved
     97      1.1  christos 
     98      1.1  christos * TROUSERS_0_3_3_2
     99      1.1  christos 
    100      1.1  christos - Fixed logic when filling up RSA keys objects.
    101      1.1  christos 
    102      1.1  christos * TROUSERS_0_3_3_1
    103      1.1  christos 
    104      1.1  christos - TCSD now runs as tss and has a better signal handling
    105      1.1  christos - Fixed many memory handling issues
    106      1.1  christos 
    107      1.1  christos * TROUSERS_0_3_3
    108      1.1  christos 
    109      1.1  christos - Tspi_ChangeAuth fixed for popup secret use case.   
    110      1.1  christos - Prefixed exported functions with common names.
    111      1.1  christos - Fixed issues  with accessing the utmp database.
    112      1.1  christos - Migrated the bios parser file handler from open to fopen.
    113      1.1  christos 
    114      1.1  christos * TROUSERS_0_3_2
    115      1.1  christos 
    116      1.1  christos - Added IMA log parser in conformance with format introduced in linux kernel 2.6.30
    117      1.1  christos - Fixed memory handling issues in src/tspi/tspi_quote2.c and tspi_tick.c
    118      1.1  christos - Fixed memory handling issues in tcs/rpc/tcstp/rpc_tick.c
    119      1.1  christos - Fixed logic when releasing auth handles, now the TPM won't become out of
    120      1.1  christos resources due too many unreleased auth handles there.
    121      1.1  christos - Fixed compilation problems when building trousers in Fedora with
    122      1.1  christos -fstack-protector & gcc 4.4
    123      1.1  christos - Fixed the legacy usage of a deprecated 1.1 TPM command, now auth sessions
    124      1.1  christos can be closed fine.
    125      1.1  christos - Fixed key memory cache when evicting keys, invalid key handles were evicted
    126      1.1  christos when shouldn't.
    127      1.1  christos - Fixed authsess_xsap_init call with wrong handle
    128      1.1  christos - Fixed authsess_callback_hmac return code
    129      1.1  christos - Fixed validateReturnAuth return value
    130      1.1  christos - Added consistency to avoid multiple double free() and bound checks to avoid
    131      1.1  christos SEGV
    132      1.1  christos - Moved from flock to fcntl since the first isn't supported in multi-thread
    133      1.1  christos applications
    134      1.1  christos - Added necessary free() and consistency necessary in tspi/tsp_delegate.c to avoid SEGV 
    135      1.1  christos - Typecast added in trousers.c in the UNICODE conversion functions
    136      1.1  christos - Fixed wrong return code in Tspi_NV_ReleaseSpace
    137      1.1  christos - Fixed digest computation in Tspi_NV_ReleaseSpace
    138      1.1  christos - Fixed tpm_rsp_parse, it previously checked for an additional TPM_AUTH blob,
    139      1.1  christos resulting in a incorrect data blog unload.
    140      1.1  christos - Added new OpenSSL UI for TSS_SECRET_MODE_POPUP auth mode.
    141      1.1  christos - Added workaround to fix namespace conflict with SELINUX
    142      1.1  christos - Set SO_REUSEADDR socket option.
    143      1.1  christos - Added TSS_SS_RSASSAPKCS1v15_INFO signature scheme definitions and support
    144      1.1  christos - TDDL can now be compiled apart from the rest of TrouSerS.
    145      1.1  christos - Added #include <limits.h> to remove INT_MAX undeclared error
    146      1.1  christos   during build. Files updated: trspi/crypto/openssl/symmetric.c,
    147      1.1  christos   tspi/tspi_aik.c and tspi/tsp_ps.c
    148      1.1  christos - Added bounds checking in the data parsing routines of the TCSD's
    149      1.1  christos tcstp RPC code, preventing attacks from malicious clients.
    150      1.1  christos - Removed commented out code in src/tcs/rpc/tcstp/rpc.c
    151      1.1  christos - Commented out old OSAP code, its now unused
    152      1.1  christos - Fixed bug in tcsi_bind.c, one too few params were passed to
    153      1.1  christos the function parsing the TPM blob.
    154      1.1  christos - Fixed lots of erroneous TSPERR and TCSERR calls
    155      1.1  christos - Added support for logging all error return codes when debug
    156      1.1  christos is on
    157      1.1  christos - Check that parent auth is loaded in the load key path outside
    158      1.1  christos the mem_cache_lock, if a thread sleeps holding it, we deadlock
    159      1.1  christos - Added support for dynamically growing the table that holds
    160      1.1  christos sleeping threads inside the auth manager
    161      1.1  christos - In tcs_auth_mgr.c, fixed the release handle path, which didn't
    162      1.1  christos check if the handle was swapped out before calling to the TPM.
    163      1.1  christos - Updates throughout the code supporting the modular build.
    164      1.1  christos 
    165      1.1  christos * TROUSERS_0_3_1
    166      1.1  christos 
    167      1.1  christos - Added check of return code for ResetDALock call in tspi_admin
    168      1.1  christos - Added missing ordinals in tcs_pbg.c as reported by Phil Carmon.
    169      1.1  christos - Added support for DSAP sessions and delegating authorizations!
    170      1.1  christos - Added support for DSAP sessions inside a transport session.
    171      1.1  christos - Prevent Tspi_TPM_GetCapability from switching the endianess of
    172      1.1  christos the data returned from a request for TSS_TPMCAP_NV_LIST when that
    173      1.1  christos list happens to be sizeof(UINT32).
    174      1.1  christos - Fixed trouble in owner_evict_init path for 1.1 TPMs
    175      1.1  christos - Fixed multiple problems with changing auth on encrypted data
    176      1.1  christos and keys.
    177      1.1  christos - Fix for SF#1811120, Tspi_TPM_StirRandom01 test crashes TCSD.
    178      1.1  christos - Fix for SF#1805829, ChangeAuth fails to return an error
    179      1.1  christos - Fix for SF#1803767, TSS_TSPATTRIB_KEY_PCR_LONG key attribute
    180      1.1  christos not implemented
    181      1.1  christos - Fix for SF#1802804, Tspi_TPM_Delegate_UpdateVerificationCount
    182      1.1  christos problem
    183      1.1  christos - Fix for SF#1799935, Tspi_TPM_Delegate_ReadTables bug
    184      1.1  christos - Fix for SF#1799912, policy lifetime counter doesn't reset with
    185      1.1  christos SetSecret
    186      1.1  christos - Fix for SF#1799901, policy lifetime timer doesn't reset with
    187      1.1  christos SetSecret
    188      1.1  christos - Fix for SF#1779282. Trspi_UnloadBlob_CERTIFY_INFO DNE.
    189      1.1  christos - Fix for setting the right kind of PCR struct in the key object
    190      1.1  christos 
    191      1.1  christos * TROUSERS_REDHAT_SUBMIT
    192      1.1  christos 
    193      1.1  christos - Updated ps_inspect utility to more accurately guess if the file
    194      1.1  christos you're inspecting is really a persistent storage file.
    195      1.1  christos - Fixed endianess issue with certain TPM get caps
    196      1.1  christos - Fixed bug in setting credential data in the TSP
    197      1.1  christos - Moved secret hash mode code out from inside spec compliance
    198      1.1  christos #defines since they're now part of the 1.2 spec.
    199      1.1  christos - Better support for NULL parameters to blob manipulation
    200      1.1  christos functions
    201      1.1  christos - Fix for regression - blank the SRK pubkey copy stored in system
    202      1.1  christos persistent storage
    203      1.1  christos - Added RPC plumbing for DSAP sessions
    204      1.1  christos - Added support for unmasking data on unseal :-)
    205      1.1  christos - Implemented encdata PCR_INFO_LONG GetAttrib's
    206      1.1  christos - Overhauled OSAP session handling.
    207      1.1  christos 
    208      1.1  christos * TROUSERS_0_3_0
    209      1.1  christos 
    210      1.1  christos - Added TSS_TCSCAP_PLATFORM_CLASS cap support
    211      1.1  christos - Added the Quote2 Commands
    212      1.1  christos - Added new TSS 1.2 return codes to Trspi_Error_String.
    213      1.1  christos - Added Tspi_Context_GetRegisteredKeysByUUID2 functions
    214      1.1  christos to the persistent storage system
    215      1.1  christos - Added Tspi_TPM_OwnerGetSRKPubKey and TCS OwnerReadInternalPub
    216      1.1  christos code.
    217      1.1  christos - Added support for operator auth and Tspi_TPM_SetOperatorAuth.
    218      1.1  christos - Added support for Sealx.
    219      1.1  christos - Added ordinal auditing support.
    220      1.1  christos - Added initial transport session support.
    221      1.1  christos - Rewrote TCSD key loading functions.
    222      1.1  christos - Added support for UINT64 loading/unloading everywhere.
    223      1.1  christos - Created an initial TCS parameter block generator in tcs_pbg.c.
    224      1.1  christos - Added support to get_local_random to either allocate a new
    225      1.1  christos buffer for the random number or write it to a given buffer.
    226      1.1  christos - Removed TCS GetCredentials APIs -- the TSSWG verified that these
    227      1.1  christos had accidentally been left in the spec.
    228      1.1  christos - Added TCS GetCredential API.
    229      1.1  christos - Added NVRAM APIs, donated by James Xu, and others from Intel.
    230      1.1  christos - Added TCS GetCredentials functions
    231      1.1  christos - Patched the TCS key loading infrastructure to return
    232      1.1  christos TCS_E_INVALID_KEY when a handle is used by a context that doesn't
    233      1.1  christos have a reference to the key in its keys_loaded list.
    234      1.1  christos - Added ASN.1 blob encoding and decoding APIs.
    235      1.1  christos - Added tick stamping APIs
    236      1.1  christos - Added monotonic counter APIs
    237      1.1  christos - Added the Tspi_PcrComposite APIs: GetPcrLocality,
    238      1.1  christos SetPcrLocality, SelectPcrIndexEx and GetCompositeHash.
    239      1.1  christos - Added new TSS 1.2 return codes for bad EK checksum and
    240      1.1  christos invalid resource passed to Tspi_Context_FreeMemory.
    241      1.1  christos - Added Christian Kummer's implementation of PCR reset
    242      1.1  christos - In PcrExtend, set up the event struct fully before sending
    243      1.1  christos to the TCS.
    244      1.1  christos - Fixed bug in ActivateIdentity's use of rgbSymCAAttestation.
    245      1.1  christos - updated policy handling to match the latest spec.
    246      1.1  christos - Fixed bug when 2 TCSD's return the same context number.
    247      1.1  christos - Added a check for the size of Tcsi_StirRandom's entropy data.
    248      1.1  christos - Added support for TSS 1.2 style keys and PCR info long and
    249      1.1  christos   short structures.
    250      1.1  christos - Added support for TPM_Save/LoadAuthContext.
    251      1.1  christos - Grouped all threading functions in one header file, threads.h.
    252      1.1  christos - Fix added in TCSD's event parsing code for a segfault when only
    253      1.1  christos   the number of events is requested.
    254      1.1  christos - Several bugs fixed in the Tspi_Context_GetRegisteredKeysByUUID
    255      1.1  christos   code path in the TSP lib.
    256      1.1  christos - Added a lock around all TCSP functions; removed auth_mgr_lock
    257      1.1  christos   since the TCSP lock now suffices. This fixed some TCSD multi-
    258      1.1  christos   threaded errors.
    259      1.1  christos - hosttable.c: Fixed bug in host table entry removal, thanks
    260      1.1  christos   to Thomas Winkler for the testcase that helped in finding this.
    261      1.1  christos - In the TCS GetPcrEventsByPcr, fixed a bug in calculating
    262      1.1  christos   the number of events to return. Thanks to Seiji Munetoh.
    263      1.1  christos - Added functions to do incremental hashing, removing most
    264      1.1  christos   large stack allocations in trousers.
    265      1.1  christos - Updated blob utility functions to use UINT64's instead of
    266      1.1  christos   UINT16, which had caused some arbitrary limits in parts of
    267      1.1  christos   trousers.
    268      1.1  christos - Merged in TSS 1.2 header files.
    269      1.1  christos - Merged in build changes for embedded.
    270      1.1  christos 
    271      1.1  christos * TROUSERS_0_2 branch created
    272      1.1  christos 
    273      1.1  christos - In obj_policy.c and obj_tpm.c, if NULL is passed in when trying
    274      1.1  christos   to set a 1.2 style callback, clear the callback address.
    275      1.1  christos - Fix in Tspi_TPM_ActivateIdentity: Only validate over the out
    276      1.1  christos   parameters from the TPM, not the TCS (size of data).
    277      1.1  christos - obj_encdata.c: fixed reference of pcrSelect, which caused
    278      1.1  christos   bad data to be returned as the PCR selection.
    279      1.1  christos - added TSS_TSPATTRIB_ENCDATAPCR_DIGEST_ATRELEASE, which was
    280      1.1  christos   type-o'd in the 1.1 header files.
    281      1.1  christos - Fix for SF1570380: Algorithm ID not compliant with TSS spec.
    282      1.1  christos - Corrected off by 1 errors in PCR index bounds checking.
    283      1.1  christos - Changed logging in the TCSD so that FILE:LINE isn't printed
    284      1.1  christos   unless debugging is on.
    285      1.1  christos - Changed build/code so that the system PS dir is mode 0700, not
    286      1.1  christos   1777.  It used to be 1777 when user PS was not in ~/.trousers.
    287      1.1  christos - Fix for SF1565726: Segfault when connecting from remote host.
    288      1.1  christos - Fix for SF1565208: User PS load key by UUID failed.
    289      1.1  christos 
    290      1.1  christos * TROUSERS_0_2_8
    291      1.1  christos 
    292      1.1  christos - Fixed bug in mc_add_entry, where the PCRInfo data was not being
    293      1.1  christos   copied into the mem cache with the other fields of the key.
    294      1.1  christos - Fixed 2 bugs in spi_getset.c where setting the secret hash mode
    295      1.1  christos   was passing subFlag to the internal set function instead of
    296      1.1  christos   ulAttrib.
    297      1.1  christos - Added patch to retry the libtspi's recv() call to the TCSD
    298      1.1  christos   if the call was interrupted before completion.
    299      1.1  christos - Made the popup string appear as a label on the popup, not the
    300      1.1  christos   title. Also, got rid of annoying mouse-over texts.
    301      1.1  christos - Added a flag to pass to the get_secret function internally to
    302      1.1  christos   indicate whether a popup should contain the confirm box.
    303      1.1  christos - Added support for callbacks in the identity creation code.
    304      1.1  christos - Updated the identity creation code in the TSP/TCS to support
    305      1.1  christos   AES, DES, 3DES during identity creation.
    306      1.1  christos - Added symmetric encryption interfaces for openssl, Trspi.
    307      1.1  christos - In Tspi_Hash_Sign, fixed memory leak.
    308      1.1  christos - Added SetAttribData functions for RSA modulus/exponent per
    309      1.1  christos   the upcoming additions to the TSS 1.2 errata 1 spec.
    310      1.1  christos - Fixed bug in TCS key cache where if 2 keys had the same public
    311      1.1  christos   modulus, they could confuse the key cache manager.
    312      1.1  christos - Bind/Seal functions now return more descriptive errors codes
    313      1.1  christos   and won't do the encryption if the data to use is larger than
    314      1.1  christos   the RSA pubkey.
    315      1.1  christos - Made updates to the code/headers for the TSS_VALIDATION struct
    316      1.1  christos   change to be issued as TSS 1.1 header file errata 1.
    317      1.1  christos - Bug fix: In LoadManuMaintPub's wrapping function in the TSP,
    318      1.1  christos   we incorrectly passed a reference to the pubkey in loading the
    319      1.1  christos   blob.
    320      1.1  christos - Fixed bugs in the maintenance commands, owner auth'd commands
    321      1.1  christos   were using no auth tags in their commands sent to the TPM.
    322      1.1  christos - Fixed SF1546344: Track the release of auth handles by TCS
    323      1.1  christos   context and take the fContinueAuthSession variable into account
    324      1.1  christos   when calling the TPM to release a handle.
    325      1.1  christos - Fixed SF1545614: deadlock due to auth_mgr_osap taking the
    326      1.1  christos   auth_mgr_lock before calling ensureKeyIsLoaded, which took the
    327      1.1  christos   mem_cache_lock.
    328      1.1  christos - Added checks to ensure corrupt packets don't crash the tcsd.
    329      1.1  christos - Added configure option --with-gui=gtk/none to enable building
    330      1.1  christos   with no popup support for embedded apps. The default secret
    331      1.1  christos   mode becomes TSS_SECRET_MODE_NONE for all policies and the
    332      1.1  christos   default context mode becomes TSS_TSPATTRIB_CONTEXT_SILENT to
    333      1.1  christos   supress all popups.
    334      1.1  christos - Changed the Tspi_GetAttribData function to return a TCPA_PUBKEY
    335      1.1  christos   blob as is specified in the portable data section.
    336      1.1  christos - Added a debugging #define in req_mgr.c to print all data passed
    337      1.1  christos   to/from the TPM.
    338      1.1  christos - Updated Tspi_Context_LoadKeyByUUID to check in-memory keys by
    339      1.1  christos   UUID when the TCS returns a filled-out loadkey info struct.
    340      1.1  christos - Removed the free of all context related memory when the context
    341      1.1  christos   closes. Allows an app more flexibility in choosing what to free.
    342      1.1  christos - Removed check for secret mode None in establishing an OSAP
    343      1.1  christos   session. Now, a secret of all 0's is used if no secret exists.
    344      1.1  christos - Added checks for 2 return codes in secret_TakeOwnership.
    345      1.1  christos - Fixed TSS_VERSION problem. There are no specific getcaps for
    346      1.1  christos   software version vs. TSS spec version. Instead, the TSP's
    347      1.1  christos   version structure contains spec version and software major/minor.
    348      1.1  christos - Removed obj_regdkey list references.
    349      1.1  christos 
    350      1.1  christos * TROUSERS_0_2_7
    351      1.1  christos 
    352      1.1  christos - Added 3 new TCSD config options to allow admins to set paths
    353      1.1  christos   to the 3 types of credentials returned on Make Identity calls.
    354      1.1  christos - Added an implementation for returning the MANUFACTURER TCS
    355      1.1  christos   caps.
    356      1.1  christos - Added translation of TSS caps that are destined for the TPM.
    357      1.1  christos - Updated DirWrite to work correctly (thanks Kylie).
    358      1.1  christos - Updated the Tspi_TPM_DirWrite manpage with more info, removed
    359      1.1  christos   a confusing statement.
    360      1.1  christos - Changed the number of loops in TCSP_GetRandom_Internal to 50,
    361      1.1  christos   which should allow TPMs that return few bytes per request to
    362      1.1  christos   fullfill up to 4K bytes.
    363      1.1  christos - Removed the TCS's getSomeMemory() function, which was really
    364      1.1  christos   dumb.
    365      1.1  christos - Changed the way user PS operates. User PS is now really
    366      1.1  christos   persistent, its kept in ~/.trousers/users.data, which is
    367      1.1  christos   created if it doesn't exist. Also, the environment variable
    368      1.1  christos   TSS_USER_PS_FILE can be set to a path that will override the
    369      1.1  christos   default location for as long as the TSP context is open.
    370      1.1  christos - Lots of memory leaks found in error paths by Coverity, mostly
    371      1.1  christos   in tcsd_wrap.c.
    372      1.1  christos - Fix for SF #1501811, setting some SetAttribUint32 flags not
    373      1.1  christos   supported.
    374      1.1  christos - Lots of updates to the fedora specific RPM specfile.
    375      1.1  christos - Fix for SF #1490845, 'make install' overwrites old tcsd.conf
    376      1.1  christos - Added code to return TSS_E_POLICY_NO_SECRET when setting up
    377      1.1  christos   an OIAP or OSAP session.
    378      1.1  christos - Added fix for SF #1490745, trousers demands too much from
    379      1.1  christos   /dev/random. Default random device is now /dev/urandom.
    380      1.1  christos - Changed severity of the ioctl fallback print stmts to
    381      1.1  christos   warning and info.
    382      1.1  christos - Added implementation of the maintenance functions.
    383      1.1  christos - Added fix for SF #1487664, Offset in PS cache is not
    384      1.1  christos   updated correctly.
    385      1.1  christos - Removed some Atmel specific code and commented out code.
    386      1.1  christos - Added some missing auth_mgr_check calls in tcspbg.c.
    387      1.1  christos - Fixed some unchecked mallocs in the TSP.
    388      1.1  christos - Added build variables to automatically update the TSP
    389      1.1  christos   library version and TCSD version getcap variables.
    390      1.1  christos - Added call to return the modulus of an RSA key on a
    391      1.1  christos   GetAttribData call.
    392      1.1  christos - Added implementation of the migration functions.
    393      1.1  christos - Fix for SF 1477178, random numbers get hosed by the tcsd.
    394      1.1  christos 
    395      1.1  christos * TROUSERS_0_2_6
    396      1.1  christos 
    397      1.1  christos - Removed unnecessary call to obj_encdata_get_data in
    398      1.1  christos  Tspi_Data_Seal.
    399      1.1  christos - Added support for using the trousers.h APIs in C++.
    400      1.1  christos - Fixed Tspi_PcrComposite_GetPcrValue's man page, which had
    401      1.1  christos  left out *'s in two parameters.
    402      1.1  christos - Fix for SF 1414817, Quote's PCR object doesn't get set on
    403      1.1  christos  return.
    404      1.1  christos - Lots of function renaming to make code reading clearer.
    405      1.1  christos - Return TSS_E_INVALID_OBJ_ACCESS when trying to retrieve data
    406      1.1  christos  from an encrypted data object that hasn't been set.
    407      1.1  christos - Added contact info to the README.
    408      1.1  christos - Fix for ordering of params in call to set callback by
    409      1.1  christos   Tspi_SetAttribUint32. Thanks to Thomas Winkler for the fix.
    410      1.1  christos - Fix for SF 1410948, get random numbers from /dev/urandom
    411      1.1  christos   unless Tspi_TPM_GetRandom is called explicitly.
    412      1.1  christos - Fix for SF 1342026, print TPM error codes during bring-up.
    413      1.1  christos - Added support for a TCS_LOADKEY_INFO structure returned from
    414      1.1  christos  a TCSP_LoadKeyByUUID call.
    415      1.1  christos - Fixed 2 free_tspi's that should have been plain free's
    416      1.1  christos 
    417      1.1  christos * TROUSERS_0_2_5
    418      1.1  christos 
    419      1.1  christos - Changed all prints of size_t to %z (matters on 64bit platforms).
    420      1.1  christos - Backport of the context and policy object's
    421      1.1  christos  TSS_TSPATTRIB_SECRET_HASH_MODE attribute from the TSS 1.2 spec.
    422      1.1  christos  This will allow 1.1 apps to decide whether they want to
    423      1.1  christos  include the 2 bytes of NULL in the hashes of their secrets.
    424      1.1  christos  This will in turn allow various TSS's to interoperate better.
    425      1.1  christos - SF#1397265 'getpubek' to 'readpubek' in tcsd.conf.
    426      1.1  christos - Added an implementation of TSS 1.2 style callbacks.
    427      1.1  christos - Added Emily's patch to explain the TSS_DEBUG_OFF flag, added
    428      1.1  christos  blurb to README.
    429      1.1  christos - Fixed bug that only manifested on PPC64: if errno is not set
    430      1.1  christos to 0 explicitly before making a call to iconv, iconv will not
    431      1.1  christos set it on failure.
    432      1.1  christos 
    433      1.1  christos * TROUSERS_0_2_4
    434      1.1  christos 
    435      1.1  christos  - Updated README with how to use new system.data files.
    436      1.1  christos  - Added sample system.data files for users who've taken
    437      1.1  christos  ownership of their TPMs under other OS's.
    438      1.1  christos  - Updated unicode routines to NULL terminate their strings
    439      1.1  christos  with the same number of bytes as is the width of the
    440      1.1  christos  encoding.
    441      1.1  christos  - Fixed bug in TCS_EnumRegisteredKeys_TP, returned data should
    442      1.1  christos  be alloc'd on the TSP heap.
    443      1.1  christos  - Added a logging statement when tcsd_startup fails due to an
    444      1.1  christos  error returned by the TPM itself.
    445      1.1  christos  - Fixed validation data in Tspi_TPM_Quote and
    446      1.1  christos  Tspi_TPM_GetPubEndorsementKey.
    447      1.1  christos  - Implemented Tspi_TPM_CollateIdentityRequest and
    448      1.1  christos  Tspi_TPM_ActivateIdentity.
    449      1.1  christos  - Bug fix in TCSP_Sign_TP, signature should be alloc'd using
    450      1.1  christos  the TSP heap.
    451      1.1  christos  - Fix for SF#1351593, authdata was always 0 for the SRK. This
    452      1.1  christos  was due to the defaults set in Tspi_Context_CreateObject for
    453      1.1  christos  the SRK key flag. The default SRK key is now set to require
    454      1.1  christos  auth. If you want an authless SRK, you need to either set
    455      1.1  christos  the authdatausage attribute directly or pass in your own
    456      1.1  christos  SRK initFlags to the create object call.
    457      1.1  christos  - Return bad parameter when no the pcr object is not
    458      1.1  christos  initialized instead of internal error.
    459      1.1  christos  - Several fixes added for list locking in the obj_*.c files.
    460      1.1  christos  - Added initial support for Tspi_TPM_CollateIdentityRequest
    461      1.1  christos  and its supporting functions (symmetric encryption).
    462      1.1  christos  - Fix for SF#1338785: Support TSS_TSPATTRIB_HASH_IDENTIFIER.
    463      1.1  christos  - Changed default kernel and firmware controlled PCRs to
    464      1.1  christos  none, which should have happened a long time ago. :-/
    465      1.1  christos  - Fix for SF#1324108: Tspi_TPM_GetEvents should return a
    466      1.1  christos  number of events
    467      1.1  christos  - Fix for RFE#1301441: Fallback support for the device
    468      1.1  christos  node. ioctl is tried first, if that fails, r/w is tried,
    469      1.1  christos  if that fails, error is returned.
    470      1.1  christos  - Fixes for SF#1332479: HMAC and XOR callbacks were being
    471      1.1  christos  passed wrong params.
    472      1.1  christos  - Fix for SF#1334235, uuid data wasn't being set correctly
    473      1.1  christos  when keys were registered or loaded by uuid.
    474      1.1  christos  - Fix for SF#1332316, Tspi_GetAttribData doesn't always
    475      1.1  christos  return data alloc'd by TSP. Unicode data returned from the
    476      1.1  christos  function was being allocated off the TSP heap.
    477      1.1  christos  - Changed default return value for Tspi_GetAttribUint32 to
    478      1.1  christos  success.
    479      1.1  christos  - Corrected Tspi_TPM_PcrExtend manpage to state that the
    480      1.1  christos  application should fill out the TSS_PCR_EVENT structure.
    481      1.1  christos  -Fixes for SF BUG#1312194, and SF BUG#1312196.  Get
    482      1.1  christos  Attribs for key usage and size were not being returned
    483      1.1  christos  correctly. Imported values for size from the TSS 1.2
    484      1.1  christos  header files and translated TPM <-> TSP values for
    485      1.1  christos  key usage in the get attrib calls.
    486      1.1  christos  - Accepted Halcrow's patch to add a TSP key object
    487      1.1  christos  removal function, invoked at object close time.
    488      1.1  christos  This was SF BUG#1276133.
    489      1.1  christos  - increased the size of the return buffer from TCS to
    490      1.1  christos  TSP to 8K, so that larger requests won't fail.
    491      1.1  christos  - added a loop to TCSP_GetRandom_Internal to try several
    492      1.1  christos  (currently 5) times to get the number of requested bytes
    493      1.1  christos  from the TPM. Since the TSP has no way to tell an
    494      1.1  christos  application that a single request failed, this will help
    495      1.1  christos  improve the odds of a large request succeeding.
    496      1.1  christos 
    497      1.1  christos * TROUSERS_0_2_3
    498      1.1  christos 
    499      1.1  christos  - SF#1291256 bugs fixed. A UINT16 was being passed instead
    500      1.1  christos  of a UINT32 to TCS_LoadKeyByBlob_Internal.
    501      1.1  christos  - Removed test in spi_context.c's call to TCS_LoadKeyByUUID,
    502      1.1  christos  which would always fail, since there was no TCS layer bit
    503      1.1  christos  set. This kept us in a success path.
    504      1.1  christos  - Added debug logging functions that print the function
    505      1.1  christos  name at the beginning of the statement.
    506      1.1  christos  - Added GetPubKey as an option for TCSD's remote ops.
    507      1.1  christos  - SF#1249767 bug fixed. UTF16 strings are now hashed when
    508      1.1  christos  passwords are passed in through the popups.
    509      1.1  christos  - SF#1286333 bug fixed. New unicode functions added that
    510      1.1  christos  convert to UTF-16 and from the nl_langinfo(CODESET)
    511      1.1  christos  encoding.
    512      1.1  christos  - SF#1285428 bug fixed. obj_context_get_machine_name copied
    513      1.1  christos    too many bytes out. Code added to Tspi_GetAttribData to
    514      1.1  christos    convert to UTF16 before returning.
    515      1.1  christos 
    516      1.1  christos * TROUSERS_0_2_2
    517      1.1  christos 
    518      1.1  christos  - deleted section on ssh-askpass in README
    519      1.1  christos  - Modified popup code to hash UTF16 instead of UTF8.
    520      1.1  christos  - Restructured TCS calls to the TPM so that all auth sessions
    521      1.1  christos    are released correctly.
    522      1.1  christos  - Removed TSP contexts from all Trspi functions and modified
    523      1.1  christos    all trousers code to free its own memory instead.
    524      1.1  christos  - Fixed the TSP seal command to allow Sealing with a no-auth
    525      1.1  christos    key by using null auth data. Also changes the TCS seal
    526      1.1  christos    to return bad parameter if it gets null auth data.
    527      1.1  christos  - Removed lots of unused code and made formatting changes.
    528      1.1  christos  - Don't require Tspi_Key_WrapKey to be connected to succeed
    529      1.1  christos    and return a default value (or from the environment) if
    530      1.1  christos    we're doing PCR operations on an unconnected context.
    531      1.1  christos  - Fixed bug where a tcsd created system.data file was not
    532      1.1  christos    getting the right version info put into it.
    533      1.1  christos  - SF BUG#1269290 Fixed: Protect the SRK pub key. Upon taking
    534      1.1  christos    ownership, the unaltered SRK blob is passed back to the TSP
    535      1.1  christos    to create a valid key object with the SRK pub key intact.
    536      1.1  christos    The copies of the SRK pub key data that do into the TCSd's
    537      1.1  christos    mem cache and PS are zeroed out. From then on, the only way
    538      1.1  christos    to get the SRK pub key is through Tspi_Key_GetPubKey.
    539      1.1  christos  - tcspbg.c: deleted unused code and always release auth session
    540      1.1  christos    on an Unbind call.
    541      1.1  christos  - Bugfix for SF#1274308, Tspi_Key_CreateKey doesn't add PCRs
    542      1.1  christos    correctly. Ordering of calls in obj_rsakey_set_pcr_data
    543      1.1  christos    and calculation of PCRInfo size were incorrect.
    544      1.1  christos  - Close auth sessions in TCS_GetCapabilityOwner
    545      1.1  christos  - Removed volatile flag from the SRK key handle at key object
    546      1.1  christos    create time. This was keeping National TPM's from having the
    547      1.1  christos    ability to be owned!
    548      1.1  christos  - Moved calcCompositeHash to obj_pcrs.c and renamed it.
    549      1.1  christos  - Check returns everywhere for addKeyHandle calls.
    550      1.1  christos  - Call pthread_mutex_init on the host table's mutex.
    551      1.1  christos  - Modified TSSWG headers so that code w/o BSD types compiles
    552      1.1  christos    (such as the PKCS#11 TPM STDLL).
    553      1.1  christos  - Removed ssh_askpass, since UNICODE must be hashed from the GUI
    554      1.1  christos    input source.
    555      1.1  christos  - Updated all manpages to include the TSSWG header file names
    556      1.1  christos    instead of trousers specific files.
    557      1.1  christos  - Don't log debug data when TSS_DEBUG_OFF env var is available.
    558      1.1  christos  - Converted UNICODE to unsigned short and modified code accordingly.
    559      1.1  christos  - Only allow INADDR_LOCALHOST connections when no remote_ops are
    560      1.1  christos    defined in the tcsd.conf file.
    561      1.1  christos  - Bugfix in obj_pcrs.c, setting pcr indices and values was buggy.
    562      1.1  christos  - Moved macros from trousers_types.h (internal) to trousers.h
    563      1.1  christos    (external), since new header files make them virtually a
    564      1.1  christos    requirement
    565      1.1  christos  - Bugfix for SF#1249780, PCR selection structure was incomplete.
    566      1.1  christos  - Bugfix for SF#1249769, addKeyHandle now returns a TSS_RESULT.
    567      1.1  christos 
    568      1.1  christos * TROUSERS_0_2_1
    569      1.1  christos 
    570      1.1  christos  - return invalid handle int Tspi_ChangeAuth when hParentObject
    571      1.1  christos    is not of the right type.
    572      1.1  christos  - Fixed bug in TCS ps, write_key_init returned the wrong offset.
    573      1.1  christos  - Fixed mem leak in spi_getset.c:791, found by Coverity.
    574      1.1  christos  - Fixed mem leak in calltcsapi.c:70, found by Coverity.
    575      1.1  christos  - Fixed mem leak in tcskcm.c:531, found by Coverity.
    576      1.1  christos  - Fixed type-o mem leak in tspps.c:319/tcsps.c:349, found by Coverity.
    577      1.1  christos  - Fixed mem leak bug in memmgr.c:173, found by Coverity.
    578      1.1  christos  - Fixed bounds error bugs in tcstp.c:38/98, found by Coverity.
    579      1.1  christos  - Fixed bounds error bug in tcsd_wrap.c:154, found by Coverity.
    580      1.1  christos  - Fixed unchecked return bug in spi_utils.c:430, found by Coverity.
    581      1.1  christos  - Fixed unchecked return bug in calltcsapi.c:1159, found by Coverity.
    582      1.1  christos  - Fixed negative return value bug tcs/ps/ps_utils.c:365, found by Coverity.
    583      1.1  christos  - Fixed negative array index bug readpass.c:65, found by Coverity.
    584      1.1  christos  - Fixed null deref bugs spi_tpm.c:1292/1309/1302, and uninitialized
    585      1.1  christos    variable 1272, found by Coverity.
    586      1.1  christos  - Fixed null deref bugs spi_context.c:358/378, found by Coverity.
    587      1.1  christos  - Fixed null deref bug tcspbg.c:1413, found by Coverity.
    588      1.1  christos  - Fixed null deref bug tcspbg.c:745, found by Coverity.
    589      1.1  christos  - Fixed null deref bug imaem.c:356, found by Coverity.
    590      1.1  christos  - changed config file defaults for kernel/firmware pcrs.
    591      1.1  christos  - added better logging for when user/group "tss" doesn't exist
    592      1.1  christos  - in sendTCSDPacket: set transmitBuffer to 0 to prevent sending
    593      1.1  christos    bogus data.
    594      1.1  christos  - added some sanity checking in getTCSDPacket to prevent segfaults.
    595      1.1  christos  - added TCSERR where needed in tcs/ps files.
    596      1.1  christos  - BUG 1233031 fixed, TSP now stores PACKAGE_STRING as the vendor
    597      1.1  christos    data when registering a key.
    598      1.1  christos  - Added better debugging of auth mapping table, also closed two
    599      1.1  christos    auth handles that were getting left opened in CreateWrapKey and
    600      1.1  christos    Seal/Unseal.
    601      1.1  christos  - fixed ps_inspect's printing function.
    602      1.1  christos  - added SELinux files and README.selinux.
    603      1.1  christos  - updated ps_inspect tool to recognize non-PS files,
    604      1.1  christos    print out version 1 PS files and added a license
    605      1.1  christos    statement. Also added ps_convert tool to convert
    606      1.1  christos    version 0 PS files to version 1.
    607      1.1  christos  - updated ps_inspect tool to print out blobs and keys.
    608      1.1  christos  - change assert to DBG_ASSERT in tcs/ps files, also
    609      1.1  christos    assert that data sizes are > 0 when read off disk.
    610      1.1  christos  - Lots of malloc error logging changes where %d should
    611      1.1  christos    have been %u in the print statment.
    612      1.1  christos  - auth_mgr.c: allow a TSP to open a max of max_auths/2
    613      1.1  christos    sessions before its denied any more, for TPMs that
    614      1.1  christos    can handle a lot of auth sessions.
    615      1.1  christos  - Big-endian fixes for the persistent store functions.
    616      1.1  christos    Trousers now runs fine on ppc64, for example.
    617      1.1  christos  - BUG 1226617: Audit of code for auth handle termination.
    618      1.1  christos  - Use @PACKAGE_BUGREPORT@ instead of a static email addr in
    619      1.1  christos    manpages.
    620      1.1  christos  - Added man page for tcsd.conf in section 5.
    621      1.1  christos  - Bugfix in remove_table_entry. Host table head was left
    622      1.1  christos    pointing at free'd memory.
    623      1.1  christos  - corrected comment in spi_context.c.
    624      1.1  christos  - added 64bit stuff to configure.in
    625      1.1  christos  - fixed bug in Tspi_ChangeAuth where parent object was
    626      1.1  christos    assumed to be an rsakey.
    627      1.1  christos  - fixed debug logging of data.
    628      1.1  christos  - modified calcCompositeHash for accepting incomplete pcr
    629      1.1  christos    select structures & to fill out the structure correctly.
    630      1.1  christos 
    631      1.1  christos * TROUSERS_0_2_0
    632      1.1  christos 
    633      1.1  christos  - removed unused code and added debugging in clearUnusedKeys().
    634      1.1  christos  - Updated README with info on the 2.6.12 kernel device driver.
    635      1.1  christos  - fixed bug in calculating pcr select size
    636      1.1  christos  - fixed bug in init'ing PCRS, spi_utils.c:431
    637      1.1  christos  - Changed TCPA sig schemes to TSS sig schemes in
    638      1.1  christos    Hash_VerifySignature.
    639      1.1  christos  - Implemented Tspi_Context_GetKeyByPublicInfo on the TCS side.
    640      1.1  christos  - Fixed PS bug in storing the pub key data.
    641      1.1  christos  - Implemented Tspi_Key_UnloadKey
    642      1.1  christos  - Implemented the guts of Tspi_Key_CertifyKey, which now works
    643      1.1  christos    in at least the case where both keys passed in are authless.
    644      1.1  christos  - in obj_rsakey_set_es/ss, added mapping from TCPA numbers
    645      1.1  christos    to TSS numbers and vice versa.
    646      1.1  christos  - added #includes in readpass.c to get rid of compile errors.
    647      1.1  christos    (thanks Emily).
    648      1.1  christos  - Fixed popup secret handling. Bug #1194607 closed.
    649      1.1  christos  - Fixed up the LogBlobData functions, no more strcat. Bug #1221974
    650      1.1  christos    closed.
    651      1.1  christos  - changed sprintf's to snprintf. Bug #1221932 closed.
    652      1.1  christos  - Changed the TCPA_RSA_KEY_PARMS management at key creation time.
    653      1.1  christos  - Re-implemented TSP object management.
    654      1.1  christos  - Integrated TSSWG header files.
    655      1.1  christos  - Added valid_keys variable for the debugging build of
    656      1.1  christos    tcs/ps/ps_utils.c.
    657      1.1  christos  - Changed >= to > in openssl/crypto.c to correct off by one in
    658      1.1  christos    checking the size of the input data.
    659      1.1  christos  - added cvs commit logging to CVSROOT/loginfo file.
    660      1.1  christos 
    661      1.1  christos * TROUSERS_0_1_11
    662      1.1  christos 
    663      1.1  christos  - Changed TCSD logging to only log on remote connection attempts,
    664      1.1  christos    local connections will be left silent.
    665      1.1  christos  - mended compiled time warnings
    666      1.1  christos  - updated src/tspi/Makefile.am to respect libtool.
    667      1.1  christos  - added x86_64 case to configure.in
    668      1.1  christos  - added args to print stmt tcsd_wrap.c:3640 (thanks Kylie).
    669      1.1  christos  - commited fix for detecting past runlevel states (thanks Kylie).
    670      1.1  christos  - committed fix for RNG problem: a TPM's RNG is disabled when
    671      1.1  christos    the TPM is in the disabled state, yet needs a random number
    672      1.1  christos    to open an OSAP session to call the owner auth'd TPM enable
    673      1.1  christos    command.
    674      1.1  christos  - added code for CreatePubEK plumbing (thanks Kylie).
    675      1.1  christos  - fixed a couple signed/unsigned comparison warnings
    676      1.1  christos  - fixed endianess stuff in TPM GetCap spi_tpm.c.
    677      1.1  christos  - added Trspi_Error functions to manipulate TSS_RESULTs.
    678      1.1  christos  - Fixed order of receiving for the TCS_OwnerReadPubek call
    679      1.1  christos    (thanks Kylie).
    680      1.1  christos  - Added defns for volatile and non-volatile flags (thanks Kylie).
    681      1.1  christos  - Added Trspi_Error, which converts a TSS_RESULT to a string.
    682      1.1  christos    (thanks Kylie).
    683      1.1  christos  - In tcsd_wrap.c, added function bodies for tcs_wrap_OwnerClear,
    684      1.1  christos    tcs_wrap_DisablePubekRead, tcs_wrap_OwnerReadPubek,
    685      1.1  christos    tcs_wrap_DisableForceClear and tcs_wrap_DisableOwnerClear.
    686      1.1  christos    (thanks Kylie).
    687      1.1  christos  - Added an unload of the auth returned from the TPM in
    688      1.1  christos    TCSP_OwnerReadPubek_Internal. (thanks Kylie).
    689      1.1  christos  - Corrected the TAG for the TPM command in
    690      1.1  christos    TCSP_OwnerReadPubek_Internal. (thanks Kylie).
    691      1.1  christos 
    692      1.1  christos * TROUSERS_0_1_10
    693      1.1  christos 
    694      1.1  christos  - Updated implementation of Tspi_Key_WrapKey.
    695      1.1  christos  - Added missing goto in ReadPubEK in tcstp.c. (thanks Kylie).
    696      1.1  christos  - Added function guts for various functions in tcstp.c. (thanks
    697      1.1  christos    Kylie).
    698      1.1  christos  - In Tspi_TPM_SetStatus, do the right in the physical presence
    699      1.1  christos    path based on boolean. (thanks Kylie).
    700      1.1  christos  - Actually pass in the bool flag on TCSP_PhysicalPresence_Internal
    701      1.1  christos    (thanks Kylie).
    702      1.1  christos  - corrected force clear logic in spi_tpm.c:818 (thanks Kylie).
    703      1.1  christos  - fixed error return code check to socket() syscall clntside.c:52.
    704      1.1  christos  - added comment about TDDL reries and added log statement when a
    705      1.1  christos    physical presence command is denied because of runlevel.
    706      1.1  christos  - Fixed Tspi_Hash_VerifySignature to check signatures based on the
    707      1.1  christos    signature scheme of the key in use. Also, crypto.c was changed
    708      1.1  christos    to do a verify based on TSS_HASH_OTHER.
    709      1.1  christos  - Added 2 new highlevel Unbind testcases to test PKCS1.5 vs OAEP.
    710      1.1  christos  - In Tspi_Context_LoadKeyByUUID, the uninitialized keyBlob variable
    711      1.1  christos    was causing an invalid free on exit. Corrected that.
    712      1.1  christos  - changed return value from internal error to invalid handle when a
    713      1.1  christos    bad object handle is passed to Tspi_Hash_Sign and the Tspi_Data
    714      1.1  christos    functions.
    715      1.1  christos  - added Tspi_TPM_CertifySelfTest functionality
    716      1.1  christos  - corrected iptables string in the tcsd manpage.
    717      1.1  christos  - Corrected return code in Tspi_Key_UnloadKey02.c testcase.
    718      1.1  christos  - enabled Tspi_TPM_GetTestResult functionality
    719      1.1  christos  - added selftest as an option to the list of remote ops for the access
    720      1.1  christos    control
    721      1.1  christos  - added compatibility with openssh-askpass for the popup dialog box.
    722      1.1  christos    Now either gtk2-devel OR openssh-askpass must be installed to build
    723      1.1  christos    trousers. Using openssh-askpass reduces the size of libtspi.so by
    724      1.1  christos    about 40K and reduces the number of dependencies from 26 to 6!
    725      1.1  christos  - Bugfixes
    726      1.1  christos    - The entityType field was being passed between the TCSD and
    727      1.1  christos    TSP as a UINT32 instead of UINT16. This was keeping Tspi_ChangeAuth
    728      1.1  christos    from working as advertised.
    729      1.1  christos    - Secrets were being hashed incorrectly when secret mode was PLAIN
    730      1.1  christos    and the secret data length was 0. Now, when secret mode is plain, the
    731      1.1  christos    passed in data is always hashed, even if its 0 length.
    732      1.1  christos    - Popups are hopefully being handled more correctly now. Previously
    733      1.1  christos    the dialog popped up at the time SetSecret was called, but now its
    734      1.1  christos    just when the secret is actually needed.
    735      1.1  christos    - sf.net Bug #118026: memory allocations and free's fixed in almost
    736      1.1  christos    all paths from app to tcstp.c wrt correctly returning calloc_tspi'd
    737      1.1  christos    memory vs. malloc'd memory. Only problem remaining is the PCR event
    738      1.1  christos    functions, which have dangling malloc'd references, which is an
    739      1.1  christos    architectural problem which should be solved in the 1.2 rewrite.
    740      1.1  christos 
    741      1.1  christos * TROUSERS_0_1_9
    742      1.1  christos 
    743      1.1  christos  - added tcsd manpage
    744      1.1  christos  - added access control functionality so that sets of ordinals
    745      1.1  christos    cannot be executed by non-local hosts. This is now a
    746      1.1  christos    configurable option in tcsd.conf as "remote_ops".
    747      1.1  christos  - Set Physical Presence now works from the TSP when the TCSD
    748      1.1  christos    detects that it is running in single user mode. When not
    749      1.1  christos    running in single user mode, the TCS_PhysicalPresence
    750      1.1  christos    command returns TSS_E_NOTIMPL.
    751      1.1  christos  - Changed an fprintf to LogError in gtk/support.c
    752      1.1  christos  - TCP/IP server-side fixes in svrside.c
    753      1.1  christos  - various compile warnings fixed
    754      1.1  christos  - moved commonly used utility functions to trspi/trousers.c and
    755      1.1  christos    exported these functions in the header file tss/trousers.h.
    756      1.1  christos  - added new testcases for ChangeAuth of the TPM owner and SRK in
    757      1.1  christos    tcg/highlevel/tspi.
    758      1.1  christos  - added test tcg/highlevel/tpm/Tspi_TPM_PcrRead04.c
    759      1.1  christos  - updated Tspi_TPM_GetCapability manpage.
    760      1.1  christos  - added code to detect a 1.2 TPM and get auth sessions the 1.2 way.
    761      1.1  christos  - added manpage for Tspi_TPM_GetPubEndorsementKey
    762      1.1  christos  - Bugfixes
    763      1.1  christos     - in crypto.c, encrypted data area should be RSA_size(rsa) bytes
    764      1.1  christos     large, not always 256. This was keeping non-2048 bit keys from
    765      1.1  christos     working with the TPM keyring app.
    766      1.1  christos     - Fixed detection of an already closed Tddl.
    767      1.1  christos     - Allow validating the entire TCPA_PUBKEY structure in
    768      1.1  christos     Tspi_TPM_GetPubEndorsementKey, as National chips do this.
    769      1.1  christos     - Added support for TSS_TPMCAP_ORD and TSS_TPMCAP_FLAG in
    770      1.1  christos     Tspi_TPM_GetCapability, which required a call to
    771      1.1  christos     TCSP_GetCapabilityOwner to fetch the TPM's internal flags. Added
    772      1.1  christos     tcg/highlevel/tpm/Tspi_TPM_GetCapability0{4,5}.c to test.
    773      1.1  christos     - When loading the SRK from TCS PS, the TCS key handle should now
    774      1.1  christos     be 0x40000000 (TSS_SRK_KEY_HANDLE). There were checks for this in
    775      1.1  christos     the ChangeAuth code paths, which caused failing of various sorts.
    776      1.1  christos     - Bug fixed in roll over of TCS key handle generation. Previously we
    777      1.1  christos     would have smashed the SRK's fixed value and we would have thought
    778      1.1  christos     there were 2 SRK's loaded.
    779      1.1  christos     - sf.net bug #1154611, old SRK was not being removed from mem cache,
    780      1.1  christos     though disk cache was being deleted. This means that after re-taking
    781      1.1  christos     ownership the mem cache was corrupted until a restart of the TCSD.
    782      1.1  christos  - Feature Requests
    783      1.1  christos     - sf.net RFE #1122608 completed. Several different device locations
    784      1.1  christos     are now supported by default.  If /dev/tpm is created its assumed that
    785      1.1  christos     the IBM Research device driver is being used and therefore ioctl's are
    786      1.1  christos     sent to the driver, all others get read/write's. Updated README.
    787      1.1  christos 
    788      1.1  christos * TROUSERS_0_1_8
    789      1.1  christos 
    790      1.1  christos  - added a manpage for Tspi_TPM_PcrExtend
    791      1.1  christos  - added SHA1_HASH_SIZE #define tied to openssl/sha.h
    792      1.1  christos  - Corrected typo in tcpa_types.h of pValdationData -> pValidationData
    793      1.1  christos  - updated README with info on device file stuff
    794      1.1  christos  - added a usage function and long options to tcsd
    795      1.1  christos  - added an error message when incorrect params are passed to tcsd on
    796      1.1  christos    the command line.
    797      1.1  christos  - added -lcrypto and -lpthread to the build of libtspi.so, so that app
    798      1.1  christos    writers will avoid having to include those when they don't have to.
    799      1.1  christos  - Connected up Tspi_TPM_SetStatus and Tspi_TPM_SelfTestFull to
    800      1.1  christos    TCSP_SetTempDeactivated, TCSP_SelfTestFull, TCSP_SetOwnerInstall,
    801      1.1  christos    TCSP_OwnerSetDisable and TCSP_PhysicalDisable.
    802      1.1  christos  - Bugfixes
    803      1.1  christos    - tcsem.c:507, error in calculating number of PCR events to copy out.
    804      1.1  christos    - sf.net bug #1151183 fixed. Tspi_TPM_GetPubEndorsementKey now takes
    805      1.1  christos    the correct number of params, and all testcases/TSS calls are changed.
    806      1.1  christos    - sf.net bug #1113313 fixed. Tspi_TPM_TakeOwnership now allows a NULL
    807      1.1  christos    pub endorsement key handle and a testcase,
    808      1.1  christos    tcg/highlevel/tpm/Tspi_TPM_TakeOwnership03.c, exists to test this.
    809      1.1  christos    - In Tspi_SetAttribData, set the TCPA_KEY's privkey, not the wrapper
    810      1.1  christos    object on a TSS_TSPATTRIB_KEYBLOB_PRIVATE_KEY.
    811      1.1  christos 
    812      1.1  christos * TROUSERS_0_1_7
    813      1.1  christos 
    814      1.1  christos  - Fixed the logging up so that if tcsd -f is specified, all logs go the
    815      1.1  christos    foreground, else all logs go to syslog.
    816      1.1  christos  - Moved the TPM_IOCTL #define into the tddl.h file. Now, if you're
    817      1.1  christos    using the IBM research device driver, compiling with #define TPM_IOCTL
    818      1.1  christos    will use ioctl's to open /dev/tpm and #undef TPM_IOCTL will use
    819      1.1  christos    read/write calls to /dev/tpm0.
    820      1.1  christos  - Revert accidental change in tddl.c
    821      1.1  christos  - Lots of 0's replaced with non-magic #define's in the TSP code
    822      1.1  christos  - In spi_getset.c: removed unimportant debugging stmts; make
    823      1.1  christos    Tspi_{Get|Set}AttribData set the correct public and private key data
    824      1.1  christos    when asked to.
    825      1.1  christos  - Lots of manpage verbage changes.
    826      1.1  christos  - added new manpages for: Tspi_TPM_TakeOwnership, Tspi_Key_LoadKey,
    827      1.1  christos    Tspi_Context_Create and Tspi_TPM_ClearOwner.
    828      1.1  christos  - Bugfixes
    829      1.1  christos    - cxt.c: when destroying a context object, release the tcs_ctx_lock before
    830      1.1  christos      calling ctx_ref_count_keys(). This prevents a deadlock.
    831      1.1  christos    - added a mutex unlock call for an error path that would have caused a
    832      1.1  christos      deadlock
    833      1.1  christos 
    834      1.1  christos * TROUSERS_0_1_6
    835      1.1  christos 
    836      1.1  christos  - Logging functionality changes only, for bug #1106301
    837      1.1  christos    - TCSD:
    838      1.1  christos      - Logs now go to stdout/stderr until a successful startup
    839      1.1  christos      - After a successful startup, cmdline args are parsed
    840      1.1  christos      - if -f is specified, logging continues to stdout/stderr and daemon runs
    841      1.1  christos        in the foreground, killable by ctrl-c.
    842      1.1  christos      - If -f is not specified, logs go to syslog and the tcsd forks into the
    843      1.1  christos        background
    844      1.1  christos    - TSP library
    845      1.1  christos      - If compiled w/o debugging, there is no logging of any kind
    846      1.1  christos      - If compiled w/ debugging, all logs go to stdout/stderr, unless the
    847      1.1  christos        environment variable TSS_DEBUG_OFF is set, then, there is no logging of
    848      1.1  christos        any kind
    849      1.1  christos  - There is no longer a --enable-stderrlog option to the configure script
    850      1.1  christos 
    851      1.1  christos * TROUSERS_0_1_5
    852      1.1  christos 
    853      1.1  christos  - Complete memory management overhaul. calloc_tspi is now used to clean up
    854      1.1  christos    memory allocated by Tspi functions. TCS blob functions have been changed
    855      1.1  christos    to not require a context, since there's no need w/o calloc_tspi. Its
    856      1.1  christos    now necessary to call free explicitly everywhere in the TCS. In the TSP,
    857      1.1  christos    calloc_tspi is now always called with the TSP context of the session, which
    858      1.1  christos    would will ensure all memory allocated by the session is accounted for.
    859      1.1  christos  - Unused #defines and variables removed from spi_utils.h
    860      1.1  christos  - Commented out code removed throughout the source.
    861      1.1  christos  - Removed log.o on a 'make clean'.
    862      1.1  christos  - commented out unnecessary logging, added more descriptive logging
    863      1.1  christos  - renamed variables named 'hContext' to specifiy whether they represent TSP
    864      1.1  christos    of TCS context handles.
    865      1.1  christos  - got rid of a few magic numbers
    866      1.1  christos  - Bugfixes
    867      1.1  christos    - in tcs/cache.c, getNextTimeStamp() was unlocking the mutex twice.
    868      1.1  christos    - removed destroy_key_refs() in TSP, which caused double free errors
    869      1.1  christos    - added call to event_log_final() in tcsd_shutdown() to clean up the event log
    870      1.1  christos    - added an intermediate copy stage of data in getTCSDPacket() to avoid
    871      1.1  christos    memcpy() calls with overlapping source and dest fields.
    872      1.1  christos 
    873      1.1  christos * TROUSERS_0_1_4
    874      1.1  christos 
    875      1.1  christos  - added ChangeLog :-)
    876      1.1  christos  - TSP object management overhaul. All API's should be correct for contexts
    877      1.1  christos     whether they're connected to a TCS or not.
    878      1.1  christos  - testsuite changes based on object mgmt overhaul
    879      1.1  christos  - various internal fixes and simplifications of the code due to object mgmt
    880      1.1  christos     overhaul
    881      1.1  christos 
    882      1.1  christos * TROUSERS_0_1_3
    883      1.1  christos 
    884      1.1  christos  - added helpful message when package gtk2-devel is not found in configure.in
    885      1.1  christos  - chown changes in dist/Makefile for new syntax
    886      1.1  christos  - added detailed flags to various manpages
    887      1.1  christos  - TSP memory management overhaul
    888      1.1  christos  - added more complete destroy_key_refs() function
    889      1.1  christos  - Bugfixes
    890      1.1  christos     - quashed memory leaks in TSP found by valgrind
    891      1.1  christos     - return TRUE/FALSE from getAttribData
    892      1.1  christos     - added TSS_TSPATTRIB_KEYINFO_SIZE to Tspi_GetAttribData
    893      1.1  christos     - call free() not Tspi_Context_FreeMemory() in spi_utils.c
    894      1.1  christos 
    895      1.1  christos * TROUSERS_0_1_2
    896      1.1  christos 
    897      1.1  christos  - added bug report mailing list to configure.in
    898      1.1  christos  - added --enable-stderrlog feature to configure.in
    899      1.1  christos  - Marked Tspi_TPM_GetCapabilitySigned as not implemented (per TSS v1.1b spec)
    900      1.1  christos  - Bugfixes
    901      1.1  christos     - Removed common.h from Tspi_Context_RegisterKey manpage
    902      1.1  christos     - added endianess macros to spi_utils.h
    903      1.1  christos     - made all endianess fixes to the TSP and testsuite
    904      1.1  christos     - logging improvements tcspbg.c
    905      1.1  christos     - tcs_utils.c compile time warning quashed
    906      1.1  christos 
    907      1.1  christos * TROUSERS_0_1_1
    908      1.1  christos 
    909      1.1  christos  - Updated design doc
    910      1.1  christos  - Updated README
    911      1.1  christos  - More sensible function naming (no addNewObject, just addObject)
    912      1.1  christos  - Bugfixes
    913      1.1  christos     - return data correctly in Tspi_GetAttribData
    914      1.1  christos     - malloc space for returned UUID correctly in tspps.c
    915      1.1  christos     - log errors in tddl.c
    916      1.1  christos     - follow a failure path in auth_mgr.c
    917      1.1  christos     - don't always return success in req_mgr.c
    918      1.1  christos 
    919      1.1  christos * TROUSERS_0_1_0
    920      1.1  christos 
    921      1.1  christos  - Initial code drop
    922