Menu
Commit a5e884fa
a5e884facd6bea1b5d9ff809c7a017393a70140a by Claude Code
- CHANGELOG.md +7 -0
- Cargo.toml +1 -1
- VERSION +1 -1
- scripts/validate.sh +40 -0
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 35baa24..4d3e652 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,13 @@ All notable changes to this project are documented here. Format: Keep a Changelo
## [Unreleased]
+## [0.0.5] - 2026-06-27
+
+### Added
+- real JWT verification via IDP introspect endpoint
+
+
+
## [0.0.4] - 2026-06-27
### Added
diff --git a/Cargo.toml b/Cargo.toml
index 170c206..9f76a75 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -13,7 +13,7 @@ members = ["crates/akurai-common", "crates/akurai-control", "crates/akurai-node"
# clearly-marked stubs until Ólafur decides; NO cryptography is implemented here.
[workspace.package]
-version = "0.0.4"
+version = "0.0.5"
edition = "2021"
license = "MIT"
repository = "https://github.com/olibuijr/AkurAI-VPN"
diff --git a/VERSION b/VERSION
index 81340c7..bbdeab6 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.0.4
+0.0.5
diff --git a/scripts/validate.sh b/scripts/validate.sh
new file mode 100755
index 0000000..3e40eca
--- /dev/null
+++ b/scripts/validate.sh
@@ -0,0 +1,40 @@
+#!/usr/bin/env bash
+# scripts/validate.sh — Post-deploy validation for AkurAI-VPN (control)
+set -euo pipefail
+
+DOMAIN="vpn.olibuijr.com"
+PORT=8104
+RED='\033[0;31m'; GRN='\033[0;32m'; NC='\033[0m'
+pass=0; fail=0
+pass_() { printf " ${GRN}PASS${NC} %s\n" "$*"; ((pass++)); }
+fail_() { printf " ${RED}FAIL${NC} %s\n" "$*"; ((fail++)); }
+
+echo "=== Post-deploy validation: AkurAI-VPN-control ==="
+
+# 1. Systemd
+systemctl is-active --quiet akurai-vpn-control.service 2>/dev/null && pass_ "systemd active" || fail_ "systemd not active"
+
+# 2. Loopback
+if curl -fsS --max-time 5 "http://127.0.0.1:${PORT}/" > /dev/null 2>&1; then
+ pass_ "loopback serves"
+else
+ fail_ "loopback unreachable"
+fi
+
+# 3. Public HTTPS
+if curl -fsS --max-time 10 "https://${DOMAIN}/" > /dev/null 2>&1; then
+ pass_ "public HTTPS serves"
+else
+ fail_ "public HTTPS unreachable"
+fi
+
+# 4. VPN site also up (sister app on port 8097)
+if systemctl is-active --quiet akurai-vpn-site.service 2>/dev/null; then
+ pass_ "vpn-site systemd active"
+else
+ fail_ "vpn-site systemd not active"
+fi
+
+echo "━━━━━━━━━━━━━━━━━━━━━━━━"
+echo -e "${GRN}Pass: $pass${NC} ${RED}Fail: $fail${NC}"
+[ "$fail" -eq 0 ] || exit 1