Skip to content

Commit

Permalink
Specify the private key in "rpm --addsign"
Browse files Browse the repository at this point in the history
Using "*.secret" may cause "rpm --addsign" to fail, and the testcase
is actually related only to rpm.org-rsa-2048-test.secret.

Fix rpm-software-management#3277
  • Loading branch information
JetXujing committed Sep 5, 2024
1 parent c5878f4 commit a8550c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/rpmsigdig.at
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,7 @@ AT_SETUP([rpmsign --addsign])
AT_KEYWORDS([rpmsign signature])
AT_SKIP_IF([test x$PGP = xdummy])
RPMDB_INIT
gpg2 --import ${RPMTEST}/data/keys/*.secret
gpg2 --import ${RPMTEST}/data/keys/rpm.org-rsa-2048-test.secret
# Our keys have no passphrases to be asked, silence GPG_TTY warning
export GPG_TTY=""

Expand Down

0 comments on commit a8550c5

Please sign in to comment.