Skip to content
Snippets Groups Projects
Commit 763d8ffb authored by Johannes Löthberg's avatar Johannes Löthberg Committed by Evangelos Foutras
Browse files

commitpkg: Force unarmored signatures

Pacman cannot handle armored signatures, so force a generation of a
binary one using the --no-armor flag.
parent a1594ae1
No related branches found
No related tags found
No related merge requests found
...@@ -147,7 +147,7 @@ for _arch in ${arch[@]}; do ...@@ -147,7 +147,7 @@ for _arch in ${arch[@]}; do
if [[ -n $GPGKEY ]]; then if [[ -n $GPGKEY ]]; then
SIGNWITHKEY="-u ${GPGKEY}" SIGNWITHKEY="-u ${GPGKEY}"
fi fi
gpg --detach-sign --use-agent ${SIGNWITHKEY} "${pkgfile}" || die gpg --detach-sign --use-agent --no-armor ${SIGNWITHKEY} "${pkgfile}" || die
fi fi
if ! gpg --verify "$sigfile" >/dev/null 2>&1; then if ! gpg --verify "$sigfile" >/dev/null 2>&1; then
die "Signature %s.sig is incorrect!" "$pkgfile" die "Signature %s.sig is incorrect!" "$pkgfile"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment