README
¶
Arigato Daemon
This folder contains the Arigato Daemon
which is responsible for performing
all cryptographic operations on behalf of the user (through the CLI).
More details are available in the High-Level Architecture Document.
Building and Linting
You can build the daemon using the arigato/cli
Docker container through the
$REPO_HOME/scripts/build.sh
script. To build the container use
$REPO_HOME/scripts/build-container.sh
.
You can develop outside the container using make build
after glide install
.
However, you will manually have to place the binary in
$REPO_HOME/cli/bin/ag-daemon
.
Dependencies
- Go 1.6
- Glide for package vendoring
Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Daemon ¶
type Daemon struct {
// contains filtered or unexported fields
}
Daemon is the arigato coprocess that contains session secrets, handles cryptographic operations, and communication with the registry.
Directories
¶
Path | Synopsis |
---|---|
Package crypto provides access to secure encryption and signing methods
|
Package crypto provides access to secure encryption and signing methods |
Package ctxutil contains utilities for using Contexts.
|
Package ctxutil contains utilities for using Contexts. |
Package db provides persistent storage and caching of values returned from the registry.
|
Package db provides persistent storage and caching of values returned from the registry. |
Package logic exposes the core logic engine used for working with keyrings, keys, claims, teams, memberships, orgs, and other primitive objects core to the cryptography architecture
|
Package logic exposes the core logic engine used for working with keyrings, keys, claims, teams, memberships, orgs, and other primitive objects core to the cryptography architecture |
Package observer provides a facility for publishing progress updates and state changes from parts of the daemon, an a SSE http handler for consumers of these events.
|
Package observer provides a facility for publishing progress updates and state changes from parts of the daemon, an a SSE http handler for consumers of these events. |
Package registry provides access to the Arigato registry REST API.
|
Package registry provides access to the Arigato registry REST API. |
Package session provides in-memory storage of secure session details.
|
Package session provides in-memory storage of secure session details. |