Up to [cvs.NetBSD.org] / pkgsrc / security / libdecaf
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
security/libdecaf: Update to v1.0.5
Changes since v1.0.3:
September 21, 2026:
* Fix a git snafu. Tagged as v1.0.4a. But on second thought (and
thoughts by Johan Pascal) maybe this version number will confuse
version control tools. Let's call it v1.0.5.
September 20, 2026:
* Fix an RFC compliance mistake reported by Ryan Culpepper.
RFC 7748 mandates that the last bit of an x25519 public key
u-coordinate be masked off, in case the protocol is using this for
something else. I have fixed this bug and added a test to verify
that it is fixed.
* Release v1.0.4.
security/libdecaf: Update to v1.0.3
Changes since v1.0.2:
No upstream release notes; changes derived from commit log.
* Allow long scalars to be null, mostly so that you can
deserialize a zero-length null scalar without causing UB.
* Signature context can be null.
* Fix runtime errors.
* Fix C++ test build with recent compilers.
* CMake improvements and add enable sanitizer option.
* Add SER_BYTES to gf_serialize prototype.
* Adjust comments in ristretto.sage.
* Indicate that x86 word_is_zero affects the carry flag.
* Test for subgroup membership in ed448 (sage).
* Document how to run tests.
security/libdecaf: Update to v1.0.2
Changes since v1.0.1:
July 13, 2022:
Fix a security bug and an issue.
Point::steg_encode was leaving the 24 high bits of the buffer as zero.
It also ignored the size parameter. The size parameter has now been
removed, the zeros fixed and a test added to make sure that it is fixed.
Per https://github.com/MystenLabs/ed25519-unsafe-libs, deprecate eddsa
signing with separate pubkey and privkey input. Instead decaf_ed*_keypair_sign.
Release v1.0.2.
security: Replace RMD160 checksums with BLAKE2s checksums All checksums have been double-checked against existing RMD160 and SHA512 hashes Unfetchable distfiles (fetched conditionally?): ./security/cyrus-sasl/distinfo cyrus-sasl-dedad73e5e7a75d01a5f3d5a6702ab8ccd2ff40d.patch.v2
security: Remove SHA1 hashes for distfiles
security/libdecaf: Updates to v1.0.1
- Build scripts now depend on the sourceforce git repository directly.
Changes since v1.0.0:
October 10, 2020:
A paper by Konstantinos Chalkias, François Garillot, and Valeria
Nikolaenko, to be found at:
https://eprint.iacr.org/2020/1244.pdf
discusses malleability in EdDSA implementations. Their test
vectors reveal unintentional malleability in libdecaf's version
of EdDSA verify, in violation of RFC 8032. With this malleability,
an attacker could modify an existing valid signature to create a
new signature that is still valid, but only for the same message.
Releave v1.0.1, correcting this flaw.
Additional changes generated from git commit logs:
- (tag: v1.0.1) Fix bug in ristretto elligator: it should be able to take improper field elements as input
- Fix malleability bug from https://eprint.iacr.org/2020/1244.pdf and add test vectors
- Optimize s^2 -> s2
- Dont double generator for Ed448RistrettoPoint
- Update ristretto.sage for python3. Also add Ed448RistrettoPoint for reference
- Add safer version of EdDSA signing API
- Fix issues when compiling on GCC 9.1
- Also remove X_SER_BYTES while were at it
- Remove gf_hibit, since it was a relic from p521 days
- Adds errno.eexist, remove hardcoded error value
- Tweak generated code message
- Fix flaky Python generator
- Add full RFC 8032 test vectors
- Change test scripts to avoid GCC warnings
- Minor changes. Bump version number in CMakeLists.txt
Import of libdecaf 1.0.0 as security/libdecaf Implementation of elliptic curve cryptography using the Montgomery and Edwards curves Curve25519, Ed25519, Ed448-Goldilocks and Curve448, using the Decaf / Ristretto encoding.