-
Notifications
You must be signed in to change notification settings - Fork 76
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
draft: Final touches (closes #147, #135, #133, #132, #124, #111, #100, #92, #82, #81, #57, #54) #154
base: master
Are you sure you want to change the base?
Conversation
credits: refring
An extremely important task is to have tests for these cryptographic operations (to make sure results are consistent of course). If anyone seeing this is willing to give an expected input/output for each function in Cryptonote.php while I'm refactoring, that would be really great (if it isn't done, I'll do it myself. Just in case anyone else wants to speed up the migration process). |
Rewriting it with sodium does not seem feasible at the moment as certain functions are not too well-documented. I've decided to add types, tests, and clean up the code for Here's my progress on
|
b6a1c60
to
69b9a6f
Compare
Just added the publishing workflow. I'm about 80% done with the rest of the refactoring, but yet to polish it up and push it here. |
Ed25519 (public methods in reference implementation:
|
Sorry, I've missed a point, why shouldn't there be only one repo with all PHP related library? |
I don't think Composer can manage a monorepo with multiple packages. |
@serhack, any updates? |
Tomorrow I'll create the second repository :) |
@recanman I created the new repository |
This pull request contains the final changes needed for the package migration.
Package name will be changed to
monero-integrations/monero-crypto
(namespaceMoneroIntegrations\MoneroCrypto
)This will also bump the minimum PHP version to 8.1.
A fork of refring's work. This will be called
monero-integrations/monero-rpc
(namespaceMoneroIntegrations\MoneroRpc
).Tasks left:
MoneroRpc
packageMost of my work is usually offline/on my local git server and I may not push to this PR's branch frequently.
I've spent some time with refring's code and tested it (it is very good). Merging it is just a matter of creating a new repository (I will CC serhack at the appropriate time)