SHA256
1
0
forked from pool/tpm2-openssl

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
This commit is contained in:
Johannes Segitz 2023-06-05 06:35:04 +00:00 committed by Git OBS Bridge
commit b34233ac7c
6 changed files with 104 additions and 0 deletions

23
.gitattributes vendored Normal file

@ -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

1
.gitignore vendored Normal file

@ -0,0 +1 @@
.osc

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5a9bb0c6c61d026272b8843cbc291b5dfa9a55c1661a513b1c980807ad2dad01
size 415093

@ -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-----

4
tpm2-openssl.changes Normal file

@ -0,0 +1,4 @@
-------------------------------------------------------------------
Mon Jun 5 05:29:23 UTC 2023 - William Brown <william.brown@suse.com>
- Initial commit of tpm2-openssl

59
tpm2-openssl.spec Normal file

@ -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