-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add RPM Temporary Signing Through Shell Scripts (#2196)
* Add RPM Temporary Signing Through Shell Scripts Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Fix typo Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * More typo Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * More comments Signed-off-by: Peter Zhu <zhujiaxi@amazon.com> * Add jenkins unittest Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
- Loading branch information
1 parent
ee2d968
commit 950d55c
Showing
17 changed files
with
445 additions
and
145 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
%_signature gpg | ||
%_gpg_path ~/.gnupg | ||
%_gpg_name ##key_name## | ||
%_gpg /usr/bin/gpg | ||
%__gpg_sign_cmd %{__gpg} \ | ||
gpg --no-verbose --no-armor --batch --yes --pinentry-mode loopback \ | ||
--passphrase-file ##passphrase_name## \ | ||
%{?_gpg_digest_algo:--digest-algo %{_gpg_digest_algo}} \ | ||
--no-secmem-warning \ | ||
-u "%{_gpg_name}" -sbo %{__signature_filename} --digest-algo sha512 %{__plaintext_filename} |
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
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
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
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
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
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
Oops, something went wrong.