CMAC signature in the NFC applet

Today I was reading the API docs ( Verify API - VivoKey Technologies ) and I wanted to try the CMAC signature trick.

My understanding is that if I write any record including the string {AES128_CMAC_SIGNATURE_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX} when I read it, it will magically show the salted signature, correct?

I tried on my apex, but when I read my new record with TagInfo I still see the long series of X, no magic signature. I guess this means I have an older version of the applet? Or I misunderstood the workflow?

1 Like

It seems to work for me. But only on the last record containing the token. After writing this text record, i have three ndef records on this apex.

2 Likes

Thanks for the test! i think I gotta update

2 Likes

A good test URL is the one from the API docs;

https://vivokey.com/demo/sigtest/?s={AES128_CMAC_SIGNATURE_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX}

This URL will take the signature received and use our test API key with the API to obtain validated unsigned JSON from /validate.json (so it’s readable). If you prefer the signed JWT just use /validate in your own solution.

3 Likes

I confirm I just needed to uodate: alas! old cyborgs and their outdated software

1 Like