Navigation Menu

Skip to content

Commit

Permalink
yum: force to use SHA1 for digest
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jul 28, 2012
1 parent b72e45e commit 433c3fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/yum/sign-rpm.sh
Expand Up @@ -30,6 +30,7 @@ echo "NOTE: YOU JUST ENTER! YOU DON'T NEED TO INPUT PASSWORD!"
echo " IT'S JUST FOR rpm COMMAND RESTRICTION!"
run rpm \
-D "_gpg_name ${GPG_UID}" \
-D "_gpg_digest_algo sha1" \
-D "__gpg /usr/bin/gpg2" \
-D "__gpg_check_password_cmd /bin/true true" \
-D "__gpg_sign_cmd %{__gpg} gpg --batch --no-verbose --no-armor %{?_gpg_digest_algo:--digest-algo %{_gpg_digest_algo}} --no-secmem-warning -u \"%{_gpg_name}\" -sbo %{__signature_filename} %{__plaintext_filename}" \
Expand Down

0 comments on commit 433c3fb

Please sign in to comment.