All Versions
16
Latest Version
Avg Release Cycle
142 days
Latest Release
-

Changelog History
Page 1

  • v1.7.0 Changes

    • Support of the X509 header for any public key.
    • Added tests for Xcode 12.
  • v1.6.0 Changes

    June 15, 2020
    • Migrated to minimum requirements of Swift 5.0 and Xcode 10.2.
  • v1.5.0 Changes

    September 21, 2018
    • Made compatible with Swift 4.2 and Xcode 10
    • Fixed a potential crash when building dictionaries with CFString values #107
      • ๐Ÿ›  Fixed getting SwiftyRSA.SwiftyRSAError.keyAddFailed(-50) error when the device is locked on iOS 8 / 9.
  • v1.4.0 Changes

    May 07, 2018
    • Fixed compilation warnings for Xcode 9.1 / 9.2.
    • Added support for Swift 4.1 and Xcode 9.3.
    • Added ability to generate a RSA key pair by using SwiftyRSA.generateRSAKeyPair. #106
  • v1.3.1

    March 06, 2018
  • v1.3.0 Changes

    October 12, 2017
    • Added Swift 3.2 and 4.0 support.
    • SwiftyRSAError is now exposed as an enum so that it can be introspected. #68
  • v1.2.0 Changes

    May 16, 2017
    • Breaking: SwiftyRSA ObjC was refactored under the hood to offer a better experience with both Swift and ObjC runtimes. To use SwiftyRSA with Objective-C use the following pod:
       pod 'SwiftyRSA/ObjC'
    
    - Other methods of integration โ€“ like Carthage โ€“ are unaffected.
    - In Swift, `ClearMessage.verify` now returns a boolean instead of a `VerificationResult`.
    
    • Fixed an issue that prevented private keys from loading if they contained an ASN1 header. #71
    • Fixed an issue that prevented public/private keys from loading if their integers were represented with an Octet String ASN1 node. #70
  • v1.1.1 Changes

    April 13, 2017
    • Fixed Carthage integration by running SwiftLint only if it exists in a Pods directory. #66 #65
  • v1.1.0 Changes

    April 11, 2017
    • PublicKey and PrivateKey now expose their keychain reference and the data they were created with, in the reference and originalData fields. #60
    • PublicKey and PrivateKey now have a method data() which returns the key data as exported by the keychain. #60
    • PublicKey and PrivateKey now can be exported to PEM via the pemString() method, or base64 via the base64String() method. #60
    • PublicKey and PrivateKey now can be created from a SecKey reference. #48
    • Fixed a bug that would pass a wrong bit size to SecKeyCreateWithData on iOS 10+. https://github.com/TakeScoop/SwiftyRSA/issues/58
  • v1.0.0 Changes

    February 02, 2017

    ๐Ÿ’ฅ Breaking changes

    For its 1.0 version, SwiftyRSA is getting an architecture overhaul to ensure separation of concerns and code clarity. We're introducing the following classes:

    • PublicKey/PrivateKey allow to extract a key from a PEM/DER/base64 string and now includes helpers like PublicKey(pemNamed: "public").
    • ClearMessage/EncryptedMessage represents a clear or encrypted message to process through the RSA algorithm.
    • Signature represents a message's signature that can be verified with a public key.

    We recommend to check out the new [usage instructions](./README.md) to migrate code from 0.x versions of SwiftyRSA.