Skip to content

Commit

Permalink
SNOW-1895435- Expand the documentation - signing verification (#997)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-pmotacki authored Jan 24, 2025
1 parent 67d0c25 commit bb3dac8
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,22 @@ npm pack

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


Verifying the package signature
----------------------------------------------------------------------

Starting from version v1.13.0 the driver package is signed with a signature allowing to verify its authenticity and integrity.
Steps to verify the signature:
1. Install `cosign`
2. Download the driver package file (`tgz`) from npmjs.org, e.g.: https://registry.npmjs.org/snowflake-sdk/-/snowflake-sdk-1.13.0.tgz
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
4. Verify the signature:
```shell
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

Verified OK
```

Development
======================================================================

Expand Down

0 comments on commit bb3dac8

Please sign in to comment.