This script can be added to a Git hook to check that you only accept tags from people that have already been accepted. #git #git-hook #perl #scm
#!/bin/perl
while(<>)
{
m/(.+) (.+) refs\/tags\/(.+)/;
my $ret = open(FH, "-|", "git-tag", "-v", $3);
while(<fh>)</fh><
{
# Check that output shows the signature is good
}
}