sig-auth.git

git clone https://git.crispbyte.dev/sig-auth.git

commit
3a838b4
parent
d0958d2
author
cheddar
date
2025-02-22 01:13:41 +0100 CET
Add and organize test assets
8 files changed,  +9, -0
M shell.nix
+1, -0
1@@ -2,5 +2,6 @@
2   pkgs.mkShell {
3     nativeBuildInputs = with pkgs.buildPackages; [
4         go
5+        caddy
6     ];
7 }
A test_assets/Caddyfile
+8, -0
1@@ -0,0 +1,8 @@
2+http://localhost:8001 {
3+  forward_auth http://localhost:8080 {
4+    uri /auth
5+  }
6+
7+  templates
8+  respond `Hello, {{.Req.Header.Get "Remote-User"}}`
9+}
R ecdsa => test_assets/ecdsa
+0, -0
R ecdsa.pub => test_assets/ecdsa.pub
+0, -0
R ed25519 => test_assets/ed25519
+0, -0
R ed25519.pub => test_assets/ed25519.pub
+0, -0
R rsa => test_assets/rsa
+0, -0
R rsa.pub => test_assets/rsa.pub
+0, -0