-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
I've been trying to use this action and its failing with whats looks like parsing or command line assembly issue:
Shell Cmd: /bin/bash
Exec Cmd : /home/runner/work/redacted/codesign/CodeSignTool-v1.3.0/CodeSignTool.sh
CodeSigner Command: /bin/bash /home/runner/work/redacted/codesign/CodeSignTool-v1.3.0/CodeSignTool.sh batch_sign -username="***" -***" -credential_id="***" -totp_secret="***" -input_dir_path="/home/runner/work/redacted/dist" -output_dir_path="/home/runner/work/redacted/dist-signed"
Malware scan is: disabled
/bin/bash /home/runner/work/personal-edition/personal-edition/codesign/CodeSignTool-v1.3.0/CodeSignTool.sh batch_sign -username=*** -***;r/<}4#Mf:;6 -credential_id=*** -totp_secret=*** -input_dir_path=/home/runner/work/redacted/dist -output_dir_path=/home/runner/work/redacted/dist-signed
Missing required option: '-input_dir_path=<inputDirPath>'
Usage: CodeSignTool batch_sign [-hV] [-credential_id=<credentialId>]
-input_dir_path=<inputDirPath>
[-output_dir_path=<outputDirPath>]
-***
[-program_name=<programName>]
[-totp_secret=<totpSecret>] -username=<username>
Batch sign
-credential_id=<credentialId>
Credential ID
-h, --help Show this help message and exit.
-input_dir_path=<inputDirPath>
Input directory path where to pick unsigned files
-output_dir_path=<outputDirPath>
Directory where signed code objects will be written
-*** RA password
-program_name=<programName>
Program name
-totp_secret=<totpSecret>
TOTP secret
-username=<username> RA username
-V, --version Print version information and exit.
Error: Something Went Wrong. Please try again.
As you can see it is complaining about a missing parameter which is clearly present. But somehow Githubs workflow logs show me part of our password and not -password=*** as it should.
I assume there is some special character in our password which causes a problem for code which assembles the command line. Or maybe the code which reads the password.
How I invoke the action:
- name: Sign Windows binaries
uses: sslcom/esigner-codesign@v1.3.1
with:
command: batch_sign
username: ${{ secrets.ESIGN_USERNAME }}
password: ${{ secrets.ESIGN_PASSWORD }}
credential_id: ${{ secrets.ESIGN_CREDENTIAL_ID }}
totp_secret: ${{ secrets.ESIGN_TOTP_SECRET }}
dir_path: ${{ github.workspace }}/dist
output_path: ${{ github.workspace }}/dist-signed
malware_block: false
environment_name: TEST
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels