-
Notifications
You must be signed in to change notification settings - Fork 53
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
Improve error messages of Public{Ecc,Rsa}ParametersBuilder #431
Conversation
Tbh I am not sure if the logic here is correct. I'd appreciate if someone can have a look, the shell script, rust-code and output are here: |
Hey! Thanks for the patch. Looking at your output and Rust code, it seems you're getting |
@ionut-arm |
There are a lot fo magical things tpm2-tools does in the background that one unfortunately have to do manually when porting from a script into a program. So if one wants to find out the root of the problem one needs to dig through the tpm2-tool code and have the specification ready at hand. But as @ionut-arm mentioned and from my own experience a mismatch in scheme between either a key and operation one tries to perform is not unusual. |
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 it looks good 👍 . Fix the spelling though 😅
Signed-off-by: Simon Brand <[email protected]>
33182e7
to
ff3c06d
Compare
@wiktor-k @Superhepper |
I am not sure, if the
'restricted' and 'is_decrypt_key'
is wanted, since it is used that way in computing languages (but not in human language).