Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
arch-release-promotion
Commits
086fd12e
Verified
Commit
086fd12e
authored
Aug 14, 2021
by
David Runge
🐿
Browse files
Merge remote-tracking branch 'nl6720/gpg-options'
* nl6720/gpg-options: signature.py: enforce sane gpg options
parents
3f7ae787
e5fd59df
Pipeline
#10370
passed with stages
in 52 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
arch_release_promotion/signature.py
View file @
086fd12e
...
...
@@ -46,6 +46,9 @@ def sign_file(path: Path, developer: str, gpgkey: str) -> int:
return
run
(
[
"gpg"
,
"--batch"
,
"--no-armor"
,
"--no-include-key-block"
,
"--sender"
,
developer
,
"--default-key"
,
...
...
tests/test_signature.py
View file @
086fd12e
...
...
@@ -29,6 +29,9 @@ def test_sign_file(run_mock: Mock) -> None:
call
(
[
"gpg"
,
"--batch"
,
"--no-armor"
,
"--no-include-key-block"
,
"--sender"
,
developer
,
"--default-key"
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment