2007-01-16 00:38:18 +01:00
|
|
|
#
|
2012-10-22 22:10:31 +02:00
|
|
|
# spec file for package suse-build-key
|
2007-01-16 00:38:18 +01:00
|
|
|
#
|
2023-05-22 10:23:04 +02:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2007-01-16 00:38:18 +01:00
|
|
|
#
|
2008-11-03 14:25:56 +01:00
|
|
|
# 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.
|
|
|
|
|
2021-06-14 09:37:37 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:38:18 +01:00
|
|
|
#
|
|
|
|
|
2008-05-05 18:37:24 +02:00
|
|
|
|
2008-09-20 04:50:09 +02:00
|
|
|
Name: suse-build-key
|
2007-01-16 00:38:18 +01:00
|
|
|
BuildRequires: gpg
|
|
|
|
Provides: build-key
|
|
|
|
Summary: The public gpg key for rpm package signature verification
|
2021-06-14 09:37:37 +02:00
|
|
|
License: GPL-2.0-or-later
|
2012-10-22 22:10:31 +02:00
|
|
|
Group: System/Packages
|
2014-01-09 14:49:26 +01:00
|
|
|
Version: 12.0
|
|
|
|
Release: 0
|
2017-08-24 15:29:11 +02:00
|
|
|
|
2014-01-09 14:49:26 +01:00
|
|
|
# pub 2048R/39DB7C82 2013-01-31 SuSE Package Signing Key <build@suse.de>
|
|
|
|
# The main package signing key.
|
2021-06-14 09:37:37 +02:00
|
|
|
Source0: gpg-pubkey-39db7c82-5f68629b.asc
|
2023-05-22 10:23:04 +02:00
|
|
|
#pub rsa4096/0xF74F09BC3FA1D6CE 2023-01-19 [SC] [expires: 2027-01-18]
|
|
|
|
# Key fingerprint = 7F00 9157 B127 B994 D5CF BE76 F74F 09BC 3FA1 D6CE
|
|
|
|
#uid SUSE Package Signing Key <build@suse.de>
|
|
|
|
Source4: gpg-pubkey-3fa1d6ce-63c9481c.asc
|
2017-08-24 15:29:11 +02:00
|
|
|
|
2014-01-09 14:49:26 +01:00
|
|
|
# pub 2048R/50A3DD1C 2013-01-14 SuSE Package Signing Key (reserve key) <build@suse.de>
|
|
|
|
# Fallback key if main key gets lost.
|
2014-08-29 10:29:05 +02:00
|
|
|
Source1: gpg-pubkey-50a3dd1c-50f35137.asc
|
2023-05-22 10:23:04 +02:00
|
|
|
# new reserver key RSA 4096 bit
|
|
|
|
#pub rsa4096/0xA1BFC02BD588DC46 2023-01-19 [SC] [expires: 2033-01-16]
|
|
|
|
# Key fingerprint = B56E 5601 41D8 F654 2DFF 3BF9 A1BF C02B D588 DC46
|
|
|
|
#uid SUSE Package Signing Key (reserve key) <build@suse.de>
|
|
|
|
Source9: gpg-pubkey-25db7ae0-645bae34.asc
|
2014-01-13 15:54:37 +01:00
|
|
|
|
2014-08-29 10:32:09 +02:00
|
|
|
# pub 1024R/307E3D54 2006-03-21 SuSE Package Signing Key <build@suse.de>
|
|
|
|
# SLES 10 key.
|
2018-07-09 18:37:53 +02:00
|
|
|
Source2: gpg-pubkey-307e3d54-5aaa90a5.asc
|
2017-08-24 15:29:11 +02:00
|
|
|
|
2021-06-14 09:37:37 +02:00
|
|
|
#pub rsa2048/0x8EFE1BC4D4ADE9C3 2017-12-11 [SC] [expires: 2027-12-09]
|
|
|
|
# Key fingerprint = 0EE9 CA43 0050 9E29 17A0 54ED 8EFE 1BC4 D4AD E9C3
|
|
|
|
# container key used by Container TUF style signing.
|
|
|
|
Source3: build-container-d4ade9c3-5a2e9669.asc
|
2023-10-16 10:55:58 +02:00
|
|
|
# same, in PEM format
|
2023-10-16 11:09:15 +02:00
|
|
|
Source10: build-container-d4ade9c3-5a2e9669.pem
|
2021-06-14 09:37:37 +02:00
|
|
|
|
2023-05-22 10:23:04 +02:00
|
|
|
# New ALP Keys
|
|
|
|
#pub rsa4096/0xFEC28EAF09D9EA69 2023-05-10 [SC] [expires: 2027-05-09]
|
|
|
|
# Key fingerprint = 1C59 D66F CD52 563A 1693 3DBC FEC2 8EAF 09D9 EA69
|
|
|
|
#uid ALP Package Signing Key <build-alp@suse.de>
|
|
|
|
Source5: gpg-pubkey-09d9ea69-645b99ce.asc
|
|
|
|
# reserve key
|
|
|
|
#pub rsa4096/0xC7B81E4373F03759 2022-04-29 [SC] [expires: 2032-04-26]
|
|
|
|
# Key fingerprint = 5056 7568 F292 0FF1 65B2 5FB2 C7B8 1E43 73F0 3759
|
|
|
|
#uid ALP Package Signing Key (reserve key) <build-alp@suse.de>
|
|
|
|
Source6: gpg-pubkey-73f03759-626bd414.asc
|
|
|
|
|
|
|
|
# new 4096 bit SLES container key.
|
|
|
|
#pub rsa4096/0x100CEB438FD6C337 2023-01-19 [SC] [expires: 2027-01-18]
|
|
|
|
# Key fingerprint = 2BFA 4649 1A1C FFA8 31EF C4B6 100C EB43 8FD6 C337
|
|
|
|
#uid SUSE Linux Container Signing Key <build-container@suse.de>
|
|
|
|
Source7: build-container-8fd6c337-63c94b45.asc
|
|
|
|
# Exact same key in PEM format for notary and cosign
|
|
|
|
Source8: build-container-8fd6c337-63c94b45.pem
|
|
|
|
|
2014-01-09 14:49:26 +01:00
|
|
|
# SUSE supplied PTF (program temporary fixes) are signed by this key.
|
|
|
|
# supplied to be not imported by default
|
2023-05-22 10:23:04 +02:00
|
|
|
#pub rsa2048/0x46DFA05C6F5DA62B 2022-02-25 [SC] [expires: 2026-02-24]
|
|
|
|
# Key fingerprint = 1604 494D 38DA 2FA7 AA26 97AE 46DF A05C 6F5D A62B
|
|
|
|
#uid SUSE PTF Signing Key <support@suse.com>
|
|
|
|
Source97: suse_ptf_key.asc
|
|
|
|
#pub rsa4096/0x09461C70AF5425F7 2023-01-19 [SC] [expires: 2027-01-18]
|
|
|
|
# Key fingerprint = 6D6C 8072 BF35 2152 3062 D823 0946 1C70 AF54 25F7
|
|
|
|
#uid SUSE PTF Signing Key <support@suse.com>
|
|
|
|
Source98: suse_ptf_4096_key.asc
|
|
|
|
|
|
|
|
# Use only for email communication!
|
|
|
|
#pub rsa4096/0xB205E69BAB2FD922 2020-03-10 [SC] [expires: 2024-02-24]
|
|
|
|
# Key fingerprint = 2BAB 445F B9B4 F0D3 30E4 7CB0 B205 E69B AB2F D922
|
|
|
|
#uid SUSE Security Team <security@suse.com>
|
|
|
|
#uid SUSE Security Team <security@suse.de>
|
|
|
|
#sub rsa4096/0xA679ED66FD417627 2020-03-10 [E] [expires: 2024-02-24]
|
2014-01-09 14:49:26 +01:00
|
|
|
Source99: security_at_suse_de.asc
|
|
|
|
|
2014-08-29 10:29:05 +02:00
|
|
|
Source100: dumpsigs
|
2017-08-24 15:29:11 +02:00
|
|
|
|
2007-01-16 00:38:18 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2008-05-05 18:37:24 +02:00
|
|
|
BuildArch: noarch
|
2014-01-09 14:49:26 +01:00
|
|
|
%define keydir %{_prefix}/lib/rpm/gnupg/keys
|
2021-06-14 09:37:37 +02:00
|
|
|
%define containerkeydir %{_prefix}/share/container-keys/
|
2023-05-22 10:23:04 +02:00
|
|
|
%define pemcontainerkeydir %{_prefix}/share/pki/containers/
|
2007-01-16 00:38:18 +01:00
|
|
|
|
|
|
|
%description
|
2014-01-09 14:49:26 +01:00
|
|
|
This package contains the gpg keys that are used to sign the
|
|
|
|
SUSE rpm packages. The keys installed here are not actually
|
|
|
|
used by anything. rpm/zypper use the keys in the rpm db instead.
|
2007-01-16 00:38:18 +01:00
|
|
|
|
|
|
|
%prep
|
2014-01-09 14:49:26 +01:00
|
|
|
%setup -qcT
|
2007-01-16 00:38:18 +01:00
|
|
|
|
|
|
|
%build
|
2014-01-09 14:49:26 +01:00
|
|
|
cp %SOURCE98 .
|
|
|
|
cp %SOURCE99 .
|
2007-01-16 00:38:18 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2014-08-29 10:29:05 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{keydir}
|
|
|
|
for i in %sources; do
|
|
|
|
case "$i" in
|
2019-01-11 16:00:54 +01:00
|
|
|
*/gpg-pubkey-*.asc|*/*ptf*.asc)
|
2014-08-29 10:29:05 +02:00
|
|
|
install -m 644 "$i" $RPM_BUILD_ROOT%{keydir}
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
done
|
2021-07-05 12:30:11 +02:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1120
|
2014-08-29 10:29:05 +02:00
|
|
|
install -m 755 %{SOURCE100} $RPM_BUILD_ROOT/usr/lib/rpm/gnupg
|
2021-07-05 12:30:11 +02:00
|
|
|
%endif
|
2007-01-16 00:38:18 +01:00
|
|
|
|
2021-06-14 09:37:37 +02:00
|
|
|
install -d -m 755 $RPM_BUILD_ROOT%{containerkeydir}/
|
|
|
|
install -c -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{containerkeydir}/suse-container-key.asc
|
2023-05-22 10:23:04 +02:00
|
|
|
install -c -m 644 %{SOURCE7} $RPM_BUILD_ROOT%{containerkeydir}/suse-container-key-4096.asc
|
2023-10-16 10:55:58 +02:00
|
|
|
|
2023-05-22 10:23:04 +02:00
|
|
|
install -d -m 755 $RPM_BUILD_ROOT%{pemcontainerkeydir}/
|
2023-10-16 11:09:15 +02:00
|
|
|
install -c -m 644 %{SOURCE10} $RPM_BUILD_ROOT%{pemcontainerkeydir}/suse-container-key.pem
|
2023-10-16 10:55:58 +02:00
|
|
|
install -c -m 644 %{SOURCE8} $RPM_BUILD_ROOT%{pemcontainerkeydir}/suse-container-key-4096.pem
|
2021-06-14 09:37:37 +02:00
|
|
|
|
2007-01-16 00:38:18 +01:00
|
|
|
%files
|
|
|
|
%defattr(644,root,root)
|
2019-01-11 16:00:54 +01:00
|
|
|
%doc security_at_suse_de.asc
|
2014-08-29 10:29:05 +02:00
|
|
|
%attr(755,root,root) %dir %{_prefix}/lib/rpm/gnupg
|
|
|
|
%attr(755,root,root) %dir %{keydir}
|
2021-06-14 09:37:37 +02:00
|
|
|
%attr(755,root,root) %dir %{containerkeydir}
|
2021-07-05 12:30:11 +02:00
|
|
|
%if 0%{?suse_version} && 0%{?suse_version} < 1120
|
2014-08-29 10:29:05 +02:00
|
|
|
%attr(755,root,root) %{_prefix}/lib/rpm/gnupg/dumpsigs
|
2021-07-05 12:30:11 +02:00
|
|
|
%endif
|
2014-08-29 10:29:05 +02:00
|
|
|
%{keydir}/gpg-pubkey-50a3dd1c-50f35137.asc
|
2021-06-14 09:37:37 +02:00
|
|
|
%{keydir}/gpg-pubkey-39db7c82-5f68629b.asc
|
2018-07-09 18:37:53 +02:00
|
|
|
%{keydir}/gpg-pubkey-307e3d54-5aaa90a5.asc
|
2023-05-22 10:23:04 +02:00
|
|
|
%{keydir}/gpg-pubkey-09d9ea69-645b99ce.asc
|
|
|
|
%{keydir}/gpg-pubkey-3fa1d6ce-63c9481c.asc
|
|
|
|
%{keydir}/gpg-pubkey-73f03759-626bd414.asc
|
|
|
|
%{keydir}/gpg-pubkey-25db7ae0-645bae34.asc
|
|
|
|
%{keydir}/suse_ptf_4096_key.asc
|
2019-01-14 08:42:42 +01:00
|
|
|
%{keydir}/suse_ptf_key.asc
|
2021-06-14 09:37:37 +02:00
|
|
|
%{containerkeydir}/suse-container-key.asc
|
2023-05-22 10:23:04 +02:00
|
|
|
%{containerkeydir}/suse-container-key-4096.asc
|
|
|
|
%dir /usr/share/pki/
|
|
|
|
%dir %{pemcontainerkeydir}/
|
|
|
|
%{pemcontainerkeydir}/suse-container-key.pem
|
|
|
|
%{pemcontainerkeydir}/suse-container-key-4096.pem
|
2007-01-16 00:38:18 +01:00
|
|
|
|
2007-03-21 00:36:23 +01:00
|
|
|
%changelog
|