Fixing up output
authorkristianf <devnull@localhost>
Sun, 13 Oct 2013 16:11:55 +0000 (18:11 +0200)
committerkristianf <devnull@localhost>
Sun, 13 Oct 2013 16:11:55 +0000 (18:11 +0200)
keysigningPartyList.php

index d5e1b4f..379a41a 100644 (file)
@@ -7,7 +7,7 @@
   */
   
   if($argc < 2)
-       die("Usage: php -f  php -f keysigningPartyList.php <keyring>\n");
+       die("Usage: php -f  php -f keysigningPartyList.php <homedir, use . for current dir>\n");
 
   $homedir = $argv[1];
   
        }
   }
   
-  $res = `gpg2 --fingerprint --no-default-keyring --no-options --with-colons --homedir $homedir`;
+  $res = `gpg2 --fingerprint --keyid-format long --no-default-keyring --no-options --with-colons --homedir $homedir`;
   $resl = split("\n", $res);
   
   // Iterte through output
   <title><?='Keyring for: '.$conf['title'].' on '.$conf['date'];?></title>
  </head>
  <body>
-  <?='Keyring for: '.$conf['title'].' on '.$conf['date'];?>
+  <?='Keyring for: '.$conf['title'].' on '.$conf['date']." .<br/>Last updated: ".date("Y-m-d");?>
   <table border="1">
    <tr>
        <th>Key ID</th>