mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-29 17:41:05 +02:00
eclass/verify-sig: Sync with Gentoo
It's from Gentoo commit 48b23e4578736c4e9d29c270ce3be72be73a9405.
This commit is contained in:
parent
52c18363a5
commit
97d32e7b95
@ -141,6 +141,9 @@ verify-sig_verify_detached() {
|
||||
einfo "Verifying ${filename} ..."
|
||||
case ${VERIFY_SIG_METHOD} in
|
||||
openpgp)
|
||||
# gpg can't handle very long TMPDIR
|
||||
# https://bugs.gentoo.org/854492
|
||||
local -x TMPDIR=/tmp
|
||||
gemato gpg-wrap -K "${key}" "${extra_args[@]}" -- \
|
||||
gpg --verify "${sig}" "${file}" ||
|
||||
die "PGP signature verification failed"
|
||||
@ -190,6 +193,9 @@ verify-sig_verify_message() {
|
||||
einfo "Verifying ${filename} ..."
|
||||
case ${VERIFY_SIG_METHOD} in
|
||||
openpgp)
|
||||
# gpg can't handle very long TMPDIR
|
||||
# https://bugs.gentoo.org/854492
|
||||
local -x TMPDIR=/tmp
|
||||
gemato gpg-wrap -K "${key}" "${extra_args[@]}" -- \
|
||||
gpg --verify --output="${output_file}" "${file}" ||
|
||||
die "PGP signature verification failed"
|
||||
|
Loading…
x
Reference in New Issue
Block a user