Skip to content

Commit 36921ef

Browse files
amanchopra1905surishubham
authored andcommitted
Merge pull request #2262 from amanchopra1905/stage
updated the cli verification
1 parent 697620a commit 36921ef

File tree

4 files changed

+42
-0
lines changed

4 files changed

+42
-0
lines changed
43.1 KB
Loading
99.6 KB
Loading
101 KB
Loading

docs/hyperexecute-cli-run-tests-on-hyperexecute-grid.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,48 @@ You can download the `HyperExecute CLI` for your OS from the links given below :
6666
| Windows | https://downloads.lambdatest.com/hyperexecute/windows/hyperexecute.exe |
6767
| macOS | https://downloads.lambdatest.com/hyperexecute/darwin/hyperexecute |
6868

69+
## Verifying the Authenticity of the CLI
70+
To ensure the binary you’ve downloaded is genuine and has not been tampered with, you can verify its digital signature or code signing certificate. LambdaTest signs all official HyperExecute CLI releases for security and integrity assurance.
71+
72+
<Tabs className="docs__val">
73+
74+
<TabItem value="zsh" label="Linux" default>
75+
You can verify the code signature of the binary using the `openssh` command. Download the [Signature](https://downloads.lambdatest.com/hyperexecute/linux/hyperexecute.sig) and [Public Key](https://downloads.lambdatest.com/hyperexecute/linux/public_key.pem), keep it with your CLI, and paste the location in the below command:
76+
77+
```bash
78+
openssl dgst -sha256 -verify <PUBLIC_KEY_PATH> -signature <SIGNATURE_PATH> <CLI_BINARY_PATH>
79+
```
80+
81+
<img loading="lazy" src={require('../assets/images/hyperexecute/cli/linux-verification.png').default} alt="Image" className="doc_img"/>
82+
83+
</TabItem>
84+
85+
<TabItem value="bash" label="macOS" default>
86+
You can verify the code signature of the binary using the `codesign` command. In your terminal run the following command:
87+
88+
```bash
89+
codesign -dvvv <PATH_TO_CLI>
90+
```
91+
92+
<img loading="lazy" src={require('../assets/images/hyperexecute/cli/mac-verification.png').default} alt="Image" className="doc_img"/>
93+
94+
</TabItem>
95+
96+
<TabItem value="powershell" label="Windows" default>
97+
98+
**Step 1:** Locate the downloaded CLI binary (e.g., hyperexecute.exe). <br />
99+
**Step 2:** Right-click on the file and select Properties. <br />
100+
**Step 3:** Go to the Digital Signatures tab. <br />
101+
**Step 4:** Select the listed signature and click Details. <br />
102+
**Step 5:** Click View Certificate → Details to inspect the certificate information. <br />
103+
104+
This certificate should display LambdaTest, Inc. as the verified publisher.
105+
106+
<img loading="lazy" src={require('../assets/images/hyperexecute/cli/windows-verification.png').default} alt="Image" className="doc_img"/>
107+
108+
</TabItem>
109+
</Tabs>
110+
69111
## HyperExecute CLI Supported Flags
70112

71113
HyperExecute CLI provides different command-line flags that let you control the HyperExecute platform as per your customised requirements. You can run `hyperexecute.exe --help` on your terminal to explore the different flags.

0 commit comments

Comments
 (0)