feat: log output

This commit is contained in:
Julian Tölle 2024-04-30 23:48:59 +02:00
parent 4f57df5b66
commit 904e5e0bed
8 changed files with 133 additions and 23 deletions

View file

@ -7,6 +7,8 @@ import (
"golang.org/x/crypto/ssh"
)
// From https://gitlab.com/hetznercloud/fleeting-plugin-hetzner/-/blob/0f60204582289c243599f8ca0f5be4822789131d/internal/utils/ssh_key.go
func GenerateKeyPair() ([]byte, []byte, error) {
pub, priv, err := ed25519.GenerateKey(nil)
if err != nil {