c7a072acc0
Add new rpmsign-sequoia and rpmsign-gnupg subpackages which can be used to switch between the two OpenPGP implementations for signing, rpm-sign-libs just requires one of them to be present. It's worth noting that unlike GnuPG, Sequoia doesn't accept names or email addresses as the signer identifier, one needs to supply the actual key fingerprint. Resolves: RHEL-56363
24 lines
825 B
Plaintext
24 lines
825 B
Plaintext
#==============================================================================
|
|
# ---- Sequoia signature macros.
|
|
# The signature to use and the location of configuration files for
|
|
# signing packages with Sequoia.
|
|
#
|
|
# Unlike GnuPG, Sequoia doesn't support specifying the signer key by
|
|
# email or name match, you need to supply the hex fingerprint (or keyid)
|
|
#%_gpg_name
|
|
#%_gpg_path
|
|
|
|
%__gpg /usr/bin/sq
|
|
|
|
# Macro(s) to hold the arguments passed to Sequoia for package
|
|
# signing. Expansion result is parsed by popt, so be sure to use
|
|
# %{shescape} where needed.
|
|
#
|
|
|
|
%__gpg_sign_cmd %{__gpg} %{__gpg} sign \
|
|
%{?_gpg_sign_cmd_extra_args} \
|
|
%{?_gpg_name:--signer-key %{_gpg_name}} \
|
|
--detached --output %{shescape:%{?__signature_filename}} \
|
|
%{?__plaintext_filename:-- %{shescape:%{__plaintext_filename}}}
|
|
|