mirror of
https://github.com/Mic92/sops-nix.git
synced 2024-12-14 11:57:52 +00:00
fix build with new ssh-to-age library
This commit is contained in:
parent
833bd28f8f
commit
a2d9145e98
1 changed files with 1 additions and 1 deletions
|
@ -644,7 +644,7 @@ func importAgeSSHKeys(logcfg loggingConfig, keyPaths []string, ageFile os.File)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
// Convert the key to age
|
// Convert the key to age
|
||||||
privKey, pubKey, err := agessh.SSHPrivateKeyToAge(sshKey)
|
privKey, pubKey, err := agessh.SSHPrivateKeyToAge(sshKey, []byte{})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Fprintf(os.Stderr, "Cannot convert ssh key '%s': %s\n", p, err)
|
fmt.Fprintf(os.Stderr, "Cannot convert ssh key '%s': %s\n", p, err)
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in a new issue