Overrive the gpg import from slackpkg 15.0.5

" Harden slackpkg with respect to obtaining GPG key. (CRTS)"

this deny to download the gpg-key from thirdy part repositories
This commit is contained in:
Matteo Rossini 2021-06-11 15:31:35 +02:00
parent 93f4b0c6ed
commit 25eef17e5f

View file

@ -517,6 +517,11 @@ if [ "$SLACKPKGPLUS" = "on" ];then
return $? return $?
} # END function getpkg() } # END function getpkg()
# Override the get_gpg_key to rollback slackpkg 15.0.5 gpg-key import method
function get_gpg_key(){
getfile ${SOURCE}GPG-KEY $TMPDIR/gpgkey
}
# Override the slackpkg getfile(). # Override the slackpkg getfile().
# The new getfile() download all file needed from all defined repositories # The new getfile() download all file needed from all defined repositories
# then merge all in a format slackpkg-compatible # then merge all in a format slackpkg-compatible