wolfdn commented on code in PR #65361:
URL: https://github.com/apache/airflow/pull/65361#discussion_r3093100825
##########
scripts/docker/common.sh:
##########
@@ -237,7 +237,13 @@ function common::import_trusted_gpg() {
set +e
for keyserver in $(shuf -e "${keyservers[@]}"); do
echo "${COLOR_BLUE}Try to receive GPG public key ${key} from
${keyserver}${COLOR_RESET}"
+ local keyserver_host="${keyserver#hkps://}"
+ keyserver_host="${keyserver_host#hkp://}"
Review Comment:
This is stripping both `hkps://` and `hkp://` prefixes (with and without
TLS). At the moment we only have key servers with `hkps://` prefix, but it
would probably be good to cover both cases I think.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]