Notifications
Clear all
Topic starter 26/01/2022 3:50 pm
For those who want to know what data your European Covid certificate QR code actually contains: decoding it was simple.
The data is compressed and encoded according to the following scheme:
Base45 / Zlib / COSE / CBOR.
The hard part is not decoding it, but re-encoding it with altered data, as asymmetric encryption is used here and private key is needed to encode it. Difficult, but not impossible.
{
"4" : 1683849600,
"6" : 1628326957,
"1" : "IT",
"-260" : {
"1" : {
"v" : [ {
"dn" : 2,
"ma" : "ORG-100030215",
"vp" : "1119349007",
"dt" : "2021-09-02",
"co" : "IT",
"ci" : "01IT0C597F6850EB405F9D3A5BDD373D4864#8",
"mp" : "EU/1/20/1528",
"is" : "Ministero della Salute",
"sd" : 2,
"tg" : "840539006"
} ],
"nam" : {
"fnt" : "VIOTTO",
"fn" : "VIOTTO",
"gnt" : "FRANCESCO",
"gn" : "FRANCESCO"
},
"ver" : "1.0.0",
"dob" : "1990-05-20"
}
}
}