From 9590502b7368ad39335032114210db861ba4017d Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 16 May 2023 20:22:36 +0200 Subject: access-restriction.php new, do not commit keys --- access-restriction.php | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++ genkey.html | 4 ++-- index.php | 58 +--------------------------------------------- 3 files changed, 65 insertions(+), 59 deletions(-) create mode 100644 access-restriction.php diff --git a/access-restriction.php b/access-restriction.php new file mode 100644 index 0000000..92049bc --- /dev/null +++ b/access-restriction.php @@ -0,0 +1,62 @@ + + + + + + + + +
+Passwort: + + +
+ + +' + - '$pubKey = "' + key.publicKey + '";'; + 'echo "' + encryptedPrivateKey + '
' + + key.publicKey + '" >key.ed25519;'; } diff --git a/index.php b/index.php index 0a93b05..e38414a 100644 --- a/index.php +++ b/index.php @@ -1,63 +1,7 @@ - - - - - - - -
-Passwort: - - -
- - -