Skip to content

3.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 18 Oct 08:40
· 5 commits to develop since this release
3.0.0
3811cef
  • Changed minimum deployment targets to iOS 15 and macOS 12
  • Changed Masterkey.createFromRaw(rawKey:) to throw CryptoError.invalidParameter when the raw key isn't 64 bytes
  • Removed Base32 package dependency in favor of Data(base32Encoded:) and Data.base32EncodedString(), which decode like Java's Guava base32()
  • Removed options param from Data(base64UrlEncoded:) and base64UrlEncodedString(), and changed decoding to match Java's Guava base64Url()
  • Changed MasterkeyFile to throw instead of crashing on malformed input, and to reject scrypt parameters that aren't a power of 2 or would exceed the memory limit
  • Changed GCM authentication failures to throw CryptoError.unauthenticCiphertext
  • Changed key material handling to wipe every in-memory copy after use
  • Fixed crash in calculateCleartextSize(_:) for negative ciphertext sizes