swift-crypto

Open-source implementation of a substantial portion of the API of Apple CryptoKit suitable for use on Linux platforms.

APACHE-2.0 License

Stars
1.5K
Committers
40

Bot releases are visible (Hide)

swift-crypto - Swift Crypto 2.2.0

Published by Lukasa almost 2 years ago

SemVer Minor

  • Update Swift Crypto for the Ventura API (#123)
  • Raise minimum supported Swift version from 5.4 to 5.5 (#131)

SemVer Patch

  • truncating for big contentLength (#119, patch credit to @d-date)
  • Fix ASN.1 serialization when content greater than or equal to 128 bytes (#120, patch credit to @swiftty)
  • Crypto: explicitly type the array slice (#122, patch credit to @compnerd)
  • Make BoringSSL wrapper match CryptoKit behaviour when working with x9.63 (#128)
  • Provide AES-GCM-SIV in CryptoExtras (#133)
  • Update BoringSSL to 0faffc7a30eeb195248ea43056f4848e2a9b1c6d (#121, #132, #134)

Other Changes

  • Update Python script to Python 3 (#117, patch credit to @0xTim)
  • build: use cctols ranlib on Darwin (#129, patch credit to @edymtt)
  • Use 5.7 nightlies (#118)
  • Validate missing imports in CI (#127)
swift-crypto - Swift Crypto 2.1.0

Published by Davidde94 over 2 years ago

SemVer Minor

  • Drop support for Swift 5.2 and 5.3 (#111)

SemVer Patch

  • Avoid unnecessary copies of BoringSSL (#94)
  • Update BoringSSL to f961de5c47ed265c3e758ec70dd15ece20809962 (#115)

Other Changes

  • Use SPM API diff checker (#112)
swift-crypto - Swift Crypto 2.0.5

Published by Lukasa over 2 years ago

SemVer Patch

  • Update BoringSSL to 8bbefbfeee609b17622deedd100163c12f5c95dc (#110)
  • Attempt to work around some linker issues on Darwin (#105)

Other changes

  • CI updates (#103) (#108)
swift-crypto - Swift Crypto 1.1.7

Published by Lukasa over 2 years ago

SemVer Patch

  • Backport "build: attempt to workaround linker issues on Darwin" (#105) (#106) (patch credit to @compnerd)
swift-crypto - Swift Crypto 2.0.4

Published by glbrntt almost 3 years ago

SemVer Patch

  • Update BoringSSL to 295b31324f8c557dcd3c1c831857e33a7f23bc52 (#101)

Other Changes

  • Update doc generation script (#100)
swift-crypto - Swift Crypto 2.0.3

Published by Lukasa almost 3 years ago

Semver Patch

  • Update BoringSSL to 2042972e8458833714bce23386931b1c79978439 (#97)
swift-crypto - Swift Crypto 2.0.2

Published by Lukasa almost 3 years ago

SemVer Patch

  • Update BoringSSL to 3a667d10e94186fd503966f5638e134fe9fb4080 (#96)
swift-crypto - Swift Crypto 2.0.1

Published by Lukasa almost 3 years ago

Semver Patch

  • Update BoringSSL to a9670a8b476470e6f874fef3554e8059683e1413 (#95)

Other changes

  • Update to Swift 5.5 release in CI (#92)
  • Update the README to cover a wider version range (#93)
swift-crypto - Swift Crypto 2.0.0

Published by Lukasa about 3 years ago

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" ..< "3.0.0" is the recommended version range.

Semver Major

  • Update to the 2021 CryptoKit API (#86)

Semver Patch

  • Dropped support for Swift 5.1 (#84)
  • Fix build on 32-bit platforms (#85, patch credit to @buttaface)
  • Fixed CMake build on Android (#81)
  • Support compressed EC keys. (#87)
  • Reduce repeated indexing in tests (#90) (patch credit to @Cyberbeni)
  • Update BoringSSL to 25773430c07075a368416c3646fa4b07daf4968a (#88, #91)

Other Changes

  • Add SECURITY.md file (#83)
  • Fix CI build (#89)
swift-crypto - Swift Crypto 2.0.0-beta.2

Published by Lukasa about 3 years ago

Semver Patch

  • Reduce repeated indexing in tests (#90) (patch credit to @Cyberbeni)
  • Update BoringSSL to 25773430c07075a368416c3646fa4b07daf4968a (#91)
swift-crypto - Swift Crypto 2.0.0-beta.1

Published by Lukasa about 3 years ago

Semver Major

  • Update to the 2021 CryptoKit API (#86)

Semver Patch

  • Dropped support for Swift 5.1 (#84)
  • Fix build on 32-bit platforms (#85, patch credit to @buttaface)
  • Fixed CMake build on Android (#81)
  • Support compressed EC keys. (#87)
  • Update BoringSSL to 2e68a05c9943a8dec1758d4a393b2ae906fd3295 (#88)

Other Changes

  • Add SECURITY.md file (#83)
  • Fix CI build (#89)
swift-crypto - Swift Crypto 1.1.6

Published by Lukasa over 3 years ago

SemVer Patch

  • Update BoringSSL to 04b3213d43492b6c9e0434d8e2a4530a9938f958 (#79)
swift-crypto - Swift Crypto 1.1.5

Published by Lukasa over 3 years ago

Semver Patch

  • Include assembly files on aarch64 Cmake builds on Apple platforms (#78)

Other changes

  • Stop referring to no-longer-existing master branch in BUG_REPORT.md (#75, patch credit to @MaxDesiatov)
swift-crypto - Swift Crypto 1.1.4

Published by Lukasa over 3 years ago

Semver Patch

  • Added CMake as a build system for SwiftPM. (#60, #65, #70, #67, #69, #71, patch credit to @yim-lee and @compnerd)
  • Updated BoringSSL to bb43a45d6de7375f3310511d37f040d1055f8a10 (#66)

Other Changes

  • Added RNG testing on Windows (#61, patch credit to @compnerd)
  • Made the language in the repo more welcoming (#63, patch credit to @fabianfett)
  • Cleaned up some typos (#64, patch credit to @tremblay, #72, patch credit to @yim-lee)
swift-crypto - Swift Crypto 1.1.3

Published by Lukasa almost 4 years ago

Semver Patch

  • Enable building on Windows. (#55, #53, #56, #57) (Patch credit to @compnerd)
  • Update BoringSSL to 9dae0ac4f0ae18ebed988d36bfb4c4e4023fc574. (#54)
swift-crypto - Swift Crypto 1.1.2

Published by Lukasa about 4 years ago

Semver Patch

  • Silence a compiler warning on Linux. (#52, patch credit to @YOCKOW)
swift-crypto - SwiftCrypto 1.1.1

Published by Lukasa about 4 years ago

Semver Patch

  • Updated BoringSSL to 67818bea6690a230e2f42e8a588e0f54949bbbf1 (#50)

Other

  • Moved development to the main branch. (#49)
swift-crypto - Swift Crypto 1.1.0

Published by Lukasa about 4 years ago

Semver Minor

  • Support for PEM/DER serialisation for asymmetric key types.
  • Support for HKDF expand/extract.
  • Brings API up to date with iOS 14.

Semver Patch

  • Updated to BoringSSL 54858b63c1d886f6c8d903d4a4f594f1485de189. (#47)
  • Updated ECDSA signature code to use pure-Swift ASN.1 parsing/serialization.
  • Fixed test running on Android. (#41) (patch credit to @buttaface)
  • Documentation improvements. (#42, #44) (patch credit to @0xTim)
swift-crypto - Swift Crypto 1.1.0 RC 2

Published by Lukasa about 4 years ago

Semver Patch

  • Updated ECDSA signature code to use pure-Swift ASN.1 parsing/serialization. (#46)
  • Fixed test running on Android. (#41) (patch credit to @buttaface)
  • Updated to BoringSSL 54858b63c1d886f6c8d903d4a4f594f1485de189. (#47)
  • Documentation improvements. (#42, #44) (patch credit to @0xTim)

Please note that this release is a release-candidate. We will be shipping release candidates all the way until the final release of the Apple platform SDKs this fall. These are deliberately excluded from the regular semantic versioning scheme as these APIs remain subject to change, just as they are on Apple's platform SDKs.

swift-crypto - Swift Crypto 1.1.0 RC 1

Published by Lukasa over 4 years ago

Semver Minor

  • Support for PEM/DER serialisation for asymmetric key types.
  • Support for HKDF expand/extract.
  • Brings API up to date with WWDC seed of Apple platforms.

Please note that this release is a release-candidate. We will be shipping release candidates all the way until the final release of the Apple platform SDKs this fall. These are deliberately excluded from the regular semantic versioning scheme as these APIs remain subject to change, just as they are on Apple's platform SDKs.