From 7892a123f7e8d0fe62f9f03728b17bbd4f94df5c Mon Sep 17 00:00:00 2001 From: Marcin Krzyzanowski Date: Mon, 8 Jan 2024 00:51:02 +0100 Subject: [PATCH] Release 1.8.1 --- CHANGELOG | 7 +++++++ CONTRIBUTORS.txt | 1 + CryptoSwift.podspec | 2 +- CryptoSwift.xcodeproj/project.pbxproj | 2 ++ README.md | 4 ++-- config/Project-Shared.xcconfig | 2 +- 6 files changed, 14 insertions(+), 4 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 3bd19564..bec5ff31 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,10 @@ +1.8.1 +- Update publicKeyDER to support exponent of any byte length +- Add SHA3 variants for RSA signature verification +- Throw error on unsupported calls, rather than call fatalError +- Update PKCS7 padding logic +- Add SDK Privacy Manifest - PrivacyInfo.xcprivacy + 1.8.0 - Add XChaCha20 and XChaCha20-Poly1305 (@zssz) diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index 4e26efa0..17f8a576 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -111,6 +111,7 @@ organizations who have contributed source code to CryptoSwift. - Tomasz Szulc - Tomasz Wierzbik - Valeriy Van +- WFrost3 <134406901+WFrost3@users.noreply.github.com> - Xavier Matos - Yannick Loriot - Yury Lapitsky diff --git a/CryptoSwift.podspec b/CryptoSwift.podspec index 76920476..43ac8af0 100644 --- a/CryptoSwift.podspec +++ b/CryptoSwift.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "CryptoSwift" - s.version = "1.8.0" + s.version = "1.8.1" s.source = { :git => "https://github.com/krzyzanowskim/CryptoSwift.git", :tag => "#{s.version}" } s.summary = "Cryptography in Swift. SHA, MD5, CRC, PBKDF, Poly1305, HMAC, CMAC, HDKF, Scrypt, ChaCha20, Rabbit, Blowfish, AES, RSA." s.description = "Cryptography functions and helpers for Swift implemented in Swift. SHA-1, SHA-2, SHA-3, MD5, PBKDF1, PBKDF2, Scrypt, CRC, Poly1305, HMAC, ChaCha20, Rabbit, Blowfish, AES, RSA" diff --git a/CryptoSwift.xcodeproj/project.pbxproj b/CryptoSwift.xcodeproj/project.pbxproj index a81fa202..95a1ba55 100644 --- a/CryptoSwift.xcodeproj/project.pbxproj +++ b/CryptoSwift.xcodeproj/project.pbxproj @@ -326,6 +326,7 @@ 75B3ED76210F9DF7005D4ADA /* BlockDecryptor.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BlockDecryptor.swift; sourceTree = ""; }; 75B3ED78210FA016005D4ADA /* BlockEncryptor.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BlockEncryptor.swift; sourceTree = ""; }; 75C2E76C1D55F097003D2BCA /* Access.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Access.swift; sourceTree = ""; }; + 75C454012B4B6EBC00FC5020 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = Sources/CryptoSwift/PrivacyInfo.xcprivacy; sourceTree = ""; }; 75D7AF37208BFB1600D22BEB /* UInt128.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UInt128.swift; sourceTree = ""; }; 75EC52381EE8B6CA0048EB3B /* AES.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AES.swift; sourceTree = ""; }; 75EC52391EE8B6CA0048EB3B /* Array+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Array+Extension.swift"; sourceTree = ""; }; @@ -530,6 +531,7 @@ 754BE44B19693E190098E6F3 = { isa = PBXGroup; children = ( + 75C454012B4B6EBC00FC5020 /* PrivacyInfo.xcprivacy */, 75843E9A2072457A0050583A /* config */, 75EC52361EE8B6CA0048EB3B /* Sources */, 754BE46419693E190098E6F3 /* Tests */, diff --git a/README.md b/README.md index 4d2cc3bb..c24c8ffd 100644 --- a/README.md +++ b/README.md @@ -131,7 +131,7 @@ It is recommended to enable [Whole-Module Optimization](https://swift.org/blog/w You can use [Swift Package Manager](https://swift.org/package-manager/) and specify dependency in `Package.swift` by adding this: ```swift -.package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", .upToNextMajor(from: "1.8.0")) +.package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", .upToNextMajor(from: "1.8.1")) ``` See: [Package.swift - manual](https://blog.krzyzanowskim.com/2016/08/09/package-swift-manual/) @@ -143,7 +143,7 @@ Notice: Swift Package Manager uses debug configuration for debug Xcode build, th You can use [CocoaPods](https://cocoapods.org/pods/CryptoSwift). ```ruby -pod 'CryptoSwift', '~> 1.8.0' +pod 'CryptoSwift', '~> 1.8.1' ``` Bear in mind that CocoaPods will build CryptoSwift without [Whole-Module Optimization](https://swift.org/blog/whole-module-optimizations/) that may impact performance. You can change it manually after installation, or use [cocoapods-wholemodule](https://github.com/jedlewison/cocoapods-wholemodule) plugin. diff --git a/config/Project-Shared.xcconfig b/config/Project-Shared.xcconfig index efecabc9..58c74961 100644 --- a/config/Project-Shared.xcconfig +++ b/config/Project-Shared.xcconfig @@ -1,4 +1,4 @@ -MARKETING_VERSION = 1.8.0 +MARKETING_VERSION = 1.8.1 SUPPORTED_PLATFORMS = iphonesimulator iphoneos macosx appletvos watchos appletvsimulator watchsimulator