Skip to content

Separate chain validation, ct log and http server #91

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 4 commits into from
Jan 21, 2025

Conversation

phbnf
Copy link
Collaborator

@phbnf phbnf commented Jan 17, 2025

Towards #5

This PR draws boundaries between:

  • chain validation
  • core CT log implementing all the primitives necessary to run a static-ct-api log
  • the HTTP server, implementing static-ct-api HTTP endpoints

phbnf added 3 commits January 17, 2025 15:40
# Conflicts:
#	config.go
# Conflicts:
#	cmd/gcp/main.go

# Conflicts:
#	config.go
# Conflicts:
#	config_test.go

# Conflicts:
#	ctlog_test.go

# Conflicts:
#	ctlog.go

# Conflicts:
#	config.go

# Conflicts:
#	ctlog.go
@phbnf phbnf changed the title Separate Separate chain validation, ct log and http server Jan 17, 2025
@phbnf phbnf requested a review from AlCutter January 17, 2025 16:38
@phbnf phbnf marked this pull request as ready for review January 17, 2025 16:38
@phbnf phbnf requested a review from roger2hk January 17, 2025 16:38
ctlog.go Outdated
Signer crypto.Signer
// CertValidationOpts contains various parameters for certificate chain
origin string
// Signs SCTs.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// Signs SCTs.
// signSCT signs SCTs.

handlers.go Outdated
Comment on lines 196 to 197
// signer signs SCTs
signSCT signSCT
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you want to call this signer or signSCT?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ah, thanks! Was called signer, and I then renamed it to signSCT.

@phbnf phbnf merged commit da8ae85 into transparency-dev:main Jan 21, 2025
7 checks passed
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.

3 participants