2790 Commits

Author SHA1 Message Date
Artem Gureev
5a23b54a6f
Merge pull request #569 from logos-blockchain/marvin/chacha-aead
fix(encryption): strengthen esk generation logic
2026-06-29 17:25:41 +04:00
Marvin Jones
8bf53af58a chore: rebuild artifacts after rebase onto viewing-key-binding 2026-06-29 09:23:26 -04:00
Marvin Jones
6155bd9a37 fix(encryption): rename os_random to random_seed and fix ESK derivation in tests
Rename os_random field to random_seed per review feedback. Fix tests
that constructed SharedSecretKey with a hardcoded EphemeralSecretKey
instead of deriving it via EphemeralSecretKey::new.
2026-06-29 09:10:43 -04:00
Marvin Jones
060a83879b feat(encryption): derive esk from account state, remove chacha20poly1305 logic
Introduce EphemeralSecretKey as a proper struct with EphemeralSecretKey::new()
that derives esk from SHA256("/LEE/v0.3/esk/" || account_id || os_random || nonce).
Rename witness field from esk to os_random. Simplify encapsulate_deterministic
to accept pre-derived EphemeralSecretKey directly.
2026-06-29 09:10:43 -04:00
Artem Gureev
2a0595fbd6
Merge pull request #551 from logos-blockchain/artem/keccak-speedup
feat: keccak speedup
2026-06-29 14:42:33 +04:00
agureev
d31e614b84 Merge remote-tracking branch 'origin/artem/viewing-key-binding' into artem/keccak-speedup 2026-06-29 14:31:57 +04:00
agureev
027b7bc04b chore: regenerate artifacts 2026-06-25 15:02:09 +04:00
agureev
e4d55d8e37 chore: bump sponge fork, remove unstable flag 2026-06-25 15:00:57 +04:00
agureev
74672266be chore: update artifacts 2026-06-24 21:57:45 +04:00
agureev
ecc5c3fc79 doc: add comment regarding view_tag computation 2026-06-24 21:41:59 +04:00
agureev
a815b50275 doc: update encapsulation documentation 2026-06-24 21:34:59 +04:00
agureev
b31fe5e4a7 refactor: change message_hash to esk for encapsulation 2026-06-24 21:24:12 +04:00
agureev
01accb788c feat: add prefix to the ML KEM kdf 2026-06-24 21:17:43 +04:00
agureev
1744620692 doc: fix typo 2026-06-24 13:29:42 +04:00
agureev
26409e619c chore: explicitly add sponges fork to the deny toml 2026-06-23 20:22:22 +04:00
agureev
340cf300c4 chore: update artifacts 2026-06-23 20:17:20 +04:00
agureev
0a9874afe5 feat: add a patched keccak dependency via a fork 2026-06-23 20:11:49 +04:00
agureev
a12545b332 chore: update artifacts 2026-06-23 18:31:09 +04:00
agureev
f2778ea5d0 test: regenerate hardcoded values 2026-06-23 18:02:48 +04:00
agureev
128ebc0c64 tests: add vpk binding tests 2026-06-23 15:51:59 +04:00
agureev
973061e88f test: fix state test 2026-06-23 15:51:58 +04:00
agureev
4239b44338 chore: update artifacts 2026-06-23 15:51:58 +04:00
agureev
090c368c14 tests: test and flow updates 2026-06-23 15:51:58 +04:00
agureev
526f9ccb32 feat(ppc)!: introduce protocol-level changes for vpk binding
BREAKING:

Before: The epk and the vpk of the receiver were not bound to the ss
that was directly fed to the circuit.

After: The ss, epk, tag fields are removed as explicit arguments
per-account and instead replaced by supplying a vpk, esk per
account. The ss, epk, tag all constructed in-circuit. Account ID
generation now uses vpk as additional argument.

