initial import

This commit is contained in:
Peter Robinson 2023-07-17 20:20:59 +01:00
parent 77d8c0b9b5
commit 88462d8a3b
3 changed files with 41 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/rpm-head-signing-1.*.tar.gz

39
rpm-head-signing.spec Normal file
View File

@ -0,0 +1,39 @@
Name: rpm-head-signing
Version: 1.7.1
Release: 1%{?dist}
Summary: A python module for signing RPM header and file digests
License: BSD
URL: https://github.com/fedora-iot/rpm-head-signing
Source0: %url/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: rpm-devel
%description
A small Python module (with C helper) to extract a RPM header and file
digests and reinsert the signature and signed file digests. This is
used for when you want to retrieve the parts to sign if you have a
remote signing server without having to transmit the entire RPM over
to the server.
%prep
%autosetup -p1
%build
%py3_build
%install
%py3_install
%files
%license LICENSE
%doc README.md
%{_bindir}/verify-rpm-ima-signatures
%{python3_sitearch}/rpm_head_signing/
%{python3_sitearch}/rpm_head_signing-*/
%changelog
* Tue Jun 20 2023 Peter Robinson <pbrobinson@fedoraproject.org> - 1.7.1-1
- Initial package

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (rpm-head-signing-1.7.1.tar.gz) = 7a3dbb53cf27ac9767ad15ae5038bafdeb568f8a3f71ef3fe86d05c531a0de147ee482772aeec9887c641df05a630ec0af3b2c1180481f492d2360109662b27c