mirror of
https://github.com/fosrl/newt.git
synced 2026-10-14 00:29:07 +02:00
committed by
Owen Schwartz
parent
2f7843859b
commit
889e0439a8
+1
-11
@@ -7,17 +7,7 @@ import "fmt"
|
||||
var errLinuxOnly = fmt.Errorf("auth-daemon PAM agent is only supported on Linux")
|
||||
|
||||
// writeCACertIfNotExists returns an error on non-Linux.
|
||||
func writeCACertIfNotExists(path, contents string) error {
|
||||
return errLinuxOnly
|
||||
}
|
||||
|
||||
// ensureSSHDTrustedUserCAKeys returns an error on non-Linux.
|
||||
func ensureSSHDTrustedUserCAKeys(sshdConfigPath, caCertPath string) error {
|
||||
return errLinuxOnly
|
||||
}
|
||||
|
||||
// reloadSSHD returns an error on non-Linux.
|
||||
func reloadSSHD(reloadCmd string) error {
|
||||
func writeCACertIfNotExists(path, contents string, force bool) error {
|
||||
return errLinuxOnly
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user