snyk 1.1083.0 → 1.1085.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/dist/cli/784.index.js +1 -1
- package/dist/cli/784.index.js.map +1 -1
- package/dist/cli/917.index.js +6 -6
- package/dist/cli/917.index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -103,9 +103,9 @@ grep snyk-macos sha256sums.txt.asc | sha256sum -c -
|
|
|
103
103
|
If you want to verify Snyk CLI standalone binaries against [Snyk CLI GPG key](help/_about-this-project/snyk-code-signing-public.pgp), you will need to import it first:
|
|
104
104
|
|
|
105
105
|
```bash
|
|
106
|
-
#
|
|
106
|
+
# A22665FB96CAB0E0973604C83676C4B8289C296E is the key belonging to code-signing@snyk.io
|
|
107
107
|
# Copy of this public key is also in this repository /help/_about-this-project/snyk-code-signing-public.pgp
|
|
108
|
-
gpg --keyserver hkps://keys.openpgp.org --recv-keys
|
|
108
|
+
gpg --keyserver hkps://keys.openpgp.org --recv-keys A22665FB96CAB0E0973604C83676C4B8289C296E
|
|
109
109
|
```
|
|
110
110
|
|
|
111
111
|
Then verify the file is signed with:
|
|
@@ -117,12 +117,12 @@ gpg --verify sha256sums.txt.asc
|
|
|
117
117
|
Command output should look like:
|
|
118
118
|
|
|
119
119
|
```plain
|
|
120
|
-
gpg: Signature made
|
|
121
|
-
gpg: using
|
|
120
|
+
gpg: Signature made So 8 Jan 14:11:44 2023 CET
|
|
121
|
+
gpg: using EDDSA key A22665FB96CAB0E0973604C83676C4B8289C296E
|
|
122
122
|
gpg: Good signature from "Snyk Limited <code-signing@snyk.io>" [unknown]
|
|
123
123
|
gpg: WARNING: This key is not certified with a trusted signature!
|
|
124
124
|
gpg: There is no indication that the signature belongs to the owner.
|
|
125
|
-
Primary key fingerprint:
|
|
125
|
+
Primary key fingerprint: A226 65FB 96CA B0E0 9736 04C8 3676 C4B8 289C 296E
|
|
126
126
|
```
|
|
127
127
|
|
|
128
128
|
</details>
|
package/dist/cli/784.index.js
CHANGED
|
@@ -4448,7 +4448,7 @@ async function getCodeAnalysis(root, options, sastSettings, requestId) {
|
|
|
4448
4448
|
environmentVariableNamespace: '',
|
|
4449
4449
|
});
|
|
4450
4450
|
}
|
|
4451
|
-
const sessionToken = api_token_1.
|
|
4451
|
+
const sessionToken = api_token_1.getAuthHeader();
|
|
4452
4452
|
const severity = options.severityThreshold
|
|
4453
4453
|
? severityToAnalysisSeverity(options.severityThreshold)
|
|
4454
4454
|
: code_client_1.AnalysisSeverity.info;
|