ssh-agent icon indicating copy to clipboard operation
ssh-agent copied to clipboard

Public Key Printed Out Even With log-public-key set to false

Open allan-mobley-jr opened this issue 2 years ago • 4 comments

Using your GitHub action as follows:

name: Add SSH Key to Agent
uses: webfactory/[email protected]
with:
  ssh-private-key: ${{ secrets.MOBSITES_SSH_PRIVATE_KEY }}
  log-public-key: false

However, public key is still logged in GitHub Workflow logs when step runs.

allan-mobley-jr avatar Sep 25 '23 15:09 allan-mobley-jr

Facing the same issue.

rarrais avatar Nov 21 '23 11:11 rarrais

This sounds similar to #75, #81 and #89 and #167. Are you sure it's the private key that's being logged and not the public key fingerprint?

sebastiankugler avatar Nov 21 '23 11:11 sebastiankugler

Who said anything about the private key being logged out?

allan-mobley-jr avatar Nov 21 '23 11:11 allan-mobley-jr

Sorry for not reading your message properly.

sebastiankugler avatar Nov 21 '23 11:11 sebastiankugler