├── .github └── workflows │ ├── .linux.yml.un~ │ ├── .macos.yml.un~ │ ├── lint.yml │ ├── linux.yml │ └── macos.yml ├── .gitmodules ├── LICENSE.md ├── README.md ├── src ├── SslServer.zig ├── SslStream.zig ├── async_test.zig ├── main.zig ├── normal_test.zig ├── test_files │ ├── root.pem │ ├── server.crt │ └── server.key └── tls_config.zig └── test └── CA ├── LICENSE ├── Makefile ├── README.md ├── chain.pem ├── client.crt ├── client.key ├── intermediate ├── certs │ ├── client.crt │ ├── intermediate.cert.pem │ ├── ocsp-localhost.pem │ ├── revoked.crt │ └── server.crt ├── crl │ └── intermediate.crl.pem ├── crlnumber ├── crlnumber.old ├── csr │ ├── client.pem │ ├── intermediate.csr.pem │ ├── ocsp-localhost.csr.pem │ ├── revoked.pem │ └── server.pem ├── index.txt ├── index.txt.attr ├── index.txt.attr.old ├── index.txt.old ├── newcerts │ ├── 1000.pem │ ├── 1001.pem │ ├── 1002.pem │ └── 1003.pem ├── openssl.cnf ├── private │ ├── client.key │ ├── intermediate.key.pem │ ├── ocsp-localhost.key.pem │ ├── revoked.key │ └── server.key ├── serial └── serial.old ├── makecert.sh ├── ocspfetch.sh ├── ocspserver.sh ├── openssl-intermediate.cnf ├── openssl-root.cnf ├── revoked.crt ├── revoked.key ├── root.pem ├── root ├── certs │ └── ca.cert.pem ├── index.txt ├── index.txt.attr ├── index.txt.old ├── newcerts │ └── 1000.pem ├── openssl.cnf ├── private │ └── ca.key.pem ├── serial └── serial.old ├── server.crt └── server.key /.github/workflows/.linux.yml.un~: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/.github/workflows/.linux.yml.un~ -------------------------------------------------------------------------------- /.github/workflows/.macos.yml.un~: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/.github/workflows/.macos.yml.un~ -------------------------------------------------------------------------------- /.github/workflows/lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/.github/workflows/lint.yml -------------------------------------------------------------------------------- /.github/workflows/linux.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/.github/workflows/linux.yml -------------------------------------------------------------------------------- /.github/workflows/macos.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/.github/workflows/macos.yml -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/.gitmodules -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/README.md -------------------------------------------------------------------------------- /src/SslServer.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/src/SslServer.zig -------------------------------------------------------------------------------- /src/SslStream.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/src/SslStream.zig -------------------------------------------------------------------------------- /src/async_test.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/src/async_test.zig -------------------------------------------------------------------------------- /src/main.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/src/main.zig -------------------------------------------------------------------------------- /src/normal_test.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/src/normal_test.zig -------------------------------------------------------------------------------- /src/test_files/root.pem: -------------------------------------------------------------------------------- 1 | ../../test/CA/root.pem -------------------------------------------------------------------------------- /src/test_files/server.crt: -------------------------------------------------------------------------------- 1 | ../../test/CA/server.crt -------------------------------------------------------------------------------- /src/test_files/server.key: -------------------------------------------------------------------------------- 1 | ../../test/CA/server.key -------------------------------------------------------------------------------- /src/tls_config.zig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/src/tls_config.zig -------------------------------------------------------------------------------- /test/CA/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/LICENSE -------------------------------------------------------------------------------- /test/CA/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/Makefile -------------------------------------------------------------------------------- /test/CA/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/README.md -------------------------------------------------------------------------------- /test/CA/chain.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/chain.pem -------------------------------------------------------------------------------- /test/CA/client.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/client.crt -------------------------------------------------------------------------------- /test/CA/client.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/client.key -------------------------------------------------------------------------------- /test/CA/intermediate/certs/client.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/intermediate/certs/client.crt -------------------------------------------------------------------------------- /test/CA/intermediate/certs/intermediate.cert.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/intermediate/certs/intermediate.cert.pem -------------------------------------------------------------------------------- /test/CA/intermediate/certs/ocsp-localhost.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/intermediate/certs/ocsp-localhost.pem -------------------------------------------------------------------------------- /test/CA/intermediate/certs/revoked.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/intermediate/certs/revoked.crt -------------------------------------------------------------------------------- /test/CA/intermediate/certs/server.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/intermediate/certs/server.crt -------------------------------------------------------------------------------- /test/CA/intermediate/crl/intermediate.crl.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/intermediate/crl/intermediate.crl.pem -------------------------------------------------------------------------------- /test/CA/intermediate/crlnumber: -------------------------------------------------------------------------------- 1 | 1001 2 | -------------------------------------------------------------------------------- /test/CA/intermediate/crlnumber.old: -------------------------------------------------------------------------------- 1 | 1000 2 | -------------------------------------------------------------------------------- /test/CA/intermediate/csr/client.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/intermediate/csr/client.pem -------------------------------------------------------------------------------- /test/CA/intermediate/csr/intermediate.csr.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/intermediate/csr/intermediate.csr.pem -------------------------------------------------------------------------------- /test/CA/intermediate/csr/ocsp-localhost.csr.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/intermediate/csr/ocsp-localhost.csr.pem -------------------------------------------------------------------------------- /test/CA/intermediate/csr/revoked.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/intermediate/csr/revoked.pem -------------------------------------------------------------------------------- /test/CA/intermediate/csr/server.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/intermediate/csr/server.pem -------------------------------------------------------------------------------- /test/CA/intermediate/index.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/intermediate/index.txt -------------------------------------------------------------------------------- /test/CA/intermediate/index.txt.attr: -------------------------------------------------------------------------------- 1 | unique_subject = yes 2 | -------------------------------------------------------------------------------- /test/CA/intermediate/index.txt.attr.old: -------------------------------------------------------------------------------- 1 | unique_subject = yes 2 | -------------------------------------------------------------------------------- /test/CA/intermediate/index.txt.old: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/intermediate/index.txt.old -------------------------------------------------------------------------------- /test/CA/intermediate/newcerts/1000.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/intermediate/newcerts/1000.pem -------------------------------------------------------------------------------- /test/CA/intermediate/newcerts/1001.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/intermediate/newcerts/1001.pem -------------------------------------------------------------------------------- /test/CA/intermediate/newcerts/1002.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/intermediate/newcerts/1002.pem -------------------------------------------------------------------------------- /test/CA/intermediate/newcerts/1003.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/intermediate/newcerts/1003.pem -------------------------------------------------------------------------------- /test/CA/intermediate/openssl.cnf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/intermediate/openssl.cnf -------------------------------------------------------------------------------- /test/CA/intermediate/private/client.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/intermediate/private/client.key -------------------------------------------------------------------------------- /test/CA/intermediate/private/intermediate.key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/intermediate/private/intermediate.key.pem -------------------------------------------------------------------------------- /test/CA/intermediate/private/ocsp-localhost.key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/intermediate/private/ocsp-localhost.key.pem -------------------------------------------------------------------------------- /test/CA/intermediate/private/revoked.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/intermediate/private/revoked.key -------------------------------------------------------------------------------- /test/CA/intermediate/private/server.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/intermediate/private/server.key -------------------------------------------------------------------------------- /test/CA/intermediate/serial: -------------------------------------------------------------------------------- 1 | 1004 2 | -------------------------------------------------------------------------------- /test/CA/intermediate/serial.old: -------------------------------------------------------------------------------- 1 | 1003 2 | -------------------------------------------------------------------------------- /test/CA/makecert.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/makecert.sh -------------------------------------------------------------------------------- /test/CA/ocspfetch.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/ocspfetch.sh -------------------------------------------------------------------------------- /test/CA/ocspserver.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/ocspserver.sh -------------------------------------------------------------------------------- /test/CA/openssl-intermediate.cnf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/openssl-intermediate.cnf -------------------------------------------------------------------------------- /test/CA/openssl-root.cnf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/openssl-root.cnf -------------------------------------------------------------------------------- /test/CA/revoked.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/revoked.crt -------------------------------------------------------------------------------- /test/CA/revoked.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/revoked.key -------------------------------------------------------------------------------- /test/CA/root.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/root.pem -------------------------------------------------------------------------------- /test/CA/root/certs/ca.cert.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/root/certs/ca.cert.pem -------------------------------------------------------------------------------- /test/CA/root/index.txt: -------------------------------------------------------------------------------- 1 | V 320809172154Z 1000 unknown /C=CA/ST=Edmonton/O=Bob Beck/OU=LibTLS Tutorial/CN=Intermediate CA Cert 2 | -------------------------------------------------------------------------------- /test/CA/root/index.txt.attr: -------------------------------------------------------------------------------- 1 | unique_subject = yes 2 | -------------------------------------------------------------------------------- /test/CA/root/index.txt.old: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/CA/root/newcerts/1000.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/root/newcerts/1000.pem -------------------------------------------------------------------------------- /test/CA/root/openssl.cnf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/root/openssl.cnf -------------------------------------------------------------------------------- /test/CA/root/private/ca.key.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/root/private/ca.key.pem -------------------------------------------------------------------------------- /test/CA/root/serial: -------------------------------------------------------------------------------- 1 | 1001 2 | -------------------------------------------------------------------------------- /test/CA/root/serial.old: -------------------------------------------------------------------------------- 1 | 1000 2 | -------------------------------------------------------------------------------- /test/CA/server.crt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/server.crt -------------------------------------------------------------------------------- /test/CA/server.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/haze/zig-libressl/HEAD/test/CA/server.key --------------------------------------------------------------------------------