recover

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: MIT Imports: 7 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

Package recover emits break-glass recovery material, ported from facade.recovery_script + _recovery_snippet. With no key it returns the full interactive fixkeys tool; with a key name it returns a self-contained POSIX snippet that re-adds that key to authorized_keys.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Script

func Script(p paths.Paths, m *manifest.Manifest, selector string) (string, error)

Script returns the recovery material: the full fixkeys tool when selector is empty, else a per-key re-add snippet. Mirrors facade.recovery_script.

Types

This section is empty.

Jump to

Keyboard shortcuts

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