diff options
author | Florian Pritz <bluewind@xinu.at> | 2022-07-10 14:31:10 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2023-01-08 10:32:28 +0100 |
commit | 1f10507c4f23b53fb09a431f22580f6b08ec9970 (patch) | |
tree | 8f8a74b8d393c6b399470b4cf216c1e0ea121a89 | |
parent | f44e1de257836262c820d5078ed9f5277243ff02 (diff) | |
download | bin-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-x | masterkey.pl | 3 |
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->@*; |