JWSETKit Versions Save

A kit to create, sign and verify a JWT or JWS object

0.19.0

2 weeks ago
  • feat: Support compression in non Apple platforms
  • feat: Add strict parameter to verify signature when algorithm header is not protected
  • feat: JWK thumbprint URI
  • feat: Arabic, Spanish and French error message translations
  • fix: PBES2 encryption/decryption failed
  • fix: JWE's AAD authentication
  • fix: Decoding issue when JWE protected header is empty
  • fix: Find appropriate JWE key for ECDH-ES
  • fix: JWS encode when protected header is empty
  • fix: JWS multiple signature
  • fix: JWK parsing using AnyJSONWebKey throws error
  • fix: JWS decode failure when protected header or payload is empty
  • fix: JWS detached payload encode/decode issue
  • test: RFS7520 signature test scenarios
  • test: RFC 7920 Encryption tests for ECDH-ES
  • chore: Reimplemented synchronization
  • chore: Direct (dynamicMember) getter/setter for ReadWriteLockedValue
  • chore: Direct (dynamicMember) getter/setter for TypedProtectedWebContainer/JSONProtectedWebContainer
  • chore: Create SECURITY.md

0.18.0

4 weeks ago
  • feat: JWK/SPKI thumbprint digest calculation
  • fix: SPKI and PKCS8 encoding errors
  • fix: AES KeyWrap by CommonCrypto (iOS 14)
  • fix: Changeable RSA thumbprint by changing exponent
  • fix: Crash when parsing EC keys using SecKey
  • chore: Update docker file to use Swift 5.10

0.17.0

1 month ago
  • feat: Add subscript accessor to get/set localizable JWT claims
  • !feat: Remove global locale settings
  • fix: HMAC and Private key constant-time comparison
  • fix: Workflow build issue
  • chore: Fix concurrency warnings in Swift 5.10
  • chore: Operator for safeEqual function
  • chore: Remove DocC github workflow

0.16.0

1 month ago
  • feat: Pluggable AnyJSONWebKey parser
  • feat: Custom parser for added key classes in AnyJSONWebKey
  • !chore: Rename JSONWebKeySymmetricPortable to JSONWebKeySymmetric
  • fix: Direct encryption algorithm name

0.15.0

2 months ago
  • feat: Support ECDH-ES and ECDH-ES+AxxxKW methods for JWE
  • feat: AnyJSONWebKey to handle import and export
  • feat: Allow to define content key encryptor for JWE
  • fix: Key validation
  • fix: AES-GCM encrypt/decrypt incorrect calls
  • fix: Force JWS/JWE string conversion to use compact representation
  • !chore: ephemeralKey type changed to AnyJSONWebKey to avoid compiler edge cases
  • !chore: specialized() returns itself and won't throw exception anymore
  • chore: Change IV field name to nonce to match Cipher protocol
  • chore: Custom JSON encoder to not escape slash
  • chore: Lint and fixing sonar issues
  • docs: Readme sonar badges

0.14.0

3 months ago
  • feat: Key import and export in raw, SPKI, PKCS8 and JWK formats
  • feat: Support decoding key when only x5c exists
  • fix: x5t must be base64url
  • fix: RSA-OAEP-SHA256 encryption on Linux
  • fix: X509Cetrificate public key creation
  • fix: JSONWebKey validation for OKP type
  • chore: JSONWebValueStorage subscription methods to conform Codable
  • chore: Refactor key length calculation
  • chore: StorageField for serialize/deserialize JWS/JWE values
  • chore: Add code of conduct
  • chore: Privacy info for Appstore

0.13.0

4 months ago
  • feat: Support OKP (RFC-8037) for Ed25519
  • feat: Normalizing JSONWebContentType (make shortened)
  • fix: EdDSA parsing
  • chore: JWKS conform to Collection
  • chore: keyOperation and keyUsage's new raw value types
  • chore: Add JWKS tests
  • tests: Add EC tests

0.12.0

4 months ago
  • feat: Create JWK-RSA key with given bits
  • fix: Compression issue with large data
  • fix: Localization on linux
  • fix: EdDSA JWK coordinates (no y coordinate should be set)
  • chore: RSA, Compression tests
  • chore: RawRepresentable code deduplication
  • chore: EC key storage creation logic improvement
  • chore: Compiler flag refinements

0.11.0

5 months ago
  • fix: RSA-PKCS1.5 on Linux
  • fix: Certificate.PublicKey RSA parsing
  • refactor: AES-CBC use CommonCrypto instead of CryptoExtras
  • rafactor: Minor optimization on DataProtocol usage and conversion
  • chore: Formatting improving and removing force unwraps
  • chore: SecKey initializer from DER (PKCS1, PKCS8 for RSA and X963 for EC)
  • chore: Rename rawRepresntation to externalRepresentation
  • build: BoringSSL is now only built when CommonCrypto is unavailable
  • chore: Fixed sonar errors

0.10.0

6 months ago

What's Changed

  • feat: Support compression using deflate (Apple only)
  • fix: Race conditions
  • fix: Issues related to signing with SecKey
  • fix: Linux test cases
  • fix: Secure enclave keys in usage causes crash
  • chore: Initialize key with algorithm
  • chore: Better Codebeat score

New Contributors

Full Changelog: https://github.com/amosavian/JWSETKit/compare/0.9.0...0.10.0