-
Notifications
You must be signed in to change notification settings - Fork 11
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
docs: audit notes #91
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, but I think we should update curve25519-dalek
. The version we chose was just temporary to get the ledger stuff going.
docs/quarkslab-audit/README.md
Outdated
The fork may be updated in the future against a more recent upstream tag if doing so does not introduce conflicts in Tari repositories. | ||
Further, an open [upstream pull request](https://github.com/dalek-cryptography/curve25519-dalek/pull/546) would add partial precomputation support; if it is accepted, the implementation may change its curve library dependency to upstream. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should update to their (curve25519-dalek
) latest version and apply our specific changes to it in our fork, similar to what we did in the past.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Certainly can. Upstream switched to a monorepo structure after the release candidates, but I doubt this would cause issues other than pulling in a lot of functionality that wouldn't be needed. I'll test this out.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See this issue.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed in the curve library fork by this PR.
3472175
to
a1ced35
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a small comment below, and then I was wondering, if would it be beneficial to list the PRs we introduced that addressed all the concerns the auditors had, the ones we did due to the "tips" we received during the audit and the ones we did to address the formal findings? Then a reader could look at the audited commit and the relevant PRs leading up to the final commit after the audit to put everything in context.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you add in the commit for the review, I'm happy to merge.
WRT specific PRs, iirc there's a post-review by the auditors that could give a note saying "all issues resolved", which would be first prize.
The lint-related changes recommended by the auditors were made over the course of several PRs, many of which also addressed other things like refactoring or efficiency. I'm not sure how useful it would be for the reader to list them all. I'll add a link to the audit commit/tag. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice
ACK
0a0b8b8
to
e6405a1
Compare
This adds the Quarkslab audit report and a brief list of responses.