ssh-agent
ssh-agent copied to clipboard
Base64 Private key
Would it be possible to provide the private key in base64, i think this would be useful when using act to run the actions locally. You can load all secrets from a file with .env format and its hard to put the private key in there
@hayesOw I had the same issue. Found a hint in act manual about multiline secrets. https://nektosact.com/beginner/index.html#envsecrets-files-structure
A line break has to be a string \n.
I tested it and it works.
You can convert a key file with this command:
sed ':a;N;$!ba;s/\n/\\n/g' ssh-key-file