| Version | Supported |
|---|---|
| 2.x | Yes |
| 1.x | No |
Version 1.x depends on packages with known vulnerabilities (through its .NET Standard 1.3 target). Please upgrade to 2.x.
Please report vulnerabilities privately through GitHub private security advisories. Do not open a public issue.
We aim to acknowledge reports within five business days and will keep you informed of the progress of a fix. Please do not publish details until a fix is released.
UnitConversion is a pure computation library with no dependencies, no network or file access and no native code. Reports about the behaviour of the library itself (for example input that causes a crash or an unbounded loop) are in scope. Vulnerabilities in the .NET runtime or in your build tools should be reported to their maintainers.
From the first release made after version 2.0.0, each package published to NuGet is built by this repository's release workflow, which attests its build provenance and signs it with Sigstore. The signature bundle (UnitConversion.<version>.nupkg.sigstore.json) is attached to the GitHub release, together with a software bill of materials. To check a downloaded package:
gh attestation verify UnitConversion.<version>.nupkg --repo atulmish/UnitConversion
cosign verify-blob UnitConversion.<version>.nupkg \
--bundle UnitConversion.<version>.nupkg.sigstore.json \
--certificate-identity-regexp 'https://github.com/atulmish/UnitConversion/.github/workflows/release.yml@refs/tags/v.*' \
--certificate-oidc-issuer https://token.actions.githubusercontent.comBoth commands fail if the file was not produced by that workflow from a version tag.