Skip to content

Latest commit

 

History

History
74 lines (54 loc) · 3.1 KB

CHANGELOG.md

File metadata and controls

74 lines (54 loc) · 3.1 KB

SwiftyRSA Changelog

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 to migrate code from 0.x versions of SwiftyRSA.

  • Migrated source code to Swift 3.0
  • Don't reduce maxmim blocksize when padding is None #29
  • 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
  • Added digital signature creation & verification support. #7
  • Fixed compiler warnings for Carthage. #8
  • Added Carthage support. #3
  • Added NSData encryption/decryption.
  • Fixed a bug where SwiftyRSA couldn't encrypt/decrypt data which length was bigger than the RSA key block size. #6
  • Added support for headerless RSA public keys, improved public key header parsing function. #2
  • Added Objective-C support.
  • Added instructions to create public/private keys using ssh-keygen.
  • Fixed swift 3 compiler warnings. #4
  • SwiftyRSA is now unit tested on each commit with Travis CI.
  • Unit tests now run against the SwiftyRSA framework, and not the actual sources, which makes sure all required methods are public.

Initial release.