support hkpms queries from the agent
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 16 Dec 2010 20:32:25 +0000 (15:32 -0500)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Thu, 16 Dec 2010 20:32:25 +0000 (15:32 -0500)
Crypt/Monkeysphere/MSVA.pm

index 16e495c5c2dcf9fc01d40a7b7088f03c18b0e8c1..02949f4f9c3a19fae3564ddcc4011690caf1741b 100755 (executable)
     # We should read from (first hit wins):
     # the environment
     if (exists $ENV{MSVA_KEYSERVER} and $ENV{MSVA_KEYSERVER} ne '') {
-      if ($ENV{MSVA_KEYSERVER} =~ /^(((hkps?|finger|ldap):\/\/)?$RE{net}{domain})$/) {
+      if ($ENV{MSVA_KEYSERVER} =~ /^(((hkps?|hkpms|finger|ldap):\/\/)?$RE{net}{domain})$/) {
         return $1;
       }
       msvalog('error', "Not a valid keyserver (from MSVA_KEYSERVER):\n  %s\n", $ENV{MSVA_KEYSERVER});