Browse Source

Release 1.8.1

Marcin Krzyzanowski 1 year ago
parent
commit
cfd1028573
6 changed files with 14 additions and 4 deletions
  1. 7 0
      CHANGELOG
  2. 1 0
      CONTRIBUTORS.txt
  3. 1 1
      CryptoSwift.podspec
  4. 2 0
      CryptoSwift.xcodeproj/project.pbxproj
  5. 2 2
      README.md
  6. 1 1
      config/Project-Shared.xcconfig

+ 7 - 0
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)
 

+ 1 - 0
CONTRIBUTORS.txt

@@ -111,6 +111,7 @@ organizations who have contributed source code to CryptoSwift.
 - Tomasz Szulc <mail@szulctomasz.com>
 - Tomasz Wierzbik <twierzbik@msn.com>
 - Valeriy Van <github@w7software.com>
+- WFrost3 <134406901+WFrost3@users.noreply.github.com>
 - Xavier Matos <matos.xav@gmail.com>
 - Yannick Loriot <yannick.loriot@gmail.com>
 - Yury Lapitsky <yury.lapitsky@gmail.com>

+ 1 - 1
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"

+ 2 - 0
CryptoSwift.xcodeproj/project.pbxproj

@@ -326,6 +326,7 @@
 		75B3ED76210F9DF7005D4ADA /* BlockDecryptor.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BlockDecryptor.swift; sourceTree = "<group>"; };
 		75B3ED78210FA016005D4ADA /* BlockEncryptor.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BlockEncryptor.swift; sourceTree = "<group>"; };
 		75C2E76C1D55F097003D2BCA /* Access.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Access.swift; sourceTree = "<group>"; };
+		75C454012B4B6EBC00FC5020 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = Sources/CryptoSwift/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
 		75D7AF37208BFB1600D22BEB /* UInt128.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UInt128.swift; sourceTree = "<group>"; };
 		75EC52381EE8B6CA0048EB3B /* AES.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AES.swift; sourceTree = "<group>"; };
 		75EC52391EE8B6CA0048EB3B /* Array+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Array+Extension.swift"; sourceTree = "<group>"; };
@@ -530,6 +531,7 @@
 		754BE44B19693E190098E6F3 = {
 			isa = PBXGroup;
 			children = (
+				75C454012B4B6EBC00FC5020 /* PrivacyInfo.xcprivacy */,
 				75843E9A2072457A0050583A /* config */,
 				75EC52361EE8B6CA0048EB3B /* Sources */,
 				754BE46419693E190098E6F3 /* Tests */,

+ 2 - 2
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.

+ 1 - 1
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