Skip to content

"Read(~/.ssh/**)" too restrictive? #36

@compojoom

Description

@compojoom

I was wondering from security perspective - isn't "Read(~/.ssh/**)" too restrictive? We want to protect accidental key leakage, but with this rule we also prevent reading known_hosts.

and known_hosts is necessary if one wants to do "git push". In sandbox mode my process dies with:

The push failed due to a sandbox restriction on reading ~/.ssh/known_hosts. Let me retry without the sandbox.

What about something like this:

      "Read(~/.ssh/id_*)",
      "Read(~/.ssh/config)",
      "Read(~/.ssh/authorized_keys)",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions