Skip to content

Commit

Permalink
SNOW-1758373 Documentation for package signature verification (#1049)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-knozderko authored Nov 5, 2024
1 parent d69e2cb commit 4392447
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 @@ -75,6 +75,22 @@ Alternatively, packages can also be downloaded using Package Manager Console:
PM> Install-Package Snowflake.Data
```

# Verifying the package signature

Starting from version v4.2.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 (`.nupkg`) from nuget, e.g.: https://www.nuget.org/packages/Snowflake.Data/4.2.0
3. Download the signatures file from the release, e.g.: https://github.com/snowflakedb/snowflake-connector-net/releases/tag/v4.2.0
4. Verify the signature, e.g:
```shell
cosign verify-blob snowflake.data.4.2.0.nupkg \
--key snowflake-connector-net-v4.2.0.pub \
--signature Snowflake.Data.4.2.0.nupkg.sig

Verified OK
```

# Testing and Code Coverage

[Running tests](doc/Testing.md)
Expand Down

0 comments on commit 4392447

Please sign in to comment.