From 66e0438d4788d0a0cdc107b3975418f1a572e354 Mon Sep 17 00:00:00 2001 From: Gabriel Corral Date: Sun, 3 Jan 2021 06:58:52 -0600 Subject: [PATCH] fix(archlinux): update URL and key server in `pacmanallkeys` (#9569) - Added follow redirects curl flag to fix the 301 response - Updated trusted users URL format - Changed from `pgp.mit.edu` keyserver to `keyserver.ubuntu.com` keyserver --- plugins/archlinux/archlinux.plugin.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/archlinux/archlinux.plugin.zsh b/plugins/archlinux/archlinux.plugin.zsh index c72e06dc2..32f09cef9 100644 --- a/plugins/archlinux/archlinux.plugin.zsh +++ b/plugins/archlinux/archlinux.plugin.zsh @@ -188,8 +188,8 @@ function pacdisowned() { } function pacmanallkeys() { - curl -s https://www.archlinux.org/people/{developers,trustedusers}/ | \ - awk -F\" '(/pgp.mit.edu/) { sub(/.*search=0x/,""); print $1}' | \ + curl -sL https://www.archlinux.org/people/{developers,trusted-users}/ | \ + awk -F\" '(/keyserver.ubuntu.com/) { sub(/.*search=0x/,""); print $1}' | \ xargs sudo pacman-key --recv-keys }