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

add option use-base64 for encoded key

Open sheng-kenbun opened this issue 1 year ago • 1 comments

Hello,

we try to use act to run a workflow locally. The problem is, in act we can not input the ssh-key as secret as multi-lines using the .actrc config file. One solution is, the ssh-key is base64 encoded and can be passed to act using the .actrc file. From the action ssh-agent the string will be base64 decoded before it is passed to the command ssh-agent - ....

This behaviour is controlled by an additional option use-base64.

Please review the changes and make a decision ob this PR should be merged. Thanks!

Best regards, Li Sheng

sheng-kenbun avatar Sep 15 '23 13:09 sheng-kenbun

It would be great to have this

ricbir avatar Feb 23 '24 13:02 ricbir