Help us shape the future of Go! Take the 2026 Go Developer Survey

principal

package
v0.22.0-test2 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2026 License: Apache-2.0, Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package principal implements Epithet's deterministic SSH certificate principal schemes. Issuers and target-host authorization helpers share this package so the byte-level protocol has one public implementation.

Index

Constants

View Source
const SchemeV1 = "epithet-principal-v1"

SchemeV1 is both the visible prefix of a v1 principal and the domain separator framed into its digest input.

Variables

This section is empty.

Functions

func DeriveV1

func DeriveV1(hostID hostid.ID, account string) (string, error)

DeriveV1 derives the destination-bound certificate principal for account on the host identified by hostID. The canonical host-ID text and account are used byte-for-byte.

Types

This section is empty.

Jump to

Keyboard shortcuts

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