Commit Graph

2285 Commits

Author SHA1 Message Date
Jędrzej Stuczyński 3ef986d6ce more wip: might have to revert 2026-01-29 13:29:32 +00:00
Jędrzej Stuczyński 261a36e792 wip 2026-01-29 12:05:04 +00:00
Jędrzej Stuczyński d1acd5b591 attempting to resolve lifetime issues 2026-01-29 09:39:00 +00:00
Georgio Nicolas d8ca227a5f purge wip 2026-01-29 09:32:57 +01:00
Georgio Nicolas 41fae0cb03 Add Carrier 2026-01-29 05:57:21 +01:00
Georgio Nicolas 5146ca92f5 Blake3 hkdf + integration 2026-01-29 02:43:27 +01:00
Georgio Nicolas 6256b04cef Blake3 hkdf 2026-01-29 02:42:23 +01:00
Georgio Nicolas 511e8a4649 impl Default for Ciphersuite 2026-01-28 23:57:53 +01:00
Georgio Nicolas defbdc8a40 update rekey docs 2026-01-28 23:40:03 +01:00
Georgio Nicolas 1d4977e536 Add docs for rekey algorithm and cleanup kkt crate 2026-01-28 23:34:45 +01:00
Georgio Nicolas a01bb3d9bd add rekey algorithm 2026-01-28 23:03:01 +01:00
Georgio Nicolas 06a6df1365 merge with develop 2026-01-28 17:53:15 +01:00
Georgio Nicolas 31df6b55b0 kkt type fixes 2026-01-28 17:46:05 +01:00
Jędrzej Stuczyński d99eff9178 Lp/dvpn psk injection (#6378)
* feat: clients to generate pseudorandom PSK for wg reg

* updating PSK of existing peers

* gateway probe fixes
2026-01-27 15:39:07 +00:00
Jędrzej Stuczyński 8af759fb1d LP: include signing key digests to LP responses (#6373)
* include signing key digests to LP responses

* mock
2026-01-27 12:23:52 +00:00
Jędrzej Stuczyński cef9534dce temp: use jstuczyn's libcrux fork 2026-01-27 10:16:31 +00:00
Jędrzej Stuczyński 0629e37c1b moved libcrux imports into workspace cargo.toml 2026-01-27 10:11:43 +00:00
Jędrzej Stuczyński ac9166a401 use libcrux' DH key types 2026-01-27 09:43:40 +00:00
Georgio Nicolas 8e1a776b7d wip: psqv2 2026-01-27 03:46:12 +01:00
Georgio Nicolas 9a88018cf2 Merge remote-tracking branch 'origin' into georgio/lp-psqv2-integration 2026-01-27 01:52:33 +01:00
Georgio Nicolas fe45b856b7 make clippy happy 2026-01-26 15:16:29 +01:00
Georgio Nicolas 5c50b760a8 enable kkt with mceliece (kkt tests pass) 2026-01-26 15:11:08 +01:00
Georgio Nicolas aafa99ea47 kkt should work with different keys now 2026-01-26 15:01:43 +01:00
Georgio Nicolas 4767a719f7 impl hashing of different key types 2026-01-26 14:38:25 +01:00
Georgio Nicolas 89d167de08 add key input helper functions 2026-01-26 14:25:12 +01:00
Jędrzej Stuczyński a4638b8d2f Lp/use noise x25519 (#6372)
* use x25519 noise key for ktt instead of deriving one from ed25519

* removed client's IpAddr from RegistrationClient constructor

* Adjusted the gateway probe to inject correct lp data

* remove redundant argument from nym-lp-client

* consistent naming for HashFunction variants

* use workspace dep import for nym-kkt-ciphersuite

* struct renaming
2026-01-26 13:15:37 +00:00
Georgio Nicolas 2109beeef6 Update keytypes and remove lifetime specifier for mceliece keys 2026-01-26 13:20:18 +01:00
Georgio Nicolas d1a5342625 Merge remote-tracking branch 'origin' into georgio/lp-psqv2-integration 2026-01-25 01:20:43 +01:00
benedettadavico 727d39ad72 Fix conflicts 2026-01-23 17:45:47 +01:00
benedettadavico b5d1e6a93f ack fix 2026-01-23 17:24:48 +01:00
Jędrzej Stuczyński e2be2b0b34 LP: mixnet reg fixes (#6356)
* removed x25519 key used within LP mixnet registration

* use Vec<u8> rather than BytesMut for LpAction::DeliverData

* introduced an explicit kind prefix for raw data sent and received within LP

* review nits
2026-01-23 13:21:52 +00:00
Georgio Nicolas f0645bad57 Merge develop 2026-01-23 13:56:37 +01:00
Georgio Nicolas 60f8fe09a7 Introduce newer mlkem key types 2026-01-23 13:48:55 +01:00
Jędrzej Stuczyński a63a1e745e LP: modified LPRemotePeer to dynamically choose required KEM key hash (#6358)
* LP: modified LPRemotePeer to dynamically choose required KEM key hash

* nym-lp-client fixes
2026-01-23 11:41:55 +00:00
Georgio Nicolas 9c81a87173 Cleanup 2026-01-22 20:11:54 +01:00
Georgio Nicolas 751929fa04 KKT Request Error Handling 2026-01-22 20:11:40 +01:00
Georgio Nicolas 441b46d2cc Complete merge (revert back to dhkem for now) 2026-01-22 19:50:39 +01:00
Georgio Nicolas 74b05d9066 WIP: Attempt merge develop p2 2026-01-22 18:53:24 +01:00
Georgio Nicolas c1adf41643 WIP: Attempt merge develop 2026-01-22 18:50:58 +01:00
Jędrzej Stuczyński c1ddcc75cf LP: announced KEM key hashes (#6349)
* announce KEM key hashes and use generated value within LpStateMachine

* added digest of remote KEM key into LpSession

* changed  constructor to LpSession to take explicit key materials for local and remote

this makes it easier to change keys required by each party without having to change all the interfaces everywhere again

* extended the changes to LpStateMachine constructor

* modify the interface to LpRegistrationHandler and LpListener

* gateway probe fixes

* temp nym-lp-client fixes

* review nits

* remove network test

* introduced v2/nym-nodes/described endpoint for returning nodes description alongside LP data

* missed V1 -> V2 description replacements

* removed deprecated call within mix-fetch

* use old v1 call in network stats
2026-01-22 14:29:33 +00:00
Georgio Nicolas 3b20e22aa1 WIP: restore kkt sanity 2026-01-22 01:45:30 +01:00
jmwample 52c47a950e env feature locking to protect contracts 2026-01-21 12:45:23 +01:00
jmwample 377c22f283 minor fixes 2026-01-21 12:45:23 +01:00
jmwample 036ae5c6dc apply configured api urls via env 2026-01-21 12:45:22 +01:00
jmwample 9cca73bc3a env feature locking to protect contracts 2026-01-20 10:24:39 -07:00
jmwample 00e8528fed minor fixes 2026-01-20 10:24:39 -07:00
jmwample 4795fa89a9 apply configured api urls via env 2026-01-20 10:24:39 -07:00
Simon Wicky 6b40013ceb small qol changes (#6340)
* small qol changes

* same

* forgot this

* more imports move
2026-01-19 14:54:54 +01:00
mfahampshire cf3fd00350 Max/crates io prep v2 (#6270)
* - standardise versions for all nym-sdk workspace dependencies
- prepend sqlx-pool-guard with 'nym-'

* Test remove nym-api from deps

* Add oneliner to client_pool doc comments

* Add note to commented out docs.rs link in sdk

* remove nym-api from script

* add publishing file

* bring non-binary / contract / tools into workspace version

* added more info to publishing.md

* make deps workspace version

* remove uploaded sphinx-types crate from script

* remove erroueously included ignore-defaults

* add zeroise to feature

* chore: Release

* add topology to batch

* more cargo versioning

* more cargo versioning - wasm utils

* more cargo versioning - wasm utils

* Add publish=false to manifest for cargo workspaces / crates.io
publishing exclusion

* remove script now switched to manifest based exclusion

* rename import based on rename of contracts-common dep

* Making workspace versions for publication + removing unnecessary crates
from publication

* Remove OOD info from publishing sdk guide

* rename contract imports + remove package

* temp commit: continuing with removal of path from cargo manifest and
replacing with workspace version import for publication

* continuing with cargo.toml updates

* dryrun only erroring on known version problem crates

* remove old published-crates file

* Minor comment change

* remove default features warning

* Additional info on workspace dep comment re publish list

* Add missing description to cargo.toml

* Fix missing feature flags

* Add missing descriptions

* Fix remaining path import

* Add workspace repo / homepage / documentation links to cargo.toml files

* remove workspace version from excluded crate

* Remove todo descriptions

* Minor comment change

* add homepage etc

* move from bls git import to nym_bls_fork crate

* Modify rest of imports from path to workspace import, excluding binaries

* add directory/homepage info

* fix cargo fmt

* add notes to gitignore

* better solution to contracts/ experiment

* wasm -> nym_wasm crate renaming

* fix fatfinger

* add metadata to ecash cargo.toml

* stub publishing guide

* fix misrevolved netlink- version

* Fixes and block publication of rebase re: LP

* first pass @ workflows
2026-01-19 13:19:45 +00:00
Jędrzej Stuczyński 18a44209db lp chore: make sure to take reserved bytes straight from the header (#6336) 2026-01-19 09:11:12 +00:00