ehn-dcc-development / hcert-kotlin

Kotlin multiplatform implementation of the HCERT/DCC specification
Apache License 2.0
25 stars 25 forks source link

Track cbor-node Upstream #42

Closed JesusMcCloud closed 3 years ago

JesusMcCloud commented 3 years ago

We are currently using a patched cbor library, due to an issue wrt. date strings. We should therefore track upstream until PR 145 is merged.

hildjj commented 3 years ago

As mentioned on the issue, you can use this instead of a patched library:

cbor.decodeFirstSync(input, {
  tags: {
    0: x => x
  }
})
JesusMcCloud commented 3 years ago

Works perfectly, thanks! 1f95791d4a8781b0ae0ea703078d283eb546494a uses upstream cbor-node again.