Kris Kwiatkowski
8da51abeca
Implements two tests for SIDH/P503-X25519 interoperability. BoringSSL initiates connection to TRIS and TRIS initiates connection to BoringSSL. SIDH server always listens on port 7443
33 lines
689 B
Bash
Executable File
33 lines
689 B
Bash
Executable File
#!/bin/sh
|
|
PATH=/boringssl/build/tool:$PATH
|
|
set -x
|
|
|
|
# RSA
|
|
bssl server \
|
|
-key rsa.pem \
|
|
-min-version tls1.2 -max-version tls1.3 \
|
|
-accept 1443 -loop -www 2>&1 &
|
|
|
|
# ECDSA
|
|
bssl server \
|
|
-key ecdsa.pem \
|
|
-min-version tls1.2 -max-version tls1.3 \
|
|
-accept 2443 -loop -www 2>&1 &
|
|
|
|
# Require client authentication (with ECDSA)
|
|
bssl server \
|
|
-key ecdsa.pem \
|
|
-min-version tls1.2 -max-version tls1.3 \
|
|
-accept 6443 -loop -www \
|
|
-require-any-client-cert -debug 2>&1 &
|
|
|
|
# ECDSA and SIDH/P503-X25519
|
|
bssl server \
|
|
-key ecdsa.pem \
|
|
-curves x25519sidh503 \
|
|
-min-version tls1.3 -max-version tls1.3 \
|
|
-accept 7443 -loop -www \
|
|
-debug 2>&1 &
|
|
|
|
wait
|