Commit Graph

951 Commits

Author SHA1 Message Date
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
Davide De Rosa 24dabe2739 Set peer-info version from bundle
Omit build number for now, seems more complex than expected to
accomplish with CocoaPods.
2018-09-24 10:26:43 +02:00
Davide De Rosa 4cbf935dea Pick version from shared file
Reuse for podspec.
2018-09-24 10:26:43 +02:00
Davide De Rosa 657cb566cd Automate version/build numbers 2018-09-24 10:26:43 +02:00
Davide De Rosa ea3ad35757 Add proper changelog 2018-09-23 14:31:17 +02:00
Davide De Rosa d6958ed28d Revert LZO deprecation, still widely used 2018-09-23 14:23:52 +02:00
Davide De Rosa 23ce387b69
Merge pull request #23 from keeshux/sync-swifty-beaver
Sync with SwiftyBeaver queue
2018-09-23 14:15:29 +02:00
Davide De Rosa 58726a67d7 Update SwiftyBeaver for MemoryDestination
See for reference:

- https://github.com/pia-foss/tunnel-apple/pull/15
- https://github.com/SwiftyBeaver/SwiftyBeaver/pull/299
2018-09-23 14:14:25 +02:00
Davide De Rosa b2dba4822a Upgrade to Swift 4.2 (Xcode 10) 2018-09-22 10:11:19 +02:00
Davide De Rosa 668474d75c Indent negotiated parameters in log 2018-09-21 19:53:38 +02:00
Davide De Rosa 1ba7e73e9c Merge branch 'refactor-encryption' 2018-09-20 23:21:43 +02:00
Davide De Rosa cd923ea8c9 Test client/server asymmetrical crypto 2018-09-20 23:20:08 +02:00
Davide De Rosa 44fc38e8ef Rename encryption headers for consistency
The shared prefix makes it easier to associate them with
implementation files.
2018-09-20 09:03:33 +02:00
Davide De Rosa 600c93be55 Drop overheadLength, only used in one place 2018-09-20 09:03:33 +02:00
Davide De Rosa dd02c92aa5 Expose methods for capacity prediction
Encapsulate encrypt/decrypt buffer capacity calculation.
2018-09-20 09:03:33 +02:00
Davide De Rosa f6ee187db7 Use symbolic data header length 2018-09-20 09:03:33 +02:00
Davide De Rosa aa39414a77 Rename packet header to opcode (first byte) 2018-09-20 09:03:31 +02:00
Davide De Rosa fe92fcd91c Remove NSData versions from Encrypter/Decrypter
Move to test target. Conversely, bring ZeroingData.data extension
into main targets.
2018-09-20 09:01:44 +02:00
Davide De Rosa 9d6c7c846f Merge branch 'refactor-control-channel' 2018-09-20 09:01:23 +02:00
Davide De Rosa 1099d9adbf Improve control channel log readability
- Use consistent convention in id logging.
- Describe packet codes.
- Encapsulate packet logging.
2018-09-20 09:00:11 +02:00
Davide De Rosa ce94a594f9 Bring code/key deserialization into serializer
Duplicates first byte parsing but makes testing more meaningful,
because there's no need to provide a bogus code/key pair.
2018-09-20 08:59:50 +02:00