update for AC

This commit is contained in:
pGerhart
2025-09-11 10:32:09 -04:00
parent ab1e399768
commit f7da97c896
8 changed files with 626 additions and 368 deletions
+7
View File
@@ -0,0 +1,7 @@
curl -sS -X POST http://127.0.0.1:8000/encrypt \
-H "Content-Type: application/json" \
--data-binary @encrypt.json \
| tee decrypt.json \
| jq -n --arg u "alice" --arg p "correct horse battery staple" --argfile ciphertext /dev/stdin \
'{username:$u, password:$p, ciphertext:$ciphertext}' \
| curl -sS -X POST http://127.0.0.1:8000/decrypt -H "Content-Type: application/json" --data-binary @-