Skip to content

Commit bb3dac8

Browse files
SNOW-1895435- Expand the documentation - signing verification (#997)
1 parent 67d0c25 commit bb3dac8

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,22 @@ npm pack
114114

115115
Note it is not required to build a package to run tests blow.
116116

117+
118+
Verifying the package signature
119+
----------------------------------------------------------------------
120+
121+
Starting from version v1.13.0 the driver package is signed with a signature allowing to verify its authenticity and integrity.
122+
Steps to verify the signature:
123+
1. Install `cosign`
124+
2. Download the driver package file (`tgz`) from npmjs.org, e.g.: https://registry.npmjs.org/snowflake-sdk/-/snowflake-sdk-1.13.0.tgz
125+
3. Download the signatures file (.sig and .pub) from the release, e.g.: https://github.com/snowflakedb/snowflake-connector-nodejs/releases/download/v1.13.0
126+
4. Verify the signature:
127+
```shell
128+
cosign verify-blob snowflake-sdk-1.13.0.tgz --key snowflake-connector-nodejs-v1.13.0.pub --signature resources.snowflake-sdk-1.13.0.tgz.sig
129+
130+
Verified OK
131+
```
132+
117133
Development
118134
======================================================================
119135

0 commit comments

Comments
 (0)