-
Notifications
You must be signed in to change notification settings - Fork 10
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
Code review #92
Comments
Let's postpone this after #93 at least. |
I’ve reviewed and tested 0.6.0 on a high level. I did not find any significant issues or problems regarding functionality or security in the code. It is mostly easy to read and follow. The structure of the library seems reasonable. Overall, the code has a high quality and looks relatively easy to maintain. I ran into problems with AES key generation and RSA decryption, but this could also be caused by an old pkcs11-tool (from opensc 0.21). I’ll repeat the tests with a newer version and report the results. notesdocs
typos
implementation details
next steps
|
Thanks for the review, I've started to implement some changes. I don't see how you can make padded_str a function, I need it to return slices with static sizes like |
I think you just need arrays: #137 |
Oh I would never have thought about using generics as the size of the array. |
I’ve also reviewed the safety
clarifications
documentation
|
Both of these functions were written by Amazon engineers. I don't know what motivated them to set one unsafe and the other not. |
I think the point is that the function call is only valid if the pointer actually points to a |
Okay I made it unsafe in the PR |
Code review next week would be good.
The text was updated successfully, but these errors were encountered: