Skip to content

Latest commit

 

History

History
348 lines (177 loc) · 19.2 KB

changelog.md

File metadata and controls

348 lines (177 loc) · 19.2 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.21.1 (2024-05-09)

Features

Bug Fixes

  • reject identity keys and commitments in signatures (#217) (e755b26)

0.20.0 (2023-12-06)

Features

  • Upgrade borsh to 1.2 official
  • Add std feature flag to add std support.

0.19.0 (2023-11-02)

⚠ BREAKING CHANGES

  • Changes the commitment and secret key APIs.
  • This changes the way that scalars are produced from byte arrays, modifies the SecretKey trait and corresponding RistrettoSecretKey implementation, and updates the Schnorr signature API.

Features

Bug Fixes

0.18.0 (2023-08-10)

⚠ BREAKING CHANGES

  • enable no_std support for tari_crypto (#191)
  • move the WASM and FFI builds to seperate Repos (#193)

Features

0.17.0 (2023-06-13)

⚠ BREAKING CHANGES

  • expose secret key length as a constant (#181)

Features

  • expose secret key length as a constant (#181) (90ad63d)

0.16.12 (2023-04-13)

Features

0.16.9 (2023-04-03)

Features

0.16.8 (2023-03-09)

Features

  • add partialeq and eq trait derivation to domain separated hasher (#169) (00f5975)

0.16.7 (2023-03-08)

Features

  • add missing methods to Commitment signature (#167) (e43fb45)
  • qual of life improvements for pubkey display (#164) (1a71aff), closes #68

Bug Fixes

0.16.6 (2023-01-04)

Features

  • deterministic pseudorandom operations (#140) (306cf1b)
  • use pre-computation tables for extended commitment factory with extension degree = 1 (#158) (0d816e4)

Bug Fixes

0.16.5 (2022-11-24)

Features

0.16.4 (2022-11-24)

Bug Fixes

0.16.3 (2022-11-23)

Features

Bug Fixes

  • remove 2 unnecessary allocations in batch_mul (#154) (ea33445)

0.16.2 (2022-11-21)

Features

0.16.1 (2022-11-17)

0.16.0 (2022-11-14)

⚠ BREAKING CHANGES

  • improve signature api (#145)

Features

Bug Fixes

0.15.7 (2022-10-27)

Features

  • add Zeroize support to key types, and create new shared secret type (#137) (532ccc0)
  • add deepsource config (c658619)
  • add new commitment signature to use complete representation proof (#131) (e02fa0f)
  • use precomputation for default commitments (#136) (acdcee6), closes #135

Bug Fixes

  • include wasm features only if required (#134) (8b77df3)

0.15.6 (2022-10-04)

Features

0.15.5 (2022-08-29)

Features

  • hashing: eager implement common traits (#129) (3f72eb6)

Bug Fixes

  • zeroize temp fields during serializing (#126) (e13c556)

0.15.4 (2022-08-03)

  • Removed trailing dot in domain tag if an empty label is provided to DomainSeparatedHasher::new_with_label

0.15.3 (2022-07-28)

Features

  • synchronize the standard digest new() with domain separated hasher::new() (#123) (2f86219)

0.15.0 (2022-07-04)

⚠ BREAKING CHANGES

BREAKING CHANGE: Blake256 no longer re-exposed under the common mod and must be imported as hash::blake2::Blake256 BREAKING CHANGE: avx2 and simd features have been removed. Use simd_backend instead BREAKING CHANGE: macros mod is now private BREAKING CHANGE: Various constants have been made private BREAKING CHANGE: DalekRangeProofService moved from ristretto::dalek_range_proof to ristretto BREAKING CHANGE: ristretto_com_sig and ristretto_sig mods have been made private. The structs and methods inside were already re-exposed under ristretto

Features

Bug Fixes

0.14.0 (2022-06-24)

⚠ BREAKING CHANGES

    • any project based on a specific commitment in tari_crypto needs to be updated, as a commitment for the same value and blinding factor will now yield a different commitment. This was a necessary change as as described below.

Features

0.13.3 (2022-06-23)

Features

0.13.2 (2022-06-15)

Features

0.13.1 (2022-06-13)

Features

  • add extended ristretto commitment factory and pedersen generators (#99) (9a579f6)

0.13.0 (2022-04-29)

⚠ BREAKING CHANGES

  • changes method signature of RistrettoComSig::sign to pass in references (#91)

Bug Fixes

0.12.2 (2022-03-25)

Bug Fixes

  • lock bulletproof repo to correct version (4650715)

0.12.1 (2022-03-14)

Features

  • allow custom hash parameters to be specified (#84) (5b412d0)

Bug Fixes

  • ci: fix invalid env syntax (#79) (053e64e)
  • code coverage only works on nightly (#78) (a3ceaa9)
  • ensure ExecutionStack cannot exceed MAX_STACK_SIZE (#65) (1b74d94)

0.11.0 (2021-09-06)

General

  • All dependencies to use the digest 0.9 traits and APIs.

Clients of this generally only need to update the result method to finalize; and obviously make use of the v0.9 digest::Digest trait where necessary.

As a result, the deprecated k12, sha3 and Blake3 objects have been removed. Methods and functins that need a hasher are all generic over Digest.

We retain the convenience wrapper over VarBlake2B to produce 256 bit hashes and implement the necessary sub-traits to support digest::Digest.

Bug Fixes

  • remove extra compress call during pubkey::deserialize (#56) (8864b5a2)

0.10.0 (2021-07-05)

  • Support stable rust

Updated dependencies such that Rust stable 1.53 is now supported. The optimised avx_2 option will NOT rust on stable because there's still an unstable feature on subtle-ng. BUT this feature is actually for doc generation and has been removed from Rust. As soon as subtle-ng merges dalek-cryptography/subtle#85, avx2 will probably be supported on stable as well.

0.2.0 (2020-02-07)

General

  • WASM and crate version now match. Eliminate that confusion.

WASM module

  • Breaking change: KeyRing.sign doesn't take a nonce any more. It's not needed, and why risk someone re-using it?
  • New method: key_utils.sign to sign keys not in the key ring
  • New module: Commitments