MHN
Add a comment on Hacker News →
4 of 141 commentsUpdating…
  1. What's the general consensus around ssh-agent?

    It's often the case that we make much effort into securing the key but expose it via an open agent socket at a well known path or use an open control master path for multiplexing.

    Certain automation and dev tools like Ansible make it a pain to work if agent key requires a confirmation.

  2. Isn't a GitHub app project Secretive doing that but better?

  3. I have applied this at our company using Secretive, and extended to sudo over SSH: The remote end uses an SSH Agent PAM module that forwards sudo requests to the connected SSH Agent, which is Secretive running on the employee Macs, so we get remote sudo with TouchID prompts.

    No more passwords to enter anywhere, and whatever an (AI) agent or malware is trying to do will require a human interaction at least, and not work when the screen is locked. The public keys authorized for this are distributed to the fleet via puppet, so we get control over who gets to sudo permissions and can easily provision or decommission machines.

    Pretty stoked about it so far.

  4. Any reason to not store in a kdbx file this way your keys are platform independent.