Commit Graph

88 Commits

Author SHA1 Message Date
occheung 99f92f84ba readme: init 2021-01-28 13:43:41 +08:00
occheung 5f3b9a3bef cargo: rename crate 2021-01-25 10:08:46 +08:00
occheung b6d8428cb1 tls: add request client auth option for listen 2020-12-08 11:09:41 +08:00
occheung 0c6807f593 fix: subtle version
Both "RSA" and "curve25519_dalek" depend on "subtle".
"curve25519_dalek" depends on any "subtle" version after "2.2.1"
Before commit "f6b445b" on the "RSA" crate, any version of "subtle" that is at least 2.0.0 can support the "RSA" crate.
Commit "f6b445b" of "RSA" broke "subtle" by mandating the use of version "2.1.1" of "subtle".

This commit fixes the dependency conflict by changing the source of "RSA" code to commit "c879eb2", which reverts the "subtle" dependency change.
2020-12-07 11:27:04 +08:00
occheung 370766aa1b deadcode: recuce 2020-12-07 11:26:49 +08:00
occheung 552d21a1b3 nal: init 2020-12-04 15:50:37 +08:00
occheung 5ca7c6b3ff recv: recognize alert 2020-12-03 16:51:58 +08:00
occheung fe6418df36 socket: add alert close_notify 2020-12-03 12:43:31 +08:00
occheung 18c307ec1a write trait: add 2020-12-02 17:01:30 +08:00
occheung 25cdd23406 socket: owns tcp socket 2020-12-02 11:20:31 +08:00
occheung 4f8b273e86 socket: beautify lifetime 2020-12-01 16:22:08 +08:00
occheung c50894ad7f session: add client finished processing 2020-12-01 16:03:57 +08:00
occheung 4b644aafe9 session: calculate ap key 2020-11-27 17:00:15 +08:00
occheung 73f95555eb session: code reuse handshake secret 2020-11-27 15:54:41 +08:00
occheung e55b2e266b hash: fix, exclude content byte 2020-11-27 13:55:27 +08:00
occheung ccc257aeb9 server certificate: handled 2020-11-27 13:28:27 +08:00
occheung 81d52e9ec4 server ee: init 2020-11-27 11:53:45 +08:00
occheung 3ba03819d4 server hello: fix handshake length 2020-11-27 09:43:51 +08:00
occheung ab5719ed44 session: server hello key calc update 2020-11-26 17:34:47 +08:00
occheung 27800091d4 tls: add client hello processing 2020-11-26 12:30:16 +08:00
occheung e6d41dea80 tls: process incoming client hello 2020-11-25 16:28:59 +08:00
occheung 3dcb1f3f39 parse: add client hello 2020-11-25 10:33:51 +08:00
occheung ca3f548727 tls: reduce redundant array alloc 2020-11-24 13:10:36 +08:00
occheung ee7df70e6f connect: fix tcp rst freeze 2020-11-24 11:04:57 +08:00
occheung c22ff413da poll: init 2020-11-23 17:16:07 +08:00
occheung 47f2229feb cert: fix ed25519 2020-11-20 14:54:36 +08:00
occheung 7597e41859 ec cert: fix formatting 2020-11-20 12:07:45 +08:00
occheung 21234c485d cert rdn: allow IA5String 2020-11-20 11:52:47 +08:00
occheung 50cf99b5e4 rsapss: fix salt & random 2020-11-19 13:04:02 +08:00
occheung 9e5a9266fc state: client cert/verify init 2020-11-18 17:39:27 +08:00
occheung f0bf1e979d handshake: support client cert request 2020-11-18 17:38:23 +08:00
occheung 76a5dc4248 parser: add sig_alg ext 2020-11-18 17:37:47 +08:00
occheung 30492edc39 cert: remove debug msg 2020-11-18 17:36:42 +08:00
occheung 58cac792f0 sig_alg: fix pss 2020-11-16 18:14:59 +08:00
occheung cf3831f0b0 cert dir_name: add union/intersect test 2020-11-13 17:30:47 +08:00
occheung 7782d939f3 cert dir_name cmp: fix empty name 2020-11-13 14:08:01 +08:00
occheung 8cedbd5165 test: cleanup with macro 2020-11-13 10:46:53 +08:00
occheung 5a4616d297 set test: add ipv4/v6 intersection/union 2020-11-12 17:18:02 +08:00
occheung f71c868246 cert ipv4/v6: segregation 2020-11-12 16:32:27 +08:00
occheung 4c52f23b9d cert name: improve check 2020-11-12 12:18:32 +08:00
occheung 7229a56eef cert rdn: fix struct hierarchy 2020-11-11 17:13:45 +08:00
occheung 65220dbb46 cert: verify alg 2020-11-11 16:16:45 +08:00
occheung 45216e8af6 parse: add time; cert: add policy constraints 2020-11-09 16:14:31 +08:00
occheung a57998dc2d cert: add name constraints ext 2020-11-09 13:03:49 +08:00
occheung 9aeecc968e cert: add SAN extension 2020-11-06 17:12:42 +08:00
occheung 89086a18e2 cert: add name 2020-11-06 14:19:07 +08:00
occheung 57ff74c183 cert: verify using ca key 2020-11-06 13:14:40 +08:00
occheung 3bd54d682a ecdhe: add x25519 2020-11-05 16:25:14 +08:00
occheung 5638a660c2 cert: remove dead code 2020-11-05 14:08:52 +08:00
occheung d0488892fb cert: accept more sig_algs 2020-11-05 14:04:21 +08:00