Skip to content

Conversation

@danfruehauf
Copy link
Owner

Fix files accessed through plugin as root. Identify and fix access to:

  • Private SSH key file (if key authentication is used)
  • known_hosts file

Make use of nm_utils_copy_cert_as_user() where those files are accessed, then use the copy of the file, instead of the actual file

Fixes and addresses #136

Needs to be thoroughly tested.

Fix files accessed through plugin as root. Identify and fix access to:
 * Private SSH key file (if key authentication is used)
 * known_hosts file

Make use of nm_utils_copy_cert_as_user() where those files are accessed,
then use the copy of the file, instead of the actual file
@danfruehauf danfruehauf force-pushed the safe_private_file_access branch from 43ae2fa to 1c3f929 Compare December 23, 2025 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants