Skip to content

Comments

python: add new pigeonhole API#43

Open
david415 wants to merge 26 commits intomainfrom
update_python_pigeonhole
Open

python: add new pigeonhole API#43
david415 wants to merge 26 commits intomainfrom
update_python_pigeonhole

Conversation

@david415
Copy link
Member

@david415 david415 commented Feb 7, 2026

No description provided.

…cancel tests

- Add error codes 14-24 to Rust thin client (matching Go daemon)
- Fix Python error strings for codes 19/20 to match Go
- Add unit test for error code completeness (no daemon required)
- Add integration tests for cancel_resending
- Add PigeonholeGeometry to ConfigFile and Config structs
- Fix serde rename to use MaxPlaintextPayloadLength (matching Go)
- Add ThinClient::pigeonhole_geometry() accessor method
- Update testdata config to match generated mixnet config
- Fix tombstone tests to use geometry from config instead of hardcoded values
The replica_epoch is already embedded in the EnvelopeDescriptor,
making the parameter redundant.

- Python: Remove replica_epoch from encrypt_read, encrypt_write,
  start_resending_encrypted_message, and tombstone_box
- Rust: Remove replica_epoch from structs and function signatures
- Tests: Update all call sites to use new API signatures
- Fix cancel tests: Reduce sleep time to 0.1s to call cancel before
  mixnet ACK arrives
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant