trc

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 14, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cmd = &cobra.Command{
	Use:   "trc",
	Short: "Generate TRCs for the SCION control plane PKI",
	Long: `
'trc' can be used to generate Trust Root Configuration (TRC) files used in the SCION control
plane PKI.

Selector:
	*
		All ISDs under the root directory.
	X
		ISD X.
'trc' needs to be pointed to the root directory where all keys and certificates are
stored on disk (-d flag). It expects the contents of the root directory to follow
a predefined structure:
	<root>/
		ISD1/
			isd.ini
			AS1/
			AS2/
			...
		ISD2/
			isd.ini
			AS1/
			...
		...
isd.ini contains the preconfigured parameters according to which 'trc' generates
the TRCs. It follows the ini format and can contain only the default section with
the following values:
	Description [optional]
		arbitrary string used to describe the ISD/TRC
and a section 'TRC' with the following values:
	Version [required]
		integer representing the version of the TRC
	Validity [required]
		the validity of the TRC as a duration string, e.g., 180d or 36h
	CoreASes [required]
		comma-separated list of ISD-AS identifiers representing the core ASes of the ISD.
	IssuingTime (now) [optional]
		the time the TRC was created as a UNIX timestamp
	GracePeriod (0) [optional]
		integer reprensenting the time the previous TRC is still valid in seconds
	QuorumTRC [required]
		integer reprensenting the number of core ASes needed to sign a new TRC.
`,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL