All Versions
14
Latest Version
Avg Release Cycle
87 days
Latest Release
515 days ago

Changelog History
Page 1

  • v1.5.0

    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

    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

    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

    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

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

    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

    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.

  • v0.5.0

    September 20, 2016
    • Migrated source code to Swift 3.0
    • Don't reduce maxmim blocksize when padding is None #29
  • v0.4.0

    July 26, 2016
    • Add support for SHA2 (224,256,384 & 512 bits) digest algorithms
    • verifySHA1SignatureData & signSHA1Digest are now deprecated; use verifySignature() and signDigest()
    • Objective-C sign & verification functions now require a digestMethod: parameter
    • Added support to read multiple keys from an input file using publicKeysFromString(). #22
    • Added WatchOS and tvOS support. #23