Commit Graph

382 Commits

Author SHA1 Message Date
Davide De Rosa
55e0aa5c5a Implement and test crypt serializer 2018-10-19 17:06:26 +02:00
Davide De Rosa
3ec4a7d292 Implement AES-CTR encryption 2018-10-19 16:56:20 +02:00
Davide De Rosa
a430beb35f Improve Swift bridging of CryptoFlags 2018-10-19 16:56:20 +02:00
Davide De Rosa
22ab63b4a9
Merge pull request #34 from keeshux/tls-auth
Implement tls-auth
2018-10-19 16:26:04 +02:00
Davide De Rosa
31babe56f0 Fix tests formerly broken by flags.iv 2018-10-19 16:21:13 +02:00
Davide De Rosa
cb9735181c Update README and CHANGELOG 2018-10-19 16:20:56 +02:00
Davide De Rosa
8ccc4c08a5 Add auth strategy 2018-10-19 16:20:56 +02:00
Davide De Rosa
0fce5abdde Implement auth serializer 2018-10-19 16:20:56 +02:00
Davide De Rosa
a974646558 Add macros for replay packet id 2018-10-19 16:12:07 +02:00
Davide De Rosa
8a25cd8747 Merge branch 'prepare-tls-wrapping' 2018-10-19 16:11:50 +02:00
Davide De Rosa
66735ec118 Prepare API to enable TLS wrapping
Extensible TLSWrap parameter.
2018-10-19 16:11:35 +02:00
Davide De Rosa
51720c1fbc Split ControlPacket header/content serialization
rawSerializeTo: does not include opcode|session_id.
2018-10-19 16:11:35 +02:00
Davide De Rosa
372fa194a5 Parse indexed keys from StaticKey 2018-10-19 16:11:35 +02:00
Davide De Rosa
5c8c361fce Add StaticKey class for static OpenVPN keys 2018-10-19 16:11:35 +02:00
Davide De Rosa
aae3765db0
Merge pull request #33 from keeshux/handle-mixed-data-v1-v2
Handle mixed DATA_V1/V2
2018-10-19 16:10:32 +02:00
Davide De Rosa
ca192e46e6 Update CHANGELOG 2018-10-19 15:56:15 +02:00
Davide De Rosa
a85c4ea6da Rename packetId flag to more proper IV 2018-10-19 15:55:16 +02:00
Davide De Rosa
bff9352c6e Handle encryption/peer-id in a stateless manner
Fixes #30
2018-10-19 15:54:55 +02:00
Davide De Rosa
70b50a7a2e Parse data opcode when decrypting
Assume it could be DATA_V1/V2 regardless of peer-id.
2018-10-19 11:33:12 +02:00
Davide De Rosa
7c259bf40b Add badges/widgets to README 2018-10-19 02:47:47 +02:00
Davide De Rosa
96c1650f31 Set release date 2018-10-18 16:35:20 +02:00
Davide De Rosa
69e5921163
Merge pull request #32 from keeshux/restore-pia-patches
Restore PIA patches
2018-10-18 16:34:40 +02:00
Davide De Rosa
de4fa07b66 Update CHANGELOG 2018-10-18 16:25:42 +02:00
Davide De Rosa
961a30cade Update Demo with PIA patches flag
Remember to revert when testing a stock server.
2018-10-18 13:31:11 +02:00
Davide De Rosa
9b785084e2 Customize HARD_RESET payload when PIA-patched 2018-10-18 13:31:11 +02:00
Davide De Rosa
eb8a8b38c2 Restore PIA HARD_RESET code 2018-10-18 12:45:32 +02:00
Davide De Rosa
872e20a95a Add function to compute MD5 from certificate 2018-10-18 12:32:22 +02:00
Davide De Rosa
cc84653864 Update donations to Patreon 2018-10-13 14:56:58 +02:00
Davide De Rosa
11e9160acb Bump version again 2018-10-10 22:23:26 +02:00
Davide De Rosa
828796fbd1 Update CHANGELOG 2018-10-10 22:23:26 +02:00
Davide De Rosa
20d6d6747e Bump version
Take from command line, not file (unused after `1d3071b`).
2018-10-10 18:59:50 +02:00
Davide De Rosa
9488219c0b Merge branch 'review-documentation' 2018-10-10 18:54:20 +02:00
Davide De Rosa
d39446011e Reorganize README 2018-10-10 10:22:05 +02:00
Davide De Rosa
3f70c76e9c Fix cropped heading in CHANGELOG 2018-10-07 10:44:59 +02:00
Davide De Rosa
849f4e9de5 Update README for non-optional CA 2018-10-06 16:52:25 +02:00
Davide De Rosa
f5161a0c39
Merge pull request #28 from keeshux/review-optional-configuration
Review optional configuration
2018-10-06 16:49:00 +02:00
Davide De Rosa
441c9040b4 Fix trivial README bit 2018-10-06 16:22:02 +02:00
Davide De Rosa
24edc10858 Supply missing CA in demo 2018-10-06 16:22:02 +02:00
Davide De Rosa
ab050c6c00 Upgrade/fix demo project
- Target
- Pods
- Entitlements
- Swift 4.2
- License headers
2018-10-06 16:22:02 +02:00
Davide De Rosa
98c5a015f3 Split endpoint and credentials
Basically drop AuthenticatedEndpoint.
2018-10-06 16:22:02 +02:00
Davide De Rosa
40b733db57 Make credentials optional 2018-10-06 16:21:59 +02:00
Davide De Rosa
093774535d Make CA non-optional
Fix up nullability qualifiers in TLSBox.

Fixes #26
2018-10-06 15:53:22 +02:00
Davide De Rosa
d0a46fe20e Merge branch 'app-store-exception' 2018-09-29 10:23:25 +02:00
Davide De Rosa
5d868b9e59 Rearrange credits/acknowledgements 2018-09-29 10:21:47 +02:00
Davide De Rosa
d2d7783f24 Add App Store exception, credit Signal 2018-09-29 10:19:15 +02:00
Davide De Rosa
b1ed8e8671 Merge branch 'refine-some-logging' 2018-09-28 08:44:04 +02:00
Davide De Rosa
09210b727a Use compression framing description 2018-09-28 08:40:14 +02:00
Davide De Rosa
7b96247c72 Fix interpretation of 0 seconds
0 keep-alive = never
0 reneg seconds = never
2018-09-28 08:39:57 +02:00
Davide De Rosa
c4bfa12079 Update compatibility in README 2018-09-26 12:37:15 +02:00
Davide De Rosa
c1b62810ca Fix typo 2018-09-26 12:18:18 +02:00