Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@BenDHillier
Copy link
Contributor

TpmSigner only supports RSA PKCS#1 v1.5 signing. Subsequent PRs will add PSS and ECC support.

There will also be a PR for adding a (k *Key) GetSigner function, which will check that the Key is appropriate to be used as a Signer.

Also enables SHA512 in the simulator. The simulator told me to set MAX_CONTENT_SIZE to 1360 when I tried to run it after enabling SHA512.

@BenDHillier BenDHillier requested a review from josephlr October 24, 2019 22:00
Copy link
Member

@josephlr josephlr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice start on this. I think it's a good idea to only do PKCS#1 v1.5 RSA signing first, as it lets us get framework in place.

However, I think this PR should add a GetSigner() method to Key, I go into more detail in my review comments, but which error checking we do where is important.

Copy link
Member

@josephlr josephlr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job, just fix a few nits and rebase this change, and we should be good to go.

@BenDHillier BenDHillier merged commit a84e465 into google:master Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants