这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@yawangwang
Copy link
Collaborator

Load local ECDSA private keys instead of using ecdsa.GenerateKey because the underlying implementations will cause our internal test environment crash.

@yawangwang yawangwang force-pushed the load-local-ecdsa-keys branch from 3a2add9 to 0502bca Compare July 18, 2024 19:28
@yawangwang yawangwang requested a review from deeglaze July 18, 2024 19:32
@deeglaze
Copy link
Contributor

Have you verified that these changes stop your test from crashing?

@yawangwang yawangwang force-pushed the load-local-ecdsa-keys branch from 0502bca to 25b5404 Compare July 23, 2024 18:45
@yawangwang yawangwang requested a review from deeglaze July 23, 2024 18:47
@yawangwang yawangwang changed the title Use local ECDSA private key for VCEK and VLEK Use pre-generated local private keys for AMD keys Jul 23, 2024
@yawangwang yawangwang changed the title Use pre-generated local private keys for AMD keys Use pre-generated local private keys for default AMD keys Jul 23, 2024
@yawangwang
Copy link
Collaborator Author

Have you verified that these changes stop your test from crashing?

Though those changes cannot stop my test from crashing, it might be a good practice to use the pre-generated test private keys to make tests run faster.

@yawangwang yawangwang force-pushed the load-local-ecdsa-keys branch from 25b5404 to e8d0943 Compare July 23, 2024 23:35
@yawangwang
Copy link
Collaborator Author

yawangwang commented Jul 23, 2024

ooops looks like the PR merging policy is a bit different from go-tpm-tools, sending 1 reapproval request to @deeglaze

@yawangwang yawangwang requested a review from deeglaze July 23, 2024 23:41
@deeglaze deeglaze merged commit 00148f7 into google:main Jul 24, 2024
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