Skip to content

Version 1.0

Compare
Choose a tag to compare
@billabt billabt released this 27 Feb 19:12
· 14 commits to master since this release

Version 1.0

Swift cross-platform crypto library derived from [IDZSwiftCommonCrypto]Swift cross-platform crypto library derived from IDZSwiftCommonCrypto.

IMPORTANT NOTE: This release is NOT entirely source code compatible with previous releases. There are instances where exceptions are thrown now instead of the framework calling fatalError(). This means that there are more recoverable errors in the library than before. The only time that fatalError() is called is to indicate either a programming error or a non-recoverable system error.

Note: On macOS and iOS, BlueCryptor uses the Apple provided CommonCrypto library. On Linux, it uses libcrypto from the OpenSSL project.

Prerequisites

Swift

  • Swift Open Source swift-4.0.0-RELEASE toolchain (Minimum REQUIRED for latest release)
  • Swift Open Source swift-5.0-RELEASE toolchain (Recommended)
  • Swift toolchain included in Xcode Version 10.2 (10E125) or higher.

macOS

  • macOS 10.11.6 (El Capitan) or higher.
  • Xcode Version 9.0 (9A325) or higher using one of the above toolchains.
  • Xcode Version 10.2 (10E125) or higher using the included toolchain (Recommended).

iOS

  • iOS 10.0 or higher
  • Xcode Version 9.0 (9A325) or higher using one of the above toolchains.
  • Xcode Version 10.2 (10E125) or higher using the included toolchain (Recommended).

Linux

  • Ubuntu 16.04 (or 16.10 but only tested on 16.04 and 18.04).
  • One of the Swift Open Source toolchain listed above.
  • OpenSSL is provided by the distribution. Note: 1.0.x, 1.1.x and later releases of OpenSSL are supported.

Changes since 1.0.0

  • Fixed warnings from Swift 4.1, added build support for 3.1.1 thru 4.1. PR #34.
  • Make Swift 4.1 the default compiler. Issue #35.
  • Support for Xcode 10 Beta. PR #38.
  • Added Swift 4.2 builds to CI.
  • Added scheme for building iOS version of BlueCryptor and made it shared. Issue #43.
  • Update README to specify libssl-dev as a requirement for building on Linux. Issue #42.
  • Minor license update.
  • Updates for Xcode 10 to project.
  • Swift 4.2 support. PR #46
  • Make Swift 4.2 the default compiler in project.
  • Revert (#46) to use OpenSSL module in 4.2 format. PR #47.
  • Update recommendations to Swift 4.2 and Xcode 10.
  • Added support for OpenSSL 1.1.x as well as OpenSSL 1.0.x.
  • Added CI support for building with Swift 5. PR #49.
  • Removed requirement of Swift 4.2 to support OpenSSL 1.1.x. OpenSSL 1.1.x is now supported using Swift 4.0, 4.1 and 4.2.
  • Update CI support to use Swift 4.2.3. PR #52
  • byteArray utility method will now return an empty array if the input array contains invalid hex digits. Note: This function previously resulted in a fatal error under these circumstances. PR #53. In a future release, this function will throw an exception when encountering invalid hex digits.
  • Update to Swift 5.0. PR #54.
  • Cleanup warnings on Linux. PR #57, #58.
  • Fixed warning showing up on Xcode 11. PR #60.
  • Add CI support for Xcode 11.
  • Fixed some linter warnings, update to Swift 5.1. PR #62