Skip to content

Latest commit

 

History

History
85 lines (60 loc) · 2.82 KB

RELEASE.md

File metadata and controls

85 lines (60 loc) · 2.82 KB

Cryppo Release Notes

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Given a version number MAJOR.MINOR.PATCH, increment the:

MAJOR version when you make incompatible API changes MINOR version when you add functionality in a backwards-compatible manner PATCH version when you make backwards-compatible bug fixes

[0.6.0] - 2021-01-25

  • dropped support for legacy format (yaml)
  • added hard limit to data which can be signed with RSA signature to 512 bytes
  • added explicit check against base64 RFC 2045 encoding, rendering it as incompatible (the only supported base64 is a URL safe variant)

[0.5.2] - 2020-11-30

  • Added required forwardable clause to enforce initialization of EncryptedDataWithDerivedKey::Forwardable

[0.5.1] - 2020-06-19

  • Added BSON based serialization as default format
  • Added compatibility test for different Cryppo ports e.g Cryppo-js
  • Supports legacy serialization for backward compatibility

[0.4.1] - 2010-03-18

  • RSA signing an verifying

[0.4.0] - 2019-10-21

  • RSA signing an verifying

[0.3.0] - 2018-10-05

Added

  • Added serialization and deserialization of encrypted data
  • Updated README with serialization instructions

Fixed

  • Fix misspelled error message in EncryptionKey#raise_serialization_error
  • Fixed spelling of UnsupportedKeyDerivationStrategy

[0.3.0] - 2018-12-21

Fixed

  • When using the Pbkdf2Hmac derivation strategy, keys that are wrapped in EnryptionKey are now unwrapped to prevent the CoercionOfEncryptedKeyToString error being raised.

[0.2.1] - 2018-10-05

Fixed

  • Fixed wrong number of arguments being passed to EncryptionValues::EncryptedData in Cryppo.to_encrypted_data_value

[0.2.0] - 2018-10-04

Changed

  • EnryptionStrategy and KeyDerivationStrategy names are now derived from the class name (excluding the module name)

Fixed

  • Errors of type Cryppo::Error raised during an encryption/decryption operation no longer get reraised as EncryptionError or DecryptionError. As an example, attempting to encrypt a EncryptionValues::EncryptionKey should raise a CoercionOfEncryptedKeyToString error, however, it was being converted to an EncryptionError

[0.1.0] - 2018-10-04

Added

  • The initial implementation of the Cryppo lib. Includes:
    • Encryption strategies:
      • Aes256Gcm
      • Aes256Ofb
      • Rsa4096
    • Key derivation strategies:
      • Pbkdf2Hmac
    • Wrapper objects:
      • DerivedKey
      • EncryptedData
      • EncryptedDataWithDerivedKey
      • EncryptionKey
    • Basic encryption and decryption implementations:
      • Cryppo.encrypt
      • Cryppo.encrypt_with_derived_key
      • Cryppo.decrypt
      • Cryppo.decrypt_with_derived_key
      • Cryppo.generate_encryption_key
    • Basic rspec tests