Documentation
¶
Overview ¶
Package sshkeys turns stored SSH keys into the jokku user's authorized_keys, where every key is bound to "jokku ssh-command".
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ValidName = regexp.MustCompile(`^[A-Za-z0-9][A-Za-z0-9._@-]{0,63}$`)
ValidName matches key names that are safe to embed in a forced command without quoting.
Functions ¶
func Parse ¶
Parse validates a single public key line and returns it normalized (type and base64 only, no comment or options) along with its SHA256 fingerprint.
Types ¶
Click to show internal directories.
Click to hide internal directories.