ehn-dcc-development / hcert-kotlin

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

Truncate kid #2

Closed M3kH closed 3 years ago

M3kH commented 3 years ago

I browse a bit trough the implementations, and I couldn't see where the Kid gets truncated (at 8 bytes).

Is this implementation following this specs ?

asitplus-pteufl commented 3 years ago

Yeah, it follows the specs (hopefully :-), this is the chain as it is going to be used in Austria for QR generation. You can find the code here which refers to PKIUtils: the specific line is here.

M3kH commented 3 years ago

@asitplus-pteufl Thanks for the answer!