index : archweb32 | |
Archlinux32 website | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-09-02 15:52:22 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-09-02 15:52:22 +0200 |
commit | 20e7385ff00d6d59f0635d1a9c6423603c15e36d (patch) | |
tree | 6c02dbf4870baabef23df48266f101a123dd5d73 /keys.php | |
parent | 369026c9ebfafb1357f941c49b35df4361f1bbee (diff) |
-rw-r--r-- | keys.php | 1 |
@@ -17,6 +17,7 @@ if (!array_key_exists('k', $_GET)) { if (preg_match('/^[0-9A-Fa-f]{16,40}$/', $_GET['k']) !== 1) die(); +header('Content-Type: text/plain'); $output = shell_exec('gpg -a --export ' . $_GET['k']); print $output; |