Skip to content

Releases: apple/swift-crypto

Swift Crypto 3.5.1

02 Jul 19:32
c370ad8
Compare
Choose a tag to compare

SemVer Patch

  • build: Add missing prefix to BoringSSL delete_if stack symbols (#245)

Swift Crypto 3.5.0

27 Jun 14:45
33f65a3
Compare
Choose a tag to compare

SemVer Minor

  • extras: Add APIs for RSA Blind Signatures (#232)

SemVer Patch

  • add support for riscv64 (#240, patch credit to @futurejones)
  • Move ArbitraryPrecisionInteger type to CryptoBoringWrapper module (#236)
  • Change inclusiveMin param of ArbitraryPrecisionInteger.random from UInt64 to UInt (#242)

Other Changes

  • Fix broken DataProtocol.hexString test utility (#230)
  • update README recommended versions (#233)

Swift Crypto 3.4.0

09 May 17:56
bc1c292
Compare
Choose a tag to compare

SemVer Minor

  • Update lower bound for RSA key sizes (#218, patch credit to @ptoffy)

SemVer Patch

  • Add empty privacy manifest files (#226)
  • Use BoringSSL implementation for _CryptoExtras.AES._CTR (#229)

Swift Crypto 3.3.0

12 Mar 11:05
f0525da
Compare
Choose a tag to compare

SemVer Minor

  • Add support for AES CTR mode in _CryptoExtras (#220)
  • Raise minimum Swift version to 5.7 (#221)

SemVer Patch

  • Remove dtls1.h as part of removing libssl (#217, patch credit to @davidben)
  • Update BoringSSL to dbad745811195c00b729efd0ee0a09b7d9fce1d2 (#222)

Other Changes

  • Documentation: Update macOS development instructions (#216, patch credit to @coldjugular)

Swift Crypto 3.2.0

09 Jan 08:11
cc76b89
Compare
Choose a tag to compare

SemVer Minor

  • Add pkcs8PEMRepresenation for RSA private keys (#203, patch credit to @bjhomer)
  • Add support for CBC without padding (#210, patch credit to @lovetodream)
  • Add support for RSA OAEP with SHA256 (#206)
  • Add Sendable annotations to Crypto Extras (#211, #214)

SemVer Patch

  • Add extern C markers (#204, patch credit to @brianmichel)
  • Update BoringSSLRSAPublicKey to use EVP_PKEY API (#205)
  • Update BoringSSL to 7a813621dac6878ab53b6ed7392939a8982226e8 (#207, #215)

Other Changes

  • Add cxx interop build pipeline (#212)
  • Update availability annotations in tests (#213)

Swift Crypto 3.1.0

04 Oct 14:32
b51f1d6
Compare
Choose a tag to compare

SemVer Minor

  • Add support for AES-CBC in _CryptoExtras (#200)
  • Bump minimum Swift version to 5.7 (#201)

Swift Crypto 3.0.0

20 Sep 09:06
629f0b6
Compare
Choose a tag to compare

The only meaningful breaking change in this release is the addition of new cases in the CryptoKitError enum. The overwhelming majority of users can and should express a wider version range than usual: "1.0.0" ..< "4.0.0" is the recommended version range.

SemVer Major

  • Update to CryptoKit 2023 final API (#199)

SemVer Patch

  • Set missing Windows defines (#197) (patch credit to @compnerd)
  • Use SecKeyGetBlockSize instead of kSecAttrKeySizeInBits (#198)

Swift Crypto 2.6.0

07 Aug 08:50
60f13f6
Compare
Choose a tag to compare

Semver Minor

  • Add API providing basic RSA pubkey encrypt and privkey decrypt (#125, #191, patch credit to @gwynne)

Semver Patch

  • Switch to canImport instead of os conditions (#184, #192)
  • Update BoringSSL to 7ae2b910c13017b63f1a8bd6c8decfce692869b0 (#190, #193)

Other changes

Swift Crypto 3.0.0-beta.1

13 Jun 17:34
c433cd3
Compare
Choose a tag to compare
Pre-release

While this adds a Semver Major, the only breaking changes are in error enumerations. Users are encouraged to support 3.x alongside 2.x and 1.x.

Semver Major

  • Update to the 2023 CryptoKit API (#181)

Other changes

  • Update code of conduct (#182)
  • Clean up documentation typos (#179) (patch credit to @joey-gm)

Swift Crypto 2.5.0

19 Apr 08:39
33a20e6
Compare
Choose a tag to compare

SemVer Minor

SemVer Patch

  • Drop support for Swift 5.5 (#172)

Other Changes