1
0
Fork 0
mirror of https://github.com/Mic92/sops-nix.git synced 2024-12-14 11:57:52 +00:00

sops-install-secrets: improve error message

This commit is contained in:
Jörg Thalheim 2020-07-14 13:49:54 +01:00
parent 6508df75b6
commit b1131e035d
No known key found for this signature in database
GPG key ID: 003F2096411B5F92

View file

@ -326,7 +326,7 @@ func importSSHKeys(keyPaths []string, gpgHome string) error {
return fmt.Errorf("Cannot write secring: %s", err)
}
fmt.Printf("Imported %s with fingerprint %s\n", path, hex.EncodeToString(gpgKey.PrimaryKey.Fingerprint[:]))
fmt.Printf("%s: Imported %s with fingerprint %s\n", os.Args[0], path, hex.EncodeToString(gpgKey.PrimaryKey.Fingerprint[:]))
}
return nil