summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2022-07-10 14:31:10 +0200
committerFlorian Pritz <bluewind@xinu.at>2023-01-08 10:32:28 +0100
commit1f10507c4f23b53fb09a431f22580f6b08ec9970 (patch)
tree8f8a74b8d393c6b399470b4cf216c1e0ea121a89
parentf44e1de257836262c820d5078ed9f5277243ff02 (diff)
downloadbin-1f10507c4f23b53fb09a431f22580f6b08ec9970.tar.gz
bin-1f10507c4f23b53fb09a431f22580f6b08ec9970.tar.xz
masterkey.pl: Only automatically sign @archlinux.org UIDs
Other UIDs should not be signed any more Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-xmasterkey.pl3
1 files changed, 2 insertions, 1 deletions
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->@*;