Skip to content

Pre-Release 1.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@KyeMaloy97 KyeMaloy97 released this 14 May 13:14
· 14 commits to master since this release

Pre-Release: Version 1.0

Swift cross-platform RSA wrapper library for RSA encryption and signing. Works on supported Apple platforms (using Security framework). Linux (using OpenSSL) is working but is still a work in progress.

  • CryptorRSA: Utility functions for RSA encryption and signing. Pure Swift

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.12.0 (Sierra) or higher.
    ** (Note: to use PSS signing and verification requires macOS 10.13 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
    ** (Note: to use PSS signing and verification requires iOS 11.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

  • Work in progress
  • Ubuntu 16.04 (or 16.10 but only tested on 16.04 and 18.04).
  • One of the Swift Open Source toolchains 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

  • Added prerequisite that the libssl-dev package is required to be installed when building on Linux.
  • Minor license update.
  • Fixes for Linux running older versions of OpenSSL
  • Updates and fixes for Swift 4.1.2, which is now the default version
  • Updates for Xcode 10 to project.
  • Added support for CocoaPods.
  • Make Swift 4.2 the default compiler in project.
  • Swift 4.2 support. PR #25.
  • Make Swift 4.2 the default compiler in the podspec.
  • Fixed warning(s) on Linux as result of change to Swift 4.2.
  • Update recommendations to Swift 4.2 and Xcode 10.
  • Added support for OpenSSL 1.1.x as well as OpenSSL 1.0.x.
  • Added iOS deployment target to podspec. Fixes issue #27. PR #28.
  • Add full support for iOS 10.3 or higher.
  • Added CI support for building with Swift 5. PR #29.
  • Fixed bug in CryptorRSA.decrypted() function.
  • 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.
  • Fixed assorted memory leaks. PR #36.
  • Fixed crash when creating a public key using a base64 encoded string. PR #39.
  • Update CI support to use Swift 4.2.3. PR #43
  • Added functionality to make a key pair and pem string. PR #44.
  • Update to Swift 5.0. PR #45.
  • Added PSS sign/verify support for macOS 10.13 or higher and iOS 11.0 or higher and tvOS 11.0 or higher and watchOS 4.0 or higher. PR #46
  • Changed availability of APIs to require iOS 10.3 at a minimum for iOS builds. PR #48
  • Fixed warning due to new availability checks.
  • Add support for PKCS8 private keys on macOS. PR #49
  • Enable build on Xcode 11. PR #50
  • Enable compiling on MacOS Catalyst. PR #60