{{define "footleft"}}barerepo{{end}} {{define "body" -}}
barerepo new account
sign in
{{if .Error}}
{{.Error}}{{if .Unknown}} make one, or check the spelling.{{end}}
{{end}} {{if .Nonce}}
nonce
{{.Nonce}}
sign it
printf '%s' '{{.Nonce}}' | ssh-keygen -Y sign -f ~/.ssh/id_ed25519 -n barerepo-auth -
stock openssh, nothing to install, nothing left on disk. this nonce is good for 10 minutes.
signature
{{else}}
name
we give you a nonce. you sign it with the key you already have.
printf '%s' '<nonce>' | ssh-keygen -Y sign -f ~/.ssh/id_ed25519 -n barerepo-auth -
that is stock openssh. nothing to install.
or br auth {{if .Name}}{{.Name}}{{else}}<name>{{end}}, which does the same thing in one step.
{{end}}
{{- end}}