Commit Graph

471 Commits

Author SHA1 Message Date
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
Davide De Rosa 4ad88daec6 Fix OpenSSL version in README 2018-09-26 12:07:24 +02:00
Davide De Rosa 860dc7fe84 Merge branch 'release-metadata' 2018-09-26 12:05:04 +02:00
Davide De Rosa d68bbac566 Set 1.1.0 release date 2018-09-26 11:54:40 +02:00
Davide De Rosa 0d6959acd4 Mention keep-alive behavior in CHANGELOG 2018-09-26 11:54:40 +02:00
Davide De Rosa 03ac05b9cf Fix case in repository URL 2018-09-26 11:54:40 +02:00
Davide De Rosa 5ea81e5b32 Add Swift version to podspec 2018-09-26 11:54:40 +02:00
Davide De Rosa 1d3071bdc4 Set podspec version statically
Podspecs are standalone files.

Partially reverts 4cbf935dea.
2018-09-26 11:54:40 +02:00
Davide De Rosa 4582579d42
Merge pull request #25 from keeshux/drop-32bit-support
Drop 32-bit support and raise iOS target to 11
2018-09-26 11:53:59 +02:00
Davide De Rosa b0ff73df59 Add Gemfile to lock CocoaPods
Skip 1.5, has a few issues.
2018-09-26 11:52:39 +02:00
Davide De Rosa b348e456a5 Upgrade OpenSSL-Apple to raise iOS target to 11 2018-09-26 11:30:04 +02:00
Davide De Rosa ee017c0c6c Merge branch 'automate-versioning' 2018-09-24 10:28:50 +02:00