agwa / titus Goto Github PK
View Code? Open in Web Editor NEWTotally Isolated TLS Unwrapping Server
License: Other
Totally Isolated TLS Unwrapping Server
License: Other
FreeBSD does not support AI_V4MAPPED. Titus compiles, but cannot bind to a socket.
niemi@ndeb7:/STUDex# titus --config /home/niemi/STUDex/titus.conf/STUDex# ls -l /etc/ssl/private/
titus: Configuration error: Unable to read TLS key file: /etc/ssl/private/localhost.key : No such file or directory
niemi@ndeb7:
total 8
-rw-r--r-- 1 root root 2484 Jan 6 14:06 localhost.key
No updates in years, clearly it has never been tested on platforms with OpenSSL 1.1.0+ as it requires at least 07a65ec which came out after the 0.3 tag.
Hello,
I'm running titus 0.2 under linux Debian Jessie AMD64 (with no problems).
After upgrade to 0.3, titus fails:
System error in child: read: backend_sock: Transport endpoint is not connected
Child 20969 exited with status 3
System error in child: read: backend_sock: Transport endpoint is not connected
Child 20970 exited with status 3
System error in child: read: backend_sock: Transport endpoint is not connected
Child 20971 exited with status 3
Titus raises an exception here:
https://github.com/AGWA/titus/blob/master/child.cpp#L453
Configuration file (sligthly modified configuration file from /usr/share/doc/titus/examples/titus.conf):
port 443
backend 127.0.0.1
backend-port 443
key /etc/ssl/private/example.com.key
cert /etc/ssl/certs/example.com.crt
Hello,
are You planing to make it compatible with boringssl?
Currently compilation fails:
c++ -Wall -Wextra -pedantic -O2 -std=c++11 -I../include -c -o child.o child.cpp
c++ -Wall -Wextra -pedantic -O2 -std=c++11 -I../include -c -o common.o common.cpp
c++ -Wall -Wextra -pedantic -O2 -std=c++11 -I../include -c -o util.o util.cpp
c++ -Wall -Wextra -pedantic -O2 -std=c++11 -I../include -c -o dh.o dh.cpp
c++ -Wall -Wextra -pedantic -O2 -std=c++11 -I../include -c -o keyserver.o keyserver.cpp
c++ -Wall -Wextra -pedantic -O2 -std=c++11 -I../include -c -o rsa_client.o rsa_client.cpp
rsa_client.cpp: In function ‘int {anonymous}::rsa_client_private_decrypt(int, const unsigned char_, unsigned char_, RSA_, int)’:
rsa_client.cpp:55:70: error: ‘RSA_get_app_data’ was not declared in this scope
uintptr_t key_id = reinterpret_cast<uintptr_t>(RSA_get_app_data(rsa));
^
rsa_client.cpp: In function ‘int {anonymous}::rsa_client_private_encrypt(int, const unsigned char_, unsigned char_, RSA_, int)’:
rsa_client.cpp:75:70: error: ‘RSA_get_app_data’ was not declared in this scope
uintptr_t key_id = reinterpret_cast<uintptr_t>(RSA_get_app_data(rsa));
^
rsa_client.cpp: In function ‘RSA_METHOD* {anonymous}::get_rsa_client_method()’:
rsa_client.cpp:95:12: error: ‘RSA_METHOD’ has no member named ‘rsa_priv_enc’
if (!ops.rsa_priv_enc) {
^
rsa_client.cpp:96:34: error: ‘RSA_get_default_method’ was not declared in this scope
ops = RSA_get_default_method();
^
rsa_client.cpp:97:8: error: ‘RSA_METHOD’ has no member named ‘rsa_priv_enc’
ops.rsa_priv_enc = rsa_client_private_encrypt;
^
rsa_client.cpp:98:8: error: ‘RSA_METHOD’ has no member named ‘rsa_priv_dec’
ops.rsa_priv_dec = rsa_client_private_decrypt;
^
rsa_client.cpp: In function ‘openssl_unique_ptr<evp_pkey_st> rsa_client_load_private_key(uintptr_t, RSA)’:
rsa_client.cpp:125:51: error: ‘RSA_set_method’ was not declared in this scope
RSA_set_method(rsa.get(), get_rsa_client_method());
^
rsa_client.cpp:126:66: error: ‘RSA_set_app_data’ was not declared in this scope
if (!RSA_set_app_data(rsa.get(), reinterpret_cast<void*>(key_id))) {
^
: recipe for target 'rsa_client.o' failed
make: *** [rsa_client.o] Error 1
Script used for compilation attached (titus.sh.txt)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.