Skip to content

Releases: angusmillar/SmartHealthCard

8.0.0

25 Nov 09:36
Compare
Choose a tag to compare

.NET 8 Update

6.0.0

12 Mar 13:45
Compare
Choose a tag to compare

.NET 6 Update

Switch from Bitmap to SKData datatypes for QR Code image files with .NET 6 update
As the System.Drawing.Common NuGet package is now attributed as a Windows-specific library, and it can no longer be used in multi-platform libraries. This library's SmartHealthCard.QRCode project has switched to the SkiaSharp library and its SKData datatype for the QR Code images rather than the older Bitmap datatype. You can read more about this change from Microsoft here: System.Drawing.Common only supported on Windows The SHC.EncoderDemo below shows the use of this new datatype.

5.0.0

12 Mar 13:43
Compare
Choose a tag to compare

Update the Nuget package versions to V5.0.0 to align with .NET 5

Relaxed requirement that decoded SHC must have a nbf property

26 Oct 12:24
Compare
Choose a tag to compare

Relaxed requirement that Smart Health Card tokens must have a IssuanceDate (nbf) property when decoding. If not found the library defaults the property to the unix epoch start time of 00:00:00 UTC on 1 January 1970.
GitHub Issue: SmartHealthCardJwsDecoder.DecodePayloadAsync(..., Verify: false) does not disable required SmartHealthCardModel json property checks #10

Added support for a Verifiable Credential type of 'VerifiableCredential'

07 Oct 01:44
Compare
Choose a tag to compare

Added support for a new Verifiable Credential type of 'VerifiableCredential' in response to GitHub Issue: VerifiableCredentialTypes (vc.type) Was Not An Allowed Value #9
This particular type comes from the base W3's specification for Verifiable Credentials and was not highlighted as required in the SMART Health Specification. Reading that base spec here: https://www.w3.org/TR/vc-data-model/#types it is clear that all Verifiable Credentials tokens, SMART Health Card tokens included, should state that they are Verifiable Credentials by setting the type of 'VerifiableCredential' in their Type property. Other downstream specifications for specialised types of Verifiable Credentials, such as SMART Health Cards, can then add their own new types for their purposes. The SMART Health Cards spec does this by adding the specialised types of (https://smarthealth.cards#health-card, https://smarthealth.cards#covid19, https://smarthealth.cards#immunization and https://smarthealth.cards#laboratory) as found here: https://spec.smarthealth.cards/vocabulary/

Critical signature validation bug fix

25 Sep 04:41
Compare
Choose a tag to compare

Fix a critical bug that prevented the library from throwing the required exception when encountering an invalid token signature. Activated the retry behaviour when retrieving JWKS files (Public Keys) during decoding. If the first attempt returns a Retry flag we will wait 250ms before trying again, then 1 sec, 3 sec, 5sec before giving up and returning failed which results in an exception to the calling system.

1.0.1

31 Aug 07:23
Compare
Choose a tag to compare

Update chunks to be 1-based index doe multi QR Code tokens. Thanks go to Kevin Snow
Fixed issue preventing QR Codes from being scanned by verifier apps due to BOM in the compressed payload. Thanks go to Kevin Snow

First major release

11 Jun 06:22
Compare
Choose a tag to compare
1.0.0

Update Readme file and new Nuget packages release V1.0.0

Better error handling

04 Jun 09:38
Compare
Choose a tag to compare
Pre-release
Merge branch 'development'

# Conflicts: Resolved conflict in readme file only
#	README.md

decode the raw QR Code data to a SMART Health Card JWS token

28 May 08:04
Compare
Choose a tag to compare

Added support to decode the raw QR Code data to a SMART Health Card JWS token