-
-
Save OldCrowEW/0129f82f5864defc502cb66988952052 to your computer and use it in GitHub Desktop.
rpm sign
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The original settings confirmed by running: rpm --showrc | |
# -14: __gpg %{_bindir}/gpg2 | |
# -14: __gpg_check_password_cmd %{__gpg} | |
# gpg --batch --no-verbose --passphrase-fd 3 -u "%{_gpg_name}" -so - | |
# | |
# -14: __gpg_sign_cmd %{__gpg} | |
# gpg --batch --no-verbose --no-armor --passphrase-fd 3 | |
# %{?_gpg_digest_algo:--digest-algo %{_gpg_digest_algo}} | |
# --no-secmem-warning | |
# -u "%{_gpg_name}" -sbo %{__signature_filename} %{__plaintext_filename} | |
%_gpg_name [email protected] | |
%__gpg_check_password_cmd /bin/true | |
%__gpg_sign_cmd %{__gpg} \ | |
gpg --batch --no-verbose --no-armor \ | |
--passphrase-file /home/admin/rpmsign-work/passphrase \ | |
%{?_gpg_digest_algo:--digest-algo %{_gpg_digest_algo}} \ | |
--no-secmem-warning \ | |
-u "%{_gpg_name}" -sbo %{__signature_filename} %{__plaintext_filename} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment