Skip to content

[WIP] Recreate the tss lib in rust with the help of LLMs #314

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 47 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
0221fff
feat: ignore .aider
aeroxy Apr 19, 2025
38b47c9
feat: convert common Go files to Rust in tss-lib-rust/src/common
aeroxy Apr 19, 2025
011e59d
refactor: rename variable 'try' to 'candidate' for clarity
aeroxy Apr 19, 2025
41ba45d
feat: add Cargo.toml for tss-lib-rust project configuration
aeroxy Apr 19, 2025
0e18c0a
fix: correct prime validation and modular inverse logic in common files
aeroxy Apr 19, 2025
b1976db
test: add unit tests for common modules in Rust library
aeroxy Apr 19, 2025
c8142b6
build: specify library target in Cargo.toml and create lib.rs file
aeroxy Apr 19, 2025
24e31a6
feat: add module entry point for common in mod.rs
aeroxy Apr 19, 2025
c34c356
fix: enable `rand` feature for `num-bigint` and correct method usage
aeroxy Apr 19, 2025
e2b2f2e
fix: correct type mismatches and unused imports in Rust code
aeroxy Apr 19, 2025
9e4b756
fix: implement custom primality test to replace missing method
aeroxy Apr 19, 2025
c8c3d1d
fix: import missing traits and make function public for accessibility
aeroxy Apr 19, 2025
cef62a5
chore: cargo.lock and gitignore
aeroxy Apr 19, 2025
0a9d1a8
feat: add Rust implementations for Go tss module files
aeroxy Apr 19, 2025
5db4c29
test: add unit tests for curve, error, message, params, and party mod…
aeroxy Apr 19, 2025
a972524
feat: add Rust implementations for crypto folder with tests
aeroxy Apr 19, 2025
d60ab7b
test: add unit tests for crypto module in Rust based on Go tests
aeroxy Apr 19, 2025
f60c7d2
feat: add tss and crypto modules to lib.rs
aeroxy Apr 19, 2025
db6e3c4
fix: add missing mod.rs files for tss and crypto modules
aeroxy Apr 19, 2025
460770c
fix: add missing dependencies and resolve import issues
aeroxy Apr 19, 2025
6919c4b
fix: correct package name from num-cpus to num_cpus in Cargo.toml
aeroxy Apr 19, 2025
acc41ab
fix: resolve import errors and missing trait definitions in Rust code
aeroxy Apr 19, 2025
b04870e
fix: import missing traits for BigInt operations
aeroxy Apr 19, 2025
ac081b7
fix: derive necessary traits for PartyID and update method calls
aeroxy Apr 19, 2025
254c005
fix: update struct definitions and method calls for compatibility
aeroxy Apr 19, 2025
f968165
fix: implement missing traits and methods for PartyID and BaseParty
aeroxy Apr 19, 2025
3dc01b7
fix: correct mismatched search/replace blocks in multiple files
aeroxy Apr 19, 2025
a69bf3f
fix: implement missing traits and correct method calls
aeroxy Apr 19, 2025
4449f6f
fix: correct derive attribute duplication in PartyID struct
aeroxy Apr 19, 2025
2b09c1c
fix: resolve import errors and implement missing traits
aeroxy Apr 19, 2025
1dc33a0
style: remove unused import in ecpoint.rs
aeroxy Apr 19, 2025
1560d1e
fix: handle point not on curve in ECPoint constructor and addition
aeroxy Apr 19, 2025
336b4ba
fix: correct return type in ECPoint constructor function
aeroxy Apr 19, 2025
7eb1052
fix: resolve import errors and add missing trait implementations
aeroxy Apr 19, 2025
917c36d
fix: correct import and trait definitions in curve.rs, message.rs, an…
aeroxy Apr 19, 2025
fea1d45
fix: correct imports and trait bounds in message.rs and curve.rs
aeroxy Apr 19, 2025
a43627e
fix: correct trait bounds and imports in message.rs and curve.rs
aeroxy Apr 19, 2025
9b0e52f
feat: cursor took over
aeroxy Apr 19, 2025
a4e3ce6
feat: cursor fixed common
aeroxy Apr 19, 2025
e9865e0
fix: test_derive_child_key
aeroxy Apr 19, 2025
c8fe49d
fix: crypto::paillier::tests::test_public_key_encrypt
aeroxy Apr 19, 2025
79b5937
feat: init eddsa
aeroxy Apr 19, 2025
6eab063
feat: convert Go EDDSA keygen to Rust in /tss-lib-rust/src/eddsa
aeroxy Apr 19, 2025
1f28408
refactor: complete keygen logic and update structures in EDDSA module
aeroxy Apr 19, 2025
a00d7d0
feat: implement basic structure for EDDSA keygen Round2 in Rust
aeroxy Apr 19, 2025
5e7a5a8
feat: complete Go to Rust conversion for EDDSA keygen round 2 logic
aeroxy Apr 19, 2025
42e5a72
feat: EdDSA
aeroxy Apr 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ vendor
*.swp
.vscode/*.json

.aider*
1 change: 1 addition & 0 deletions tss-lib-rust/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target
Loading