From 1f10507c4f23b53fb09a431f22580f6b08ec9970 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 10 Jul 2022 14:31:10 +0200 Subject: masterkey.pl: Only automatically sign @archlinux.org UIDs Other UIDs should not be signed any more Signed-off-by: Florian Pritz --- masterkey.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/masterkey.pl b/masterkey.pl index f3b18cf..72ede20 100755 --- a/masterkey.pl +++ b/masterkey.pl @@ -156,7 +156,8 @@ fun gpg_get_users($key) { fun gpg_get_user($key, $email_regex) { my $users = gpg_get_users($key); - return $users->[0] if $users->@* == 1; + # Disable this since we only want to use the userid matching the regex + #return $users->[0] if $users->@* == 1; my $user = first {$_->{email} =~ m/$email_regex/} $users->@*; -- cgit v1.2.3-24-g4f1b