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
adding batch_input to transit.sign_data #988 #990
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.
thanks for submitting this! I've left a few small comments, but I still need to look at the underlying issues more deeply. I'm a little overloaded at the moment, but I will get back to it at some point.
Codecov Report
@@ Coverage Diff @@
## main #990 +/- ##
==========================================
+ Coverage 81.78% 81.89% +0.10%
==========================================
Files 65 65
Lines 2992 3032 +40
==========================================
+ Hits 2447 2483 +36
- Misses 545 549 +4
|
Please ensure you run black and flake8 before pushing commits to avoid lint failures. If you haven't seen it there's some info in the contributing guide on setting up the local poetry environment: Then you can run: poetry run black .
poetry run flake8 . |
Hello @deidax ! The Since your PR was opened before this change, I have:
I will come back to review the actual content as soon as I can, thanks for your patience! |
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.
Thanks for submitting this! As commented below, I'd like to get more information on the hash_algorithm
issue.
For batch_input
, it needs docs, and I'd really like to see the tests updated for this, is that something you could take a look at?
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
@briantist Before running any tests, please consider the following: According to the vault documentation for the |
This comment was marked as outdated.
This comment was marked as outdated.
Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com>
Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com>
@deidax I believe this was successful! I also pushed an additional commit where I ran black to fix the formatting/lint error. For this PR, please do not use the GitHub UI "sync fork" button. You can ignore the message telling you that your branch is behind. What's happening is that you have a I think this will not be a problem for your future PRs (I hope there will be more 😁), which should be based off the I'm very sorry for the confusion about this, I know it's not a good experience especially for a first-time contributor to a project, it was just bad timing on my part. |
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 some wording and formatting suggestions
Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com>
Co-authored-by: Brian Scholer <1260690+briantist@users.noreply.github.com>
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.
a few more docs re-ordering, I'll go ahead and commit these, and if you want to change anything with the edits, feel free to push more commits
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.
This looks good to me! Thanks so much for submitting and sticking through the edits and suggestions.
Since I was the last committer, I'll wait for you to look at those changes before merging. Let me know if it all looks good to you.
@briantist yeah it looks good to me. thank you |
Resolves #988 by adding the
batch_input
to thetransit sign_data method
and updating the params.Resolve the issue #989 by checking if the value of hash_algorithm is Nonehash_algorithm = '' if not hash_algorithm else hash_algorithm
and updating the api_path"/v1/{mount_point}/sign/{name}/{hash_algorithm}"