Skip to content

Commit 42ed140

Browse files
authored
Merge pull request #206
docs: add section on build asset attestation to README
2 parents e327c3d + 5b046c8 commit 42ed140

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ Enterprise-grade cross-platform SDK for YubiKey integration, built on .NET.
3737
- [Yubico.Core](#yubicocore)
3838
- [Internal Assemblies](#internal-assemblies)
3939
- [Yubico.NativeShims](#yubiconativeshims)
40+
- [Build asset attestation](#build-asset-attestation)
4041
- [Project Structure](#project-structure)
4142
- [Contributing](#contributing)
4243
- [Building the Project](#building-the-project)
@@ -98,6 +99,12 @@ Platform abstraction layer (PAL) providing:
9899
> 🔧 **Unmanaged Library**
99100
> Provides stable ABI for P/Invoke operations in Yubico.Core.
100101
102+
## Build asset attestation
103+
Using [GitHub Attestations](https://docs.github.com/en/actions/security-for-github-actions/using-artifact-attestations/using-artifact-attestations-to-establish-provenance-for-builds), you are able to verify that the NuGet package has been generated from our repository, right down to the specific GitHub Action that built it like this:
104+
`> gh attestation verify .\Yubico.Core.1.12.0.nupkg --repo Yubico/Yubico.NET.SDK`
105+
106+
Note that you need to have the [`gh`](https://cli.github.com/) CLI installed.
107+
101108
## Project Structure
102109

103110
Repository organization:

0 commit comments

Comments
 (0)