Skip to content

Add wrong signer type and empty signer test cases into TestNewLog #182

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

Merged
merged 1 commit into from
Mar 13, 2025

Conversation

roger2hk
Copy link
Contributor

Towards #103.

"strings"
"testing"

"github.com/google/trillian/crypto/keys/pem"
trillianpem "github.com/google/trillian/crypto/keys/pem"
Copy link
Contributor

Choose a reason for hiding this comment

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

I thought you were trying to remove dependencies on trillian from TesseraCT?

Copy link
Contributor Author

@roger2hk roger2hk Mar 13, 2025

Choose a reason for hiding this comment

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

Correct. This pull request needs the "encoding/pem" module, so there is a name clash. I will remove the "github.com/google/trillian/crypto/keys/pem" dependency in the another pull request. Created #183 to track.

Copy link
Contributor

@mhutchinson mhutchinson left a comment

Choose a reason for hiding this comment

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

I'm still unclear on why we now have 2 methods for opening private keys, but if the trillian dep will be removed then I'll wait for the next episode to find out.

@roger2hk
Copy link
Contributor Author

I'm still unclear on why we now have 2 methods for opening private keys, but if the trillian dep will be removed then I'll wait for the next episode to find out.

Let me merge these two methods into one in the next pull request.

@roger2hk roger2hk merged commit d72e9f5 into transparency-dev:main Mar 13, 2025
7 checks passed
@roger2hk roger2hk deleted the scti-test branch March 13, 2025 17:17
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