Skip to content

s1-agent-install-repo.sh fails with "Site Token does not decode correctly." #48

Description

@JFish222

Description:
Failing validation at line 102 of linux/s1-agent-install-repo.sh

Steps to recreate:
Setting the appropriate variables, I ran the following command:
sudo ./s1-agent-install-repo.sh S1_REPOSITORY_USERNAME S1_REPOSITORY_PASSWORD S1_SITE_TOKEN S1_AGENT_VERSION

Output:

INFO:  Found 4 arguments that were passed to the script. 

base64: invalid input

ERROR:  Site Token does not decode correctly.  Please ensure that you've passed a valid Site Token as the first argument to the script. 

Additional Testing
I validated the base64 decode, and can't identify the source of the failure.

Ran:
echo $S1_SITE_TOKEN | base64 -d

Output:
{"url": "https://usea1-pax8-exsp.sentinelone.net", "site_key": "<redacted>"}

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions