Commit Graph

26 Commits

Author SHA1 Message Date
Stefan Berger
17f253a767 rpm/debian: Add 0.10.0 entry to changelog
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2024-11-14 07:51:51 -05:00
Stefan Berger
dc4e3f6313 rpm/debian: Add 0.9.0 entry in changelog
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2021-09-28 16:55:28 -04:00
Nicolas Iooss
bbd7b75d71 Fix many misspellings
When testing downgrading from libtpms 0.8 to 0.7 (which is not
possible), the error message which is reported is:

    libtpms/tpm2: Unexpect value for MAX_RSA_KEY_BITS; its value 3072 is
    not = 2048; (version: 2).

codespell (https://github.com/codespell-project/codespell) reports a
misspelling for "Unexpect", which should be "Unexpected". As the project
contains many more misspellings in comments, error messages and
documentation, fix all misspellings reported by codespell.

Signed-off-by: Nicolas Iooss <nicolas.iooss@ledger.fr>
2021-03-02 08:20:25 -05:00
Stefan Berger
1253aa359b Bump up the revision of the library for next version to 0.9.0
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2021-02-24 15:08:38 -05:00
Stefan Berger
3fd4b94903 rpm/debian: Adjust date of 0.8.0 entry in changelog
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2021-02-24 12:58:38 -05:00
Stefan Berger
d5e419ea34 rpm/debian: Add 0.8.0-1 entry to changelog
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2020-06-15 11:55:41 -04:00
Stefan Berger
625abcc688 Bump up the revision of the library for next version to 0.8.0
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2019-07-19 13:54:18 -04:00
Stefan Berger
c962433be0 RPM: Build now also requires gcc-c++ for fuzz test
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2019-07-19 12:27:37 -04:00
Stefan Berger
2c0249e06d RPM: Set the release number to 0.7.0-0
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2019-07-19 12:03:52 -04:00
Stefan Berger
af7e924372 Bump up the revision of the library for next version to 0.7.0
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
2019-03-18 21:14:49 -04:00
Stefan Berger
4111bd1bcf rpm: Address some of the rpmlint complaints
Remaining rpmlint complaint is the download URL. There's currently no
public tar to download.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com
2018-09-13 09:48:45 -04:00
Stefan Berger
77b11b7eda build-sys: Include autogen.sh in the tarball and use for RPM building
Include the autogen.sh in the tarball and use it for building
the RPM.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2018-08-08 08:59:04 -04:00
Stefan Berger
9f8884f77b build: Build RPM 0.6.0-1_dev1
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2018-06-15 18:07:48 -04:00
Stefan Berger
3cf528aaac Integrate the TPM 2 into the library; do not compile with TPM 2 yet
Introduce --with-tpm2 for ./configure to enable building with
TPM 2 functionality. Delay the building of TPM 2 code until more
patches are applied and the vTPM state that's created has a chance
of being backwards compatible.

Extend the libtpms API to allow user to choose version of TPM.

Missing functionality at this point:
- TPM 2 needs to be extended to serialize and deserialize its volatile state
- Handling of the establishment bit

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2018-06-15 18:07:47 -04:00
Stefan Berger
e5dc628043 Allow choice of crypto subsystem via rpmbuild parameter
Use 'rpmbuild -ba --define "crypto_subsystem openssl" dist/libtpms.spec'
to build libtpms with openssl.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2016-06-26 13:19:59 -04:00
Stefan Berger
f79e8301f4 rpmbuild: Fix dependencies for OpenSSL
Fix the Requires and BuildRequires dependencies for OpenSSL build.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2015-07-16 12:39:19 -04:00
Stefan Berger
acbfe13344 rpmbuild: Add virtual provide libtpms-<crypto subsystem>
Add a virtual provide libtpms-freebl or libtpms-openssl to
indicate which crypto library libtpms is using.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2015-07-16 12:33:34 -04:00
Stefan Berger
40e13951a9 build: do not set -D_FORTIFY_SOURCE=2 when -O0 is set or -O is missing
-D_FORTIFY_SOURCE needs optimization, so we do not set it if -O0 is
set or -O is missing.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2015-05-01 12:07:21 -04:00
Stefan Berger
9acd053d6d Also request nss-softok-freebl-static on Fedora. 2014-10-16 13:12:59 -04:00
Stefan Berger
2e31126832 Do not package libtpms.la. 2014-10-16 13:12:01 -04:00
Stefan Berger
327c8be0af Some fixes to the spm spec
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2014-07-14 17:22:14 -04:00
Stefan Berger
052581174f Adapt spec so it can also be built on RHEL6.
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2014-07-02 07:37:05 -04:00
Stefan Berger
ff5fac41e4 Create version 0.5.2
Set the version of the library to 0.5.2.
Synchronize the rpm spec with the one used in Fedora and set the release
version to 1.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2014-06-30 15:04:15 -04:00
Stefan Berger
017c810393 Use boostrap.sh to build rpm on Fedora machines
Use bootstrap.sh before running configure when building an rpm.
Reorder the tools in bootstrap.sh to avoid error messages.

Rename configure.in to configure.ac to quite down more recent autotools.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Signed-off-by: Joel Schopp <jschopp@linux.vnet.ibm.com>
2014-01-21 14:21:36 -06:00
Stefan Berger
ea5d455718 Sync libtpms.spec.in with Fedora repository
Sync the libtpms.spec.in with the content in the Fedora repository.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Signed-off-by: Joel Schopp <jschopp@linux.vnet.ibm.com>
2014-01-21 14:21:36 -06:00
Corey Bryant
a0098eda2d Initial import of project
This is the initial import of the libtpms library.  The libtpms library
provides software emulation of a Trusted Platform Module (TPM).  It is
intended to be used by applications when a hardware TPM is not adequate.
For example, a hypervisor can use libtpms to emulate an independent TPM
for each of it's virtual machine guests.  The library provides a high-
level API for developers to integrate the emulated TPM support into
their application.

The code was originally written by Kenneth Goldman <kgoldman@us.ibm.com>
and Stefan Berger <stefanb@us.ibm.com>.

The code is licensed under the Modified BSD License.

Signed-off-by: Corey Bryant <coreyb@linux.vnet.ibm.com>
2013-10-31 15:33:22 -05:00