All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
bincode to postcard for serialization. The bincode
crate is no longer maintained. Note that this causes a binary
incompatibility with previous versions of the cmz crate. That is,
previous versions and this one will not interoperate.CMZCredential, skip the private key.
That way, you don't accidentally send the private key if the issuer
creates a credential completely on its own (not via a typical
credential issuing protocol) and sends it to the client. Thanks to
Morgan Hill from Radically Open Security.serialize_with_privkey and deserialize_with_privkey if you
explicitly do want to keep the private key when serializing a
CMZCredential (for example, if the issuer is saving a credential to
its own storage).set_keypair function to CMZ credentials. This function sets
both the private and public keys, without recomputing the public key
from the private key. Using this function saves computation when you
have both keys at hand.dump feature enables the corresponding dump feature of the
sigma_compiler crate.sigma-compiler version 0.2.0sigma_compiler macro. We need the generated statements to be
identical, not just equivalent (e.g., the same statements in a
different order) because the order of the elements in the proof
depends on the order of the statements.