Commit Graph

17 Commits (3f13c06a9fd0388c542452327b22418bb10de18b)

Author SHA1 Message Date
Christian Ulrich 3f13c06a9f
introduce Connection type to store the peer's certchain; move openssl wrappers to dedicated module; add certificate utils 2020-11-09 15:04:35 +01:00
Christian Ulrich de780656f0
make client authentication mandatory; verify cert chain using highest cert as CA cert 2020-11-08 19:12:42 +01:00
Christian Ulrich 490664b1f5
cosmetic: move proc handleMsg 2020-11-08 13:16:03 +01:00
Christian Ulrich c39ecc55ac
remove debug output; add less noisy output on server side 2020-11-08 13:05:59 +01:00
Christian Ulrich b65c4f4373
consistenly use snake case for wrapper symbols 2020-11-08 12:49:32 +01:00
Christian Ulrich d5c74f5ce2
need deepCopy; don't do anything if no connections exist 2020-11-08 01:53:30 +01:00
Christian Ulrich 272cb2f497
fix 'seq changed while iterating' bug 2020-11-08 01:36:03 +01:00
Christian Ulrich 6e7ab9369d
fix getRelativeTimeout (assuming microseconds was wrong) 2020-11-08 01:22:53 +01:00
Christian Ulrich e936bc49d9
fix server side sending 2020-11-08 00:20:26 +01:00
Christian Ulrich 87239d45e7
add debug output; use different certs and keys for client and server 2020-11-07 13:58:21 +01:00
Christian Ulrich db92c3f48f
receive as client too 2020-11-07 12:51:31 +01:00
Christian Ulrich 3fc54cb730
fix typo / grammar 2020-11-07 12:31:24 +01:00
Christian Ulrich cfe24f70dc
fix crashes in server mode 2020-11-07 12:29:08 +01:00
Christian Ulrich 44fd55871a
echo application in async Nim (untested) 2020-11-07 11:43:09 +01:00
Christian Ulrich bff7556147
read cert chain and private key 2020-11-02 23:52:26 +01:00
Christian Ulrich 02b9d5fb82
start using the bindings 2020-11-02 10:00:33 +01:00
Christian Ulrich 932dd80499
initial commit 2020-11-02 00:52:13 +01:00