Commit Graph
332 Commits
Author SHA1 Message Date
Kevin LewiandGitHub 22bcbfc821 Adding ml-kem re-export (#414) 2025-11-17 21:01:18 -08:00
Kevin LewiandGitHub 9b5eef4f8f Publishing v4.1.0-pre.0 (#413) 2025-11-12 13:49:39 -08:00
Kevin LewiandGitHub 8afec46637 Adding TripleDhKem key exchange (#404) 2025-11-08 14:21:51 -08:00
Kevin LewiandGitHub 67297dc73a Moving shared functionality out of TripleDh key exchange (#405) 2025-11-08 13:25:57 -08:00
Kevin LewiandGitHub 6d2af37a28 Deleting extraneous file (#412) 2025-11-04 11:38:21 -08:00
Kevin LewiandGitHub 96498709f4 Fixing rand dependency exporting (#411) 2025-11-03 14:31:59 -08:00
Kevin LewiandGitHub 75fe4cdddb Fixing docs build + publishing 4.0.1 (#409) 2025-10-30 17:09:53 -07:00
Kevin LewiandGitHub ed5e7cf116 Publishing v4.0.0 (#407) 2025-10-23 16:28:30 -07:00
Kevin LewiandGitHub 4dae85b3a9 Resolving zeroize_derive old version issue (#406) 2025-10-22 00:27:29 -07:00
Kevin LewiandGitHub af220c6d00 Fixing generic-array dependency (#402) 2025-10-15 15:05:51 -07:00
Kevin LewiandGitHub 79e4eacc40 Making full test vector generation deterministic (#398) 2025-10-13 15:05:15 -07:00
Kevin LewiandGitHub c94f942ed7 Fixing clippy/lint errors (#396) 2025-09-18 13:15:32 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3f8026d30e Update criterion requirement from 0.5 to 0.7 (#394)
Updates the requirements on [criterion](https://github.com/bheisler/criterion.rs) to permit the latest version.
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bheisler/criterion.rs/compare/0.5.0...0.7.0)

---
updated-dependencies:
- dependency-name: criterion
  dependency-version: 0.7.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-15 20:48:32 -07:00
daxpeddaandGitHub 33464543c1 Add migration guide to changelog (#393) 2025-09-09 00:25:04 -07:00
Kevin LewiandGitHub a1624a92dd Re-exporting argon2 and generic_array (#387) 2025-09-08 23:32:58 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6593833622 Update rustyline requirement from 15 to 17 (#391)
Updates the requirements on [rustyline](https://github.com/kkawakam/rustyline) to permit the latest version.
- [Release notes](https://github.com/kkawakam/rustyline/releases)
- [Changelog](https://github.com/kkawakam/rustyline/blob/master/History.md)
- [Commits](https://github.com/kkawakam/rustyline/compare/v15.0.0...v17.0.1)

---
updated-dependencies:
- dependency-name: rustyline
  dependency-version: 17.0.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-08 14:50:58 -07:00
226fe0ea7a Updating test vectors to RFC 9807 (#386)
* Updating to RFC 9807

* Update CHANGELOG.md

Co-authored-by: daxpedda <[email protected]>

* Update CHANGELOG.md

Co-authored-by: daxpedda <[email protected]>

* Update CHANGELOG.md

Co-authored-by: daxpedda <[email protected]>

---------

Co-authored-by: daxpedda <[email protected]>
2025-09-08 11:27:47 -07:00
daxpeddaandGitHub 8f9d7ec125 Update to Clippy v1.89 (#385) 2025-09-08 04:08:23 -07:00
daxpeddaandGitHub c04fb97b5c Remove Zeroize Tests (#381)
* Remove Zeroize tests

* Remove `Zeroize` requirements from `Group::Pk`

* Remove `Copy` requirements from `Group::Pk`

* Change to `ZeroizeOnDrop` requirements for `Group::Sk`

* Add note why we don't use `elliptic_curve::PublicKey`
2025-07-17 13:15:30 -07:00
daxpeddaandGitHub 1b6633cdcc Move Serde De/Serialization to Group Implementation (#380)
* Move Serde De/Serialization to `Group` implementation

* Clean up Serde formats

* Fix typo
2025-07-14 19:54:43 -07:00
daxpeddaandGitHub 5b492aedbf Update MSRV to v1.85 and edition to 2024 (#383) 2025-07-10 12:55:41 -07:00
daxpeddaandGitHub 8ee35498ea Publicly Expose trait KeyExchange (#379)
* Clean up types used in `trait KeyExchange`

* Expose `trait KeyExchange` publicly
2025-06-24 15:17:29 -07:00
daxpeddaandGitHub 3777ee680a Only store dummy public key (#374) 2025-05-20 12:49:11 -07:00
daxpeddaandGitHub fdf6a1103b Add missing copyright header (#382) 2025-05-20 12:48:30 -07:00
daxpeddaandGitHub bebd2c605b SIGMA-I Key Exchange (#378)
* Move `KeGroup` to `KeyExchange::Group`

- Introduce `KeyExchange::Hash`, which separates the OPRF hash from the one used in `KeyExchange`.
- Remove `De/Serialize` requirement on key exchange messages and states, which forced a lot of where bounds on downstream users.
- Rename `KeGroup` to `Group`.
- Replace `D` generic for hash with `H`.

* Use `voprf::derive_key()` directly

* Implement SIGMA-I key exchange

* Improve `KeyExchange` for SIGMA-I and Ed25519

* Implement EdDSA

* Un-qualify some method calls

* SIGMA-I: only include client identity in client mac

* SIGMA-I: include server mac in client signature

* Expose key exchange types in `crate` & move modules

* Implement Ed25519ph

* Document `ed25519` crate feature

* Remove `ristretto255-voprf` crate feature

* Adjust CI crate feature testing

* Fix Rustdoc

* Remove unnecessary generic parameters from SIGMA-I

* Properly mark to-do's with TODO

* Assorted fixes

* SIGMA-I: include context in signature

* SIGMA-I: include identifiers in signature

* Merge `ServerLoginStart/FinishParameters`

* Re-export more necessary types

* More carefully expose types

* Add ECDSA test

* SIGMA-I: share context hashing

* De-duplicate client static public key storage

* Hide `KeyExchange` better

* Use the correct hash in the root documentation

* Bump `derive-where`

* Format documentation examples a bit further

* Add remote OPRF seed documentation

* Rename `deserialize_key_pair` to `deserialize_take_key_pair`

* Add more key tests

* Remove `SharedSecret` trait

* SIGMA-I refactor message API

* Share more implementation between 3DH and SIGMA-I

* Remove unnecessary zero scalar check for Curve25519

* Use correct hash in test

* Add some more TODOs

* Exclude `tests` folder from Cargo publishing

* Enable missing dependencies

* Use right crate for testing Ed25519

* Remove unnecessary `Sized` constraints

* Remove unnecessary `ecdsa` crate features

* Move signature de/serialization to trait methods

* Nit: move import to appropriate location

* Add warning to SIGMA-I
2025-05-19 13:56:25 -07:00
daxpeddaandGitHub 58b4d746c0 Enable remote OPRF seed support (#373) 2025-05-05 04:12:54 -07:00
daxpeddaandGitHub b16cf8ce05 Enable curve25519-dalek/serde (#375) 2025-04-28 12:48:06 -07:00
daxpeddaandGitHub 560de5b718 Always create dummy record (#376) 2025-04-28 12:47:39 -07:00
daxpeddaandGitHub 27c6d4658b Add copyright header to remote_key test (#377) 2025-04-28 12:46:58 -07:00
daxpeddaandGitHub d324584d79 Rework SecretKey API to facilitate async (#371)
* Rework `SecretKey` API to facilitate async

* Remove left-over constraints
2025-04-22 00:08:17 -07:00
daxpeddaandGitHub 6b69e93dc9 Bump MSRV to v1.83 (#370)
* Fix Clippy warnings for Rust v1.86

* Bump MSRV to v1.83
2025-04-15 13:31:37 -07:00
Nik GrafandGitHub ff3a8b960d Update Readme link (#368) 2024-10-25 15:06:50 -07:00
Kevin LewiandGitHub df8e61d24b Publishing v3.0.0 (#367) 2024-10-09 22:13:13 -07:00
CynthiaandGitHub 94d9c563a4 chore!: align to draft 16, update dependencies (#365)
* chore!: align to draft 16, update dependencies

* chore: fix toml formatting
2024-09-23 21:28:40 -07:00
Kevin LewiandGitHub 4e525560c7 Publishing v3.0.0-pre.5 (#364) 2024-09-18 14:58:35 -07:00
Luca BrunoandGitHub a21678e969 docs: add details for client login final step (#358)
This tweaks the documentation on the main module, in order to
add some details on the outcome of the client login final step.
In particular, it clarifies the result of `ClientLogin::finish()`
both on success and on errors and it adds some intra-crate links
to the relevant structures and fields.
2024-09-18 13:04:14 -07:00
Kevin LewiandGitHub 066f88f434 Updating dependencies (#360) 2024-09-16 18:01:45 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
7eb363f571 Bump actions/cache from 3 to 4 (#354)
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-17 18:31:49 -08:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1cc30c255e Update rustyline requirement from 12 to 13 (#352)
Updates the requirements on [rustyline](https://github.com/kkawakam/rustyline) to permit the latest version.
- [Release notes](https://github.com/kkawakam/rustyline/releases)
- [Changelog](https://github.com/kkawakam/rustyline/blob/master/History.md)
- [Commits](https://github.com/kkawakam/rustyline/compare/v12.0.0...v13.0.0)

---
updated-dependencies:
- dependency-name: rustyline
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-20 14:06:15 -08:00
Kevin LewiandGitHub 31c65f5d79 Adding copyright header to generated test file (#351) 2023-12-20 10:05:35 -08:00
daxpeddaandGitHub 56cdf9a024 Test P-521 (#349)
* Test P-521

* De-duplicate generic calls

* Simplify full test vectors generation
2023-11-16 11:07:46 -08:00
Kevin LewiandGitHub c728c37f15 Fixing clippy errors (#347) 2023-10-28 22:19:53 -07:00
daxpeddaandGitHub 47b37779d4 Add clippy::doc_markdown (#346) 2023-10-08 12:48:43 -07:00
Kevin LewiandGitHub ead80ad892 Clarifying the persisting of server setup (#344) 2023-10-04 20:53:07 -07:00
Kevin LewiandGitHub 83795f3f1c Increase MSRV to 1.70 and update workflow dependencies (#342) 2023-09-24 17:43:59 -07:00
Nik GrafandGitHub 07c3f74582 update docs: clarify export_key and session_key length (#338) 2023-08-14 17:37:56 -04:00
Kevin LewiandGitHub d13d261cf1 Publishing v3.0.0-pre.4 (#337) 2023-07-25 01:38:33 -07:00
d65cc4d38d add more resources (WebAssembly and React Native) (#335)
* add more resources (WebAssembly and React Native)

* Fixing clippy

---------

Co-authored-by: Kevin Lewi <[email protected]>
2023-07-15 20:44:47 -07:00
daxpeddaandGitHub 4487f11f87 Bump curve25519-dalek to v4.0.0-rc.3 (#330) 2023-06-29 11:51:40 -07:00
Nik GrafandGitHub bca1abfe42 update parameter from sk to private_key (#329) 2023-06-29 11:51:20 -07:00