From 47cffb6697caadca5c5629b404e44222a6328a18 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Sun, 5 Jul 2020 13:50:25 +0200 Subject: [PATCH 1/3] Add profile generator --- assets/styles.css | 6 +++--- views/util/profile-url.php | 23 +++++++++++++++++++++++ 2 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 views/util/profile-url.php diff --git a/assets/styles.css b/assets/styles.css index eafa3cd..ab40a53 100644 --- a/assets/styles.css +++ b/assets/styles.css @@ -103,6 +103,9 @@ input[type="submit"][disabled="true"] { pointer-events: none; opacity: 0.3; } +select { + margin: 0 0 16px 0; +} .green { color: green; } @@ -113,9 +116,6 @@ input[type="submit"][disabled="true"] { display: inline-block; margin: 0 0 8px; } -.modesContainer { - margin-top: 16px; -} .modes { display: none; } diff --git a/views/util/profile-url.php b/views/util/profile-url.php new file mode 100644 index 0000000..70c3e62 --- /dev/null +++ b/views/util/profile-url.php @@ -0,0 +1,23 @@ +layout('template.base', ['title' => $title]) ?> + +Profile URL + + + This tool generates an URL for your Keyoxide profile page. + Public key + Source: + + Web Key Directory + keys.openpgp.org + Keybase + + + + Profile URL + Waiting for input... + Help + When using the Web Key Directory source, the Input looks like username@domain.org. + When using the keys.openpgp.org source, the Input is either the fingerprint of your public key, or the main identity's email address. + When using the Keybase source, the Input is the URL obtained by going to your Keybase profile page, clicking on the key id of your keypair and copying the URL of the this key link. + + From 92ce753e01690e491bedbf5b4a9f9846c750fa8b Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Sun, 5 Jul 2020 13:50:38 +0200 Subject: [PATCH 2/3] Add profile generator button to index --- views/index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/views/index.php b/views/index.php index 9d5cfa1..b2de7aa 100644 --- a/views/index.php +++ b/views/index.php @@ -10,6 +10,7 @@
This tool generates an URL for your Keyoxide profile page.
Waiting for input...
When using the Web Key Directory source, the Input looks like username@domain.org.
When using the keys.openpgp.org source, the Input is either the fingerprint of your public key, or the main identity's email address.
When using the Keybase source, the Input is the URL obtained by going to your Keybase profile page, clicking on the key id of your keypair and copying the URL of the this key link.
+ Profile URL wkd QR