From 9c634e4f26b06cc9bfdb755b0c6084c937d8bed0 Mon Sep 17 00:00:00 2001 From: Ahmed Date: Tue, 16 Jun 2026 23:01:43 +0300 Subject: add: lots of vibed edits again --- _shared/build.py | 2 +- irc.gumx.cc/body.html | 5 +- irc.gumx.cc/index.html | 7 ++- mail.gumx.cc/index.html | 2 +- pgp.gumx.cc/cgi-bin/pgp-hkp.sh | 2 +- pgp.gumx.cc/index.html | 2 +- vpn.gumx.cc/index.html | 2 +- wk.fo/body.html | 8 ++- wk.fo/index.html | 10 +-- wk.fo/pgp/cgi-bin/pgp-hkp.sh | 138 +++++++++++++++++++++++++++++++++++++++++ wk.fo/pgp/index.html | 61 ++++++++++++++++++ 11 files changed, 224 insertions(+), 15 deletions(-) create mode 100644 wk.fo/pgp/cgi-bin/pgp-hkp.sh create mode 100644 wk.fo/pgp/index.html diff --git a/_shared/build.py b/_shared/build.py index 935bf5c..fcf53d4 100644 --- a/_shared/build.py +++ b/_shared/build.py @@ -4,7 +4,7 @@ import json import os import sys -FAVICON = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1IDUiPjxyZWN0IHg9IjEiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz48cmVjdCB4PSIyIiB5PSIxIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+PHJlY3QgeD0iMCIgeT0iMiIgd2lkdGg9IjEiIGhlaWdodD0iMSIvPjxyZWN0IHg9IjEiIHk9IjIiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiLz48cmVjdCB4PSIyIiB5PSIyIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIi8+PC9zdmc+" +FAVICON = "data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNDAiIGhlaWdodD0iMTQwIiBzdHJva2U9IiMwMDAiPjxwYXRoIHN0cm9rZS13aWR0aD0iMTIyIiBzdHJva2UtZGFzaGFycmF5PSIyLDM4IiBkPSJtOSw3MGgxMjJNNzAsOXYxMjIiLz48cGF0aCBzdHJva2Utd2lkdGg9IjMzIiBzdHJva2UtbGluZWNhcD0icm91bmQiIGQ9Im03MCwzMGgwbTQwLDQwaDBtLTgwLDQwdjBtNDAsMGgwbTQwLDBoMCIvPjwvc3ZnPg==" def render(title, breadcrumb, style, extra_css, body, footer): diff --git a/irc.gumx.cc/body.html b/irc.gumx.cc/body.html index ee66fec..48440ca 100644 --- a/irc.gumx.cc/body.html +++ b/irc.gumx.cc/body.html @@ -1,7 +1,10 @@

Personal IRC server running ngircd, fronted by a Soju bouncer. Access is by invitation.

-

connect

+

web client

+

open gamja — no account needed. Connect with any nick.

+

connect via IRC client

+
serverirc.gumx.cc:6697 (TLS)
authSASL PLAIN (invite only)

request access

Send a message to hi@gumx.cc with your nick and preferred IRC client.

diff --git a/irc.gumx.cc/index.html b/irc.gumx.cc/index.html index efb2b69..de477f1 100644 --- a/irc.gumx.cc/index.html +++ b/irc.gumx.cc/index.html @@ -2,7 +2,7 @@ - + irc.gumx.cc \n' "$CSS" + printf '\n\n' + printf '
\n

wk.fo / pgp / keys

\n
\n' + printf '
\n\n\n' + found=0 + for f in "$KEYS_DIR"/*.asc; do + [[ -f "$f" ]] || continue + found=1 + FP=$(basename "$f" .asc) + KEY_UID=$(gpg --with-colons --import-options show-only --import < "$f" 2>/dev/null \ + | awk -F: '/^uid/{print $10; exit}') + printf '\n' \ + "$FP" "$FP" "$KEY_UID" + done + [[ $found -eq 0 ]] && printf '\n' + printf '
fingerprintuid
%s%s
no keys
\n
\n' + printf '%s\n' "$FOOTER" + printf '\n\n' + ;; + *) + printf "Content-Type: text/plain\r\n\r\n" + echo "Error: unknown op" + ;; + esac + ;; + + POST) + printf "Content-Type: text/plain\r\n\r\n" + read -r -d '' -n "${CONTENT_LENGTH:-4096}" SUBMITTED_KEY + + TMPDIR_GPG=$(mktemp -d) + FINGERPRINT=$(echo "$SUBMITTED_KEY" \ + | gpg --homedir "$TMPDIR_GPG" \ + --with-colons --import-options show-only \ + --import 2>/dev/null \ + | awk -F: '/^fpr/{print $10; exit}') + rm -rf "$TMPDIR_GPG" + + if [[ -z "$FINGERPRINT" ]]; then + echo "Error: Could not parse submitted key" + exit 0 + fi + + KEYFILE="$KEYS_DIR/${FINGERPRINT^^}.asc" + if [[ -f "$KEYFILE" ]]; then + echo "$SUBMITTED_KEY" > "$KEYFILE" + echo "Key updated successfully" + else + echo "Error: Fingerprint not registered." + echo "Contact hi@gumx.cc to arrange a key signing meeting." + fi + ;; +esac diff --git a/wk.fo/pgp/index.html b/wk.fo/pgp/index.html new file mode 100644 index 0000000..2847b9f --- /dev/null +++ b/wk.fo/pgp/index.html @@ -0,0 +1,61 @@ + + + + + + +wk.fo / pgp + + + +
+

wk.fo / pgp

+
+
+

Curated HKP keyserver. Keys are added after in-person verification only.

+

search

+
+ +

+
+

browse all keys

+

via gpg

+
gpg --keyserver hkps://wk.fo --recv-keys <fingerprint>
+

submit

+

Keys are not accepted without prior arrangement. Contact hi@gumx.cc.

+
+ + + -- cgit v1.2.3