diff --git a/README.en.md b/README.en.md deleted file mode 100644 index dfc53e1..0000000 --- a/README.en.md +++ /dev/null @@ -1,36 +0,0 @@ -# openssl_tpm2_engine - -#### Description -OpenSSL TPM 2.0 interface engine plugin - -#### Software Architecture -Software architecture description - -#### Installation - -1. xxxx -2. xxxx -3. xxxx - -#### Instructions - -1. xxxx -2. xxxx -3. xxxx - -#### Contribution - -1. Fork the repository -2. Create Feat_xxx branch -3. Commit your code -4. Create Pull Request - - -#### Gitee Feature - -1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md -2. Gitee blog [blog.gitee.com](https://blog.gitee.com) -3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) -4. The most valuable open source project [GVP](https://gitee.com/gvp) -5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) -6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/README.md b/README.md deleted file mode 100644 index 94ed318..0000000 --- a/README.md +++ /dev/null @@ -1,37 +0,0 @@ -# openssl_tpm2_engine - -#### 介绍 -OpenSSL TPM 2.0 interface engine plugin - -#### 软件架构 -软件架构说明 - - -#### 安装教程 - -1. xxxx -2. xxxx -3. xxxx - -#### 使用说明 - -1. xxxx -2. xxxx -3. xxxx - -#### 参与贡献 - -1. Fork 本仓库 -2. 新建 Feat_xxx 分支 -3. 提交代码 -4. 新建 Pull Request - - -#### 特技 - -1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md -2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) -3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 -4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 -5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) -6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) diff --git a/openssl_tpm2_engine-2.4.2.tar.gz b/openssl_tpm2_engine-2.4.2.tar.gz new file mode 100644 index 0000000..8b9051e Binary files /dev/null and b/openssl_tpm2_engine-2.4.2.tar.gz differ diff --git a/openssl_tpm2_engine.spec b/openssl_tpm2_engine.spec new file mode 100644 index 0000000..f678e66 --- /dev/null +++ b/openssl_tpm2_engine.spec @@ -0,0 +1,119 @@ +# +# spec file for package openssl_tpm2_engine +# +# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2017 James.Bottomley@HansenPartnership.com +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: openssl_tpm2_engine +Version: 2.4.2 +Release: 1 +Summary: OpenSSL TPM 2.0 interface engine plugin +License: LGPL-2.1-only +Group: Productivity/Security +URL: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/openssl_tpm2_engine.git/ +Source0: https://git.kernel.org/pub/scm/linux/kernel/git/jejb/openssl_tpm2_engine.git/snapshot/%{name}-%{version}.tar.gz +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: help2man +BuildRequires: tss2 +BuildRequires: tss2-devel +BuildRequires: libtool +BuildRequires: openssl-devel + +%description +This package contains a plugin a for OpenSSL which connects it with the +Trusted Platform Module version 2.0 found on newer machines and a +create_tpm2_key helper binary to create and extract a TPM key. + +%prep +%setup -q + +%build +autoreconf -fiv +%configure --libdir=/%{_lib} +%make_build + +%install +%make_install +find %{buildroot} -type f -name "*.la" -delete -print +%define EXTRA_FILES ExtraFiles.list +CWD=`pwd` +cd %{buildroot} +touch $CWD/%{EXTRA_FILES} +find * -name \*.so -printf "/%p\n" > $CWD/%{EXTRA_FILES} + +%files -f %{EXTRA_FILES} +%license LICENSE +%doc README openssl.cnf.sample +%{_bindir}/* +%{_mandir}/man1/* + +%changelog + +Fri Jul 3 09:35:56 UTC 2020 - Pedro Monreal Gonzalez +- Update tarball due to download_files error + +Thu Jul 2 15:03:09 UTC 2020 - James.Bottomley@HansenPartnership.com +- Update to version 2.4.2 + * Add every TPM supported curve (as defined by the TCG) + * Fix a bug with explicitly parametrised curve handling (needed for BN) + * Update the tests to be able to use swtpm + * Allow loading public key without password + +Thu Mar 26 04:31:36 UTC 2020 - James.Bottomley@HansenPartnership.com +- Update to version 2.4.1 + * fixes for older OpenSSL and gcc + * variable tpm_server location for testing + +Fri Mar 6 00:47:24 UTC 2020 - James.Bottomley@HansenPartnership.com +- Update to version 2.4.0 + * data seal/unseal handling + * PKCS12 wrapping support + +Fri Jan 10 16:52:22 UTC 2020 - James.Bottomley@HansenPartnership.com +- Update to version 2.3.1 + * bug fixes + * add handling for DER keys + +Sun Feb 24 17:10:22 UTC 2019 - James.Bottomley@HansenPartnership.com +- Update to version 2.3.0 + * add the ability to produce restricted (storage) keys with defined + symmetric seeds + * new load_tpm2_key command to load a key file at a NV index +- Version 2.2.0 + * Add support for non-PKCS1 padding + * Fixups for engines and cross builds + +Wed Nov 14 14:43:17 PST 2018 - James.Bottomley@HansenPartnership.com +- Update to version 2.1.0: + * Add importable keys feature + +Mon Nov 12 21:04:09 PST 2018 - James.Bottomley@HansenPartnership.com +- Update to version 2.0.1: + * Fix name algorithm selection + * Make policy correct for non sha256 name algorithms + * add security to TPM decryption operations + +Mon Nov 5 07:37:09 PST 2018 - James.Bottomley@HansenPartnership.com +- Update to version 2.0.0: + * Licence changed from GPL to LGPL (fixes openssl compatibility) + * Key format changed for interoperability + * OIDs updated with input from the TCG (new format only) + +Sat Aug 10 08:05:00 PDT 2018 - James.Bottomley@HansenPartnership.com +- Update to version 1.2.1: + * Policy file support (fixed) +