Add support for authentication via ssh certificates and pub/privatekey #442

Merged
6543 merged 11 commits from 42wim/tea:sshcert into main 2022-09-14 19:00:09 +00:00
Showing only changes of commit 7e2edacb4a - Show all commits

View File

@ -14,7 +14,7 @@ import (
"golang.org/x/crypto/ssh"
)
// LoadSSHPubkey lsts all the ssh keys in the ssh agent and the ~/.ssh/*.pub files
// ListSSHPubkey lists all the ssh keys in the ssh agent and the ~/.ssh/*.pub files
// It returns a list of SSH keys in the format of:
// "fingerprint keytype comment - principals: principals (ssh-agent or path to pubkey file)"
func ListSSHPubkey() []string {