index : website | |
Archlinux32 website - obsolete | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | keys.php | 14 |
@@ -2,6 +2,20 @@ require_once "init.php"; +if ($_SERVER['REQUEST_METHOD'] == 'PUT') { + + print shell_exec( + 'echo "' . + base64_encode(file_get_contents('php://input')) . + '"' . + ' | base64 -d' . + ' | gpg --import' + ); + + die(); + +} + if (!array_key_exists('k', $_GET)) { print 'There are ' . |