Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
admin-console
command
Package main runs the debugger service.
|
Package main runs the debugger service. |
|
backup
command
This package is the service that deletes old exposure keys; it is intended to be invoked over HTTP by Cloud Scheduler.
|
This package is the service that deletes old exposure keys; it is intended to be invoked over HTTP by Cloud Scheduler. |
|
cleanup-export
command
This package is the service that deletes old exposure keys; it is intended to be invoked over HTTP by Cloud Scheduler.
|
This package is the service that deletes old exposure keys; it is intended to be invoked over HTTP by Cloud Scheduler. |
|
cleanup-exposure
command
This package is the service that deletes old exposure keys; it is intended to be invoked over HTTP by Cloud Scheduler.
|
This package is the service that deletes old exposure keys; it is intended to be invoked over HTTP by Cloud Scheduler. |
|
debugger
command
Package main runs the debugger service.
|
Package main runs the debugger service. |
|
export
command
This package is the service that publishes infected keys; it is intended to be invoked over HTTP by Cloud Scheduler.
|
This package is the service that publishes infected keys; it is intended to be invoked over HTTP by Cloud Scheduler. |
|
export-importer
command
This binary provides a server that can import export files from a trusted partner.
|
This binary provides a server that can import export files from a trusted partner. |
|
exposure
command
This package is the primary infected keys upload service.
|
This package is the primary infected keys upload service. |
|
federationin
command
This package is the service that pulls federation results from other federation severs.
|
This package is the service that pulls federation results from other federation severs. |
|
federationout
command
This package is the gRPC server for federation requests to send data to other federations servers.
|
This package is the gRPC server for federation requests to send data to other federations servers. |
|
generate
command
Deployable server to generate fake exposure keys on demand.
|
Deployable server to generate fake exposure keys on demand. |
|
jwks
command
This package is the service update encryption keys; it is intended to be invoked over HTTP by Cloud Scheduler.
|
This package is the service update encryption keys; it is intended to be invoked over HTTP by Cloud Scheduler. |
|
key-rotation
command
This package is the service rotates revision token encryption keys; it is intended to be invoked over HTTP by Cloud Scheduler.
|
This package is the service rotates revision token encryption keys; it is intended to be invoked over HTTP by Cloud Scheduler. |
|
metrics-registrar
command
This package registers metrics for Stackdriver.
|
This package registers metrics for Stackdriver. |
|
migrate
command
|
|
|
mirror
command
This binary provides a server that can mirror export files.
|
This binary provides a server that can mirror export files. |
|
internal
|
|
|
admin
Package admin provides a small admin UI.
|
Package admin provides a small admin UI. |
|
authorizedapp
Package authorizedapp handles allowed applications.
|
Package authorizedapp handles allowed applications. |
|
authorizedapp/database
Package database is a database interface to authorized apps.
|
Package database is a database interface to authorized apps. |
|
authorizedapp/model
Package model is a model abstraction of authorized apps.
|
Package model is a model abstraction of authorized apps. |
|
azurekeyvault
Package azurekeyvault provides shared functionality between the signing and secret clients for KeyVault
|
Package azurekeyvault provides shared functionality between the signing and secret clients for KeyVault |
|
backup
Package backup implements periodic backups.
|
Package backup implements periodic backups. |
|
buildinfo
Package buildinfo provides high-level build information injected during build.
|
Package buildinfo provides high-level build information injected during build. |
|
cleanup
Package cleanup implements the API handlers for running data deletion jobs.
|
Package cleanup implements the API handlers for running data deletion jobs. |
|
debugger
Package debugger is a server-side debugger component that displays debug information about the system.
|
Package debugger is a server-side debugger component that displays debug information about the system. |
|
export
Package export defines the handlers for managing exposure key exporting.
|
Package export defines the handlers for managing exposure key exporting. |
|
export/database
Package database is a database interface to export.
|
Package database is a database interface to export. |
|
export/model
Package model is a model abstraction of exports.
|
Package model is a model abstraction of exports. |
|
exportimport
Package exportimport imports export files into the local database
|
Package exportimport imports export files into the local database |
|
exportimport/database
Package database is a database interface for export importing.
|
Package database is a database interface for export importing. |
|
exportimport/model
Package model is a model abstraction of export import configuration and status.
|
Package model is a model abstraction of export import configuration and status. |
|
federationin
Package federationin handles pulling data from other federation servers.
|
Package federationin handles pulling data from other federation servers. |
|
federationin/database
Package database is a database interface to federation in.
|
Package database is a database interface to federation in. |
|
federationin/model
Package model is a model abstraction of federation in.
|
Package model is a model abstraction of federation in. |
|
federationout
Package federationout handles requests from other federation servers for data.
|
Package federationout handles requests from other federation servers for data. |
|
federationout/database
Package database is a database interface to federation out.
|
Package database is a database interface to federation out. |
|
flag
Package flag includes custom flag parsing logic.
|
Package flag includes custom flag parsing logic. |
|
generate
Package generate contains HTTP handler for triggering data generation into the databae.
|
Package generate contains HTTP handler for triggering data generation into the databae. |
|
integration
Package integration defines the integration test.
|
Package integration defines the integration test. |
|
jsonutil
Package jsonutil provides common utilities for properly handling JSON payloads in HTTP body.
|
Package jsonutil provides common utilities for properly handling JSON payloads in HTTP body. |
|
jwks
Package jwks manages downloading and updating the keys from a JWKS source for keys.
|
Package jwks manages downloading and updating the keys from a JWKS source for keys. |
|
keyrotation
Package keyrotation implements the API handlers for running key rotation jobs.
|
Package keyrotation implements the API handlers for running key rotation jobs. |
|
metrics
Package metrics contains utilities for exporting metrics.
|
Package metrics contains utilities for exporting metrics. |
|
metrics/metricsware
Package metricsware provides a middleware for recording metrics of different kinds
|
Package metricsware provides a middleware for recording metrics of different kinds |
|
metricsregistrar
Code generated by gen-metrics-registrar.
|
Code generated by gen-metrics-registrar. |
|
middleware
Package middleware defines common http middlewares.
|
Package middleware defines common http middlewares. |
|
mirror
Package mirror implements the export file mirroring job.
|
Package mirror implements the export file mirroring job. |
|
mirror/database
Package database is a database interface for mirror settings.
|
Package database is a database interface for mirror settings. |
|
mirror/model
Package model is a model abstraction of mirror data structures.
|
Package model is a model abstraction of mirror data structures. |
|
project
Package project contains project level utilities that don't have another good home.
|
Package project contains project level utilities that don't have another good home. |
|
publish
Package publish defines the exposure keys publishing API.
|
Package publish defines the exposure keys publishing API. |
|
publish/database
Package database is a database interface to publish.
|
Package database is a database interface to publish. |
|
publish/model
Package model is a model abstraction of publish.
|
Package model is a model abstraction of publish. |
|
revision
Package revision defines the internal structure of the revision token and utilities for marshal/unmarshal which also encrypts/decrypts the payload.
|
Package revision defines the internal structure of the revision token and utilities for marshal/unmarshal which also encrypts/decrypts the payload. |
|
revision/database
Package database contains the management of interactions with the database for createion and storage of the wrapped keys that encrypet revision certificates.
|
Package database contains the management of interactions with the database for createion and storage of the wrapped keys that encrypet revision certificates. |
|
serverenv
Package serverenv defines common parameters for the sever environment.
|
Package serverenv defines common parameters for the sever environment. |
|
setup
Package setup provides common logic for configuring the various services.
|
Package setup provides common logic for configuring the various services. |
|
storage
Package storage is an interface over Google Cloud Storage.
|
Package storage is an interface over Google Cloud Storage. |
|
utils
Package utils provides utilities to be used in testing.
|
Package utils provides utilities to be used in testing. |
|
verification
Package verification provides the ability to verify the diagnosis certificates (JWTs) coming from public health authorities that are responsible for verifying diagnosis pin codes and certifying the TEKs.
|
Package verification provides the ability to verify the diagnosis certificates (JWTs) coming from public health authorities that are responsible for verifying diagnosis pin codes and certifying the TEKs. |
|
verification/database
Package database is a database interface to health authorities.
|
Package database is a database interface to health authorities. |
|
verification/model
Package model is a model abstraction of health authorities.
|
Package model is a model abstraction of health authorities. |
|
pkg
|
|
|
api/v1
Package v1 contains API definitions that can be used outside of this codebase.
|
Package v1 contains API definitions that can be used outside of this codebase. |
|
api/v1alpha1
Package v1alpha1 contains API definitions that can be used outside of this codebase in their alpha form.
|
Package v1alpha1 contains API definitions that can be used outside of this codebase in their alpha form. |
|
base64util
Package base64util extracts base64 encoding/decoding logic into a single API that is tolerant of various paddings.
|
Package base64util extracts base64 encoding/decoding logic into a single API that is tolerant of various paddings. |
|
cache
Package cache implements an inmemory cache for any object.
|
Package cache implements an inmemory cache for any object. |
|
cryptorand
Package cryptorand defines a rand.Source from crypto/rand.
|
Package cryptorand defines a rand.Source from crypto/rand. |
|
database
Package database is a facade over the data storage layer.
|
Package database is a facade over the data storage layer. |
|
enkstest
Package enkstest provides test helpers and provisioners.
|
Package enkstest provides test helpers and provisioners. |
|
errcmp
Package errcmp contins a convince helper for checking error conditions in tests
|
Package errcmp contins a convince helper for checking error conditions in tests |
|
keys
Package keys defines the interface to and implementation of key management operations.
|
Package keys defines the interface to and implementation of key management operations. |
|
logging
Package logging sets up and configures logging.
|
Package logging sets up and configures logging. |
|
observability
Package observability sets up and configures observability tools.
|
Package observability sets up and configures observability tools. |
|
render
Package render defines rendering functionality.
|
Package render defines rendering functionality. |
|
secrets
Package secrets defines a minimum abstract interface for a secret manager.
|
Package secrets defines a minimum abstract interface for a secret manager. |
|
server
Package server provides an opinionated http server.
|
Package server provides an opinionated http server. |
|
signal
Package signal provides convenance methods for sending interrupt signals to the self process.
|
Package signal provides convenance methods for sending interrupt signals to the self process. |
|
timeutils
Package timeutils defines functions to close the gaps present in Golang's default implementation of Time.
|
Package timeutils defines functions to close the gaps present in Golang's default implementation of Time. |
|
util
Package util is a CLI tool for generating test exposure key data.
|
Package util is a CLI tool for generating test exposure key data. |
|
verification
Package verification provides verification utilities.
|
Package verification provides verification utilities. |
|
tools
|
|
|
b64decode
command
|
|
|
example-verification-signing
command
This package implements a sample server that implements a piece of the public health authority verification protocol: https://github.com/google/exposure-notifications-server/blob/main/docs/design/verification_protocol.md
|
This package implements a sample server that implements a piece of the public health authority verification protocol: https://github.com/google/exposure-notifications-server/blob/main/docs/design/verification_protocol.md |
|
export-analyzer
command
This tool displays the content of the export file.
|
This tool displays the content of the export file. |
|
export-config
command
This package is used to create entries in the ExportConfig table.
|
This package is used to create entries in the ExportConfig table. |
|
export-generate
command
This utility generates test exports signed with local keys
|
This utility generates test exports signed with local keys |
|
export-viz
command
This tool writes a visualization of an export file.
|
This tool writes a visualization of an export file. |
|
exposure-client
command
This package is a CLI tool for generating test exposure key data.
|
This package is a CLI tool for generating test exposure key data. |
|
federationin-query
command
This package is a CLI tool for creating federationin FederationQuery records.
|
This package is a CLI tool for creating federationin FederationQuery records. |
|
federationout-authorization
command
This package is a CLI tool for creating FederationAuthorization entries, controlling who can access the federationout endpoint.
|
This package is a CLI tool for creating FederationAuthorization entries, controlling who can access the federationout endpoint. |
|
federationout-test
command
This package is a CLI tool for calling the gRPC federationout server, for manual testing.
|
This package is a CLI tool for calling the gRPC federationout server, for manual testing. |
|
gen-metrics-registrar
command
This package is used to create a meta metrics import package.
|
This package is used to create a meta metrics import package. |
|
hexconvert
command
|
|
|
hmac-calculator
command
Unmarshals a public JSON message from a file and calculated the HMAC using the server code.
|
Unmarshals a public JSON message from a file and calculated the HMAC using the server code. |
|
interval
command
This utility takes an exposure notifications interval number and turns it into a timestamp.
|
This utility takes an exposure notifications interval number and turns it into a timestamp. |
|
seed
command
Package main provides a utility that bootstraps the initial database with users and realms.
|
Package main provides a utility that bootstraps the initial database with users and realms. |
|
sign
command
This tool attempts to sign a string with all configured export signing keys in the system.
|
This tool attempts to sign a string with all configured export signing keys in the system. |
|
unwrap-signature
command
This utility unwraps the export.TEKSignatureList proto and extracts the signature so that an export file can be verified with openssl.
|
This utility unwraps the export.TEKSignatureList proto and extracts the signature so that an export file can be verified with openssl. |
|
verify
command
This tool verifies that a SHA256 and signature can be valided by the provided public key.
|
This tool verifies that a SHA256 and signature can be valided by the provided public key. |
|
verify-signature
command
This tool verifies that a SHA256 and signature can be valided by the provided public key.
|
This tool verifies that a SHA256 and signature can be valided by the provided public key. |
Click to show internal directories.
Click to hide internal directories.