Documentation
¶
Index ¶
- func DirExists(s string) bool
- func FileExists(s string) bool
- func FlushHandle(tpm transport.TPM, h handle)
- func GetSSHDir() string
- func GetSystemdUserDir() string
- func GetTPM(f bool) (transport.TPMCloser, error)
- func InstallSshdConf() error
- func InstallSystemUnits() error
- func InstallUserUnits(global bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶ added in v0.2.0
func GetSystemdUserDir ¶
func GetSystemdUserDir() string
func InstallSshdConf ¶ added in v0.2.0
func InstallSshdConf() error
func InstallSystemUnits ¶
func InstallSystemUnits() error
func InstallUserUnits ¶ added in v0.2.0
Installs user units to the target system. It will either place the files under $HOME/.config/systemd/user or if global is supplied (through --install-system) into system user directories.
Passing the env TEMPLATE_BINARY will use /usr/bin/ssh-tpm-agent for the binary in the service
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.