mirror.dongdigua.github.io/gmi/docker/cgi/test_auth.cgi
dongdigua 4ff4cabbcc docker: test_auth.cgi
so client certificate seems good compared to PGP
2023-06-27 15:27:08 +08:00

9 lines
159 B
Bash
Executable File

#! /bin/sh
if [ -z $AUTH_TYPE ]; then
printf "60 \r\n"
else
printf "20 text/plain\r\n"
printf "auth: $AUTH_TYPE\r\nhash: $TLS_CLIENT_HASH\r\n"
fi