commit b34233ac7cdfc1c028b4596836e16da25a49859d11ce08f1d4b0b2d50431d7df Author: Johannes Segitz Date: Mon Jun 5 06:35:04 2023 +0000 Accepting request 1090801 from home:firstyear:branches:security Submit new package tpm2-openssl, an openssl3 tpm2 provider. This is needed for upcoming Kanidm features. OBS-URL: https://build.opensuse.org/request/show/1090801 OBS-URL: https://build.opensuse.org/package/show/security/tpm2-openssl?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/tpm2-openssl-1.1.1.tar.gz b/tpm2-openssl-1.1.1.tar.gz new file mode 100644 index 0000000..664d6ac --- /dev/null +++ b/tpm2-openssl-1.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5a9bb0c6c61d026272b8843cbc291b5dfa9a55c1661a513b1c980807ad2dad01 +size 415093 diff --git a/tpm2-openssl-1.1.1.tar.gz.asc b/tpm2-openssl-1.1.1.tar.gz.asc new file mode 100644 index 0000000..9eec41c --- /dev/null +++ b/tpm2-openssl-1.1.1.tar.gz.asc @@ -0,0 +1,14 @@ +-----BEGIN PGP SIGNATURE----- + +iQGzBAABCgAdFiEEtyAf6AMbB68R9UI8YynPy2vm/XYFAmNDEwMACgkQYynPy2vm +/XZfbQv/diTxkQsI3QFXam6/MIiJMChuEHSrPlBAsP53oYS/cGS5N+D7HUW5yBjY +UJoD04tM/1JYuh5yzjCEH4MDd7ZpKU5J1vyOtcpdRU2Wm5ek9LqreoqvfXl4pO33 +lv74J8AqQ/9VMw1924zgJ29jeklajUsEK2ImX81h13Flow/ZzemVKc/0wKlWAbJT +kGbRP9q8vkYNEt2eiS4LcUyIsBWaYLpI7YDDptTYMyGG9siT+uNb6iFM4wbcfj6p +bfxOaeXkX7TqeXFjrKYL5foLShhkw/qFabmpvrCFcjnR4ZCbhyX2QJCNZ2jdFMrp +UqLdsTgXWKTGGyLTA5QVL0Khecc18jfFtEIZ204rY4ZJXZ7aiEE7gx4+tvgXSqHe ++zXF595oKKFB+s9nrE3Llepr6nw1SSWAhIKft6v+UKQrIlN37IxfivakDC3IiChN +8Sx8l1eRixRY5VYzhAOEj0c/z3BTmiA3y3JLcpUbFS4OELmn04Xg3JyuOhIZZd0d +zjrDRyi0 +=yqFe +-----END PGP SIGNATURE----- diff --git a/tpm2-openssl.changes b/tpm2-openssl.changes new file mode 100644 index 0000000..5284ba4 --- /dev/null +++ b/tpm2-openssl.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Mon Jun 5 05:29:23 UTC 2023 - William Brown + +- Initial commit of tpm2-openssl diff --git a/tpm2-openssl.spec b/tpm2-openssl.spec new file mode 100644 index 0000000..a7f48e6 --- /dev/null +++ b/tpm2-openssl.spec @@ -0,0 +1,59 @@ +# +# spec file for package tpm2-openssl +# +# Copyright (c) 2023 SUSE LLC +# +# 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/ +# + +%define _MODULES_DIR %(pkg-config --variable=modulesdir libcrypto) + +Name: tpm2-openssl +Version: 1.1.1 +Release: 0 +Summary: OpenSSL 3 Engine for TPM2 devices +License: BSD-3-Clause +Group: Productivity/Security +URL: https://github.com/tpm2-software +Source0: %{url}/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz +Source1: %{url}/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz.asc +BuildRequires: autoconf-archive +BuildRequires: libgcrypt-devel +BuildRequires: libtool +BuildRequires: pkgconfig +BuildRequires: pkgconfig(libcrypto) >= 3 +BuildRequires: pkgconfig(tss2-esys) >= 2.0 +Conflicts: openssl_tpm2_engine + +%description +Makes the TPM 2.0 accessible via the standard OpenSSL API and command-line tools, so +one can add TPM support to (almost) any OpenSSL 3.x based application. + +%prep +%setup -q + +%build + +autoreconf -fvi +%configure +make V=1 %{?_smp_mflags} + +%install +%make_install + +%files +%doc README.md +%license LICENSE +%{_MODULES_DIR}/tpm2.la +%{_MODULES_DIR}/tpm2.so + +%changelog