<?php
-require_once("../lib/lib.php");
+require_once("../lib/ga4php.php");
$ga = new GoogleAuthenticator("/dev/null");
$oldkey = "";
$key = $ga->createBase32Key();
+$hex = $ga->helperb322hex($key);
+
$url = $ga->createURL("someuser", $key);
system("qrencode -s 6 -o /tmp/file.unittest $url");
system("eog /tmp/file.unittest");
-unlink("/tmp/file.unittest");
+echo "key in hex: $hex\n";
+//unlink("/tmp/file.unittest");
?>