console

command
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: AGPL-3.0 Imports: 21 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command console is the minimal console of the SSH install test (test/sshinstall): NodeService.Enroll only, plus a plain HTTP side for the test script. It is not part of any release artifact.

Enroll follows the console (ADR-0067, Enroll idempotent by key): a CSR whose public key already belongs to a node gets that node back with a new certificate when the token is the one that node used, or an unused token of the node's cluster; any other token is refused. A node is never created twice for one key.

HTTP side (--http):

GET  /pin                  the CA pin (hex SHA-256)
POST /token?t=T&cluster=C  add a single-use token of cluster C
                           (default cluster-ssh)
POST /mode?delay=D&lose=N  delay each Enroll answer by D; lose the
                           answers of the next N enrollments (the
                           certificate is issued, the node gets an error)
GET  /state                {"enrollments": n, "nodes": {id: spki}}
                           (clusters are not shown)
GET  /mirror/...           files of --mirror (install.sh's --mirror)

Jump to

Keyboard shortcuts

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