Skip to content

Commit 2d7bd09

Browse files
Added a new document for GaraSign Verification
1 parent 1927b0d commit 2d7bd09

2 files changed

Lines changed: 30 additions & 0 deletions

File tree

docs/usage/GaraSign.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# GaraSign - Code Signing
2+
3+
GaraSign is Rocket's new tool for code signing and verifying the detached signatures. Please follow the steps below:
4+
5+
## Verify Command
6+
7+
```bash
8+
openssl dgst -verify <public key file> -signature <signature> <file to verify>
9+
```
10+
11+
### Below is detailed information on how to execute the verify command:
12+
13+
1. Extract the **signature file** and **public key** files from the **'rocket-mvbasic-2.5.0-garasign.zip'** zip file.
14+
15+
2. Unzip the **'rocket-mvbasic-2.5.0-garasign.zip'** zip file and execute the command below for verification:
16+
17+
```bash
18+
openssl dgst -verify rocket_mv.pem.pub.key -signature rocket-mvbasic-2.5.0.vsix.sig rocket-mvbasic-2.5.0.vsix
19+
20+
Verified OK
21+
```
22+
23+
3. Failed use cases:
24+
25+
```bash
26+
openssl dgst -verify rocket_mv.pem.pub.key -signature rocket-mvbasic-2.5.0.vsix.sig rocket-mvbasic-2.5.0.vsix
27+
28+
Verification Failure
29+
```

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ nav:
1515
- 'Diagnostics': usage/Diagnostics.md
1616
- 'Folding': 'usage/Folding.md'
1717
- 'Formatting': 'usage/Formatting.md'
18+
- 'GaraSign': 'usage/GaraSign.md'
1819
- 'Group View': 'usage/GroupView.md'
1920
- 'Hover': 'usage/Hover.md'
2021
- 'INCLUDE settings': 'usage/Include.md'

0 commit comments

Comments
 (0)