|
|
@@ -5,6 +5,24 @@ All notable changes to this project will be documented in this file.
|
|
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
|
|
|
+## [0.4.2] - 2026-11-12
|
|
|
+
|
|
|
+### Fixes
|
|
|
+
|
|
|
+- The `P` value in the MAC of a credential was previously being marked
|
|
|
+ unconditionally as `cind` (a computationally independent point, for
|
|
|
+ which the client does not know its relative discrete log to any linear
|
|
|
+ combination of other `cind` points). While this is usually correct,
|
|
|
+ it is _not_ true when the credential is "incomplete"; that is, marked
|
|
|
+ by `?` in the CMZ statement (see the `P?` credential in
|
|
|
+ [tests/rate_limiting.rs](tests/rate_limiting.rs), for example).
|
|
|
+ Incomplete credentials are not expected to have valid MACs at all, and
|
|
|
+ so their `P` values can be freely chosen by the client. The previous
|
|
|
+ assumption that the `P` value was `cind` thus led to unsound protocols
|
|
|
+ in some cases involving such incomplete credentials. The fix is to no
|
|
|
+ longer mark `P` as `cind` for incomplete credentials. Thanks to Lloyd
|
|
|
+ Fournier of Frostsnap for the report.
|
|
|
+
|
|
|
## [0.4.1] - 2026-11-10
|
|
|
|
|
|
### Fixes
|
|
|
@@ -103,6 +121,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
|
|
|
- Initial release
|
|
|
|
|
|
+[0.4.2]: https://git-crysp.uwaterloo.ca/SigmaProtocol/cmz/src/0.4.2
|
|
|
[0.4.1]: https://git-crysp.uwaterloo.ca/SigmaProtocol/cmz/src/0.4.1
|
|
|
[0.4.0]: https://git-crysp.uwaterloo.ca/SigmaProtocol/cmz/src/0.4.0
|
|
|
[0.3.0]: https://git-crysp.uwaterloo.ca/SigmaProtocol/cmz/src/0.3.0
|