{ "name": "testssl", "version": "3.2.4", "summary": "testssl.sh: tests a server's TLS (protocols, ciphers, certificate, known weaknesses) from the command line", "category": "network", "license": "GPL-2.0-only", "homepage": "https://testssl.sh/", "source": { "url": "https://deb.debian.org/debian/pool/main/t/testssl.sh/testssl.sh_3.2.4+dfsg.orig.tar.xz", "sha256": "a04e2d4bdfa09eda9315476dc19395beace2f0e100c28c3b7d2275a5859a1473" }, "watch": {"kind": "index", "url": "https://deb.debian.org/debian/pool/main/t/testssl.sh/", "regex": "testssl\\.sh_([0-9]+(?:\\.[0-9]+)+)\\+dfsg\\.orig\\.tar\\.xz"}, "deps": [ "bash", "openssl", "busybox" ], "env_packages": [], "static": true, "nss": false, "check": "bin/testssl.sh --version 2>&1 | sed 's/\\x1b\\[[0-9;]*m//g' | has 'testssl.sh *version 3.2.4' && t=$(mktemp -d) && bin/openssl req -x509 -newkey ec -pkeyopt ec_paramgen_curve:P-256 -nodes -keyout \"$t/k\" -out \"$t/c\" -subj /CN=localhost -days 1 2>/dev/null && P=$(free_port) && { bin/openssl s_server -quiet -www -accept \"127.0.0.1:$P\" -cert \"$t/c\" -key \"$t/k\" < /dev/null > /dev/null 2>&1 & echo $! > \"$t/pid\"; } && wait_port \"$P\" && HOME=$t bin/testssl.sh --quiet --color 0 --warnings off --protocols \"127.0.0.1:$P\" > \"$t/out\" 2>&1 && has 'TLS 1.3 *offered' < \"$t/out\" && has 'SSLv3 *not offered' < \"$t/out\" && echo \"testssl.sh: the protocols of a TLS server on port $P\"; r=$?; [ -f \"$t/pid\" ] && kill \"$(cat \"$t/pid\")\" 2>/dev/null; exit $r" }