Prevent makepkg creating armored signatures
If the user has "armor" in thier gpg.conf, makepkg will create an ascii-armored signature. Use --no-armor in the gpg call to avoid. FS#38503. Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
e4f6edf237
commit
47a4741a3c
1 changed files with 1 additions and 1 deletions
|
@ -1968,7 +1968,7 @@ create_signature() {
|
|||
SIGNWITHKEY="-u ${GPGKEY}"
|
||||
fi
|
||||
# The signature will be generated directly in ascii-friendly format
|
||||
gpg --detach-sign --use-agent ${SIGNWITHKEY} "$filename" &>/dev/null || ret=$?
|
||||
gpg --detach-sign --use-agent ${SIGNWITHKEY} --no-armor "$filename" &>/dev/null || ret=$?
|
||||
|
||||
|
||||
if (( ! ret )); then
|
||||
|
|
Loading…
Add table
Reference in a new issue