Mitigation: Change Account ID generation to include the vpk, change
proving inputs.
2026-06-23 15:46:23 +04:00
agureev
10066be8e3 feat: optimize encryption computation by using slices 2026-06-23 14:54:24 +04:00
agureev
2fd8c1b157 refactor: expose ML KEM and esk in-guest 2026-06-23 14:54:03 +04:00
Pravdyvy
62d9ba10f8
Merge pull request #510 from logos-blockchain/Pravdyvy/programs-elfs-deployments
Pravdyvy/programs elfs deployments
lez-core-v0.1.0
2026-06-17 16:59:18 +03:00
Pravdyvy
88a3a4fa50 fix(ci): return logos-blockchain circuits into benchmarks 2026-06-17 13:44:19 +03:00
Pravdyvy
4185599df6 remove(logos-blockchain-circuits): removed logos blockchains circuits mentions 2026-06-17 13:31:35 +03:00
Pravdyvy
855788c2ea fix(ci): ci fix 2026-06-17 12:54:27 +03:00
Pravdyvy
0fae6aada2 Merge branch 'main' into Pravdyvy/programs-elfs-deployments 2026-06-17 10:36:19 +03:00
Daniil Polyakov
e6ad179641
Merge pull request #508 from logos-blockchain/arjentix/bridge-withdraw
feat(sequencer): implement bridge withdraw flow
2026-06-17 01:01:04 +03:00
Daniil Polyakov
e5ca40c0f9 feat: add bedrock withdraw events validation 2026-06-16 22:10:11 +03:00
Daniil Polyakov
77f1fb3f21 feat(wallet): add bridge withdraw command 2026-06-16 22:10:11 +03:00
Daniil Polyakov
d6e68a52ca feat(state): forbid private bridge withdrawals 2026-06-16 22:10:11 +03:00
Daniil Polyakov
e9e30ff019 feat(sequencer): implement bridge withdraw flow 2026-06-16 22:10:11 +03:00
jonesmarvin8
79ba5a1194
refactor(lee::signature) (#531)
* address issue 514

* Fixed clippy
2026-06-16 09:18:31 -04:00
Pravdyvy
819604d223 Merge branch 'main' into Pravdyvy/programs-elfs-deployments 2026-06-16 09:13:06 +03:00
Pravdyvy
a8c81f5445
Merge pull request #491 from logos-blockchain/Pravdyvy/wallet-ffi-extension
feat(wallet_ffi): wallet ffi generic transactions
2026-06-16 09:11:38 +03:00
Daniil Polyakov
756e304cef
Merge pull request #511 from logos-blockchain/arjentix/add-vault-wallet-commands
feat(wallet): add vault cli commands
2026-06-15 22:14:09 +03:00
Daniil Polyakov
b768a57739 chore(justfile): add some useful commands 2026-06-15 21:53:15 +03:00
Daniil Polyakov
1c7711c10e feat(wallet): add vault cli commands 2026-06-15 21:53:15 +03:00
Pravdyvy
71d33743e1 fix(deny): extended allowed git domains 2026-06-15 14:21:57 +03:00
Pravdyvy
93feaba5de Merge branch 'main' into Pravdyvy/programs-elfs-deployments 2026-06-15 14:15:33 +03:00
Pravdyvy
8ff353df0c Merge branch 'main' into Pravdyvy/wallet-ffi-extension 2026-06-15 14:14:45 +03:00
Pravdyvy
df8a330dcd
Merge pull request #526 from logos-blockchain/programs-elfs-deployments-circuits-fix
Bump blockchain deps and update flake
2026-06-15 13:43:56 +03:00
Pravdyvy
5e09becf1c
Merge pull request #527 from logos-blockchain/Pravdyvy/new-zone-api-update
fix(sequencer_core)!: new zones api
2026-06-15 13:37:14 +03:00
Petar Radovic
a12d8ecf87 clippy 2026-06-15 12:30:18 +02:00
Petar Radovic
c2f93aff59 clippy 2026-06-15 12:28:05 +02:00
Petar Radovic
13f15530e4 update logos blockchain deps + drive loop fix 2026-06-15 12:22:00 +02:00