# CMAC signature in the NFC applet

**URL:** <https://forum.dangerousthings.com/t/cmac-signature-in-the-nfc-applet/27058>\
**Category:** VivoKey Apex\
**Created:** [October 18, 2025, 8:04pm UTC](https://forum.dangerousthings.com/t/cmac-signature-in-the-nfc-applet/27058 "2025-10-18T20:04:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Naus3a](https://forum.dangerousthings.com/user_avatar/forum.dangerousthings.com/naus3a/32/1488_2.png) [@Naus3a](https://forum.dangerousthings.com/u/Naus3a)\
**Post date:** [October 18, 2025, 8:04pm UTC](https://forum.dangerousthings.com/t/cmac-signature-in-the-nfc-applet/27058/1 "2025-10-18T20:04:31Z")

</div>

Today I was reading the API docs ( [Verify API - VivoKey Technologies](https://vivokey.com/api/) ) 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](https://forum.dangerousthings.com/t/how-to-share-nfc-chip-data-via-taginfo-app) 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?

---

<div class="post-metadata">

**Author:** ![tac0s](https://forum.dangerousthings.com/user_avatar/forum.dangerousthings.com/tac0s/32/10652_2.png) [@tac0s](https://forum.dangerousthings.com/u/tac0s)\
**Post date:** [October 18, 2025, 8:24pm UTC](https://forum.dangerousthings.com/t/cmac-signature-in-the-nfc-applet/27058/2 "2025-10-18T20:24:41Z")

</div>

![Screenshot_20251018-132045](https://dangerousthings-forum.b-cdn.net/original/3X/3/a/3a1142845de51c1b1e8bbcbd7dea774e1c4d3905.png)

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.

---

<div class="post-metadata">

**Author:** ![Naus3a](https://forum.dangerousthings.com/user_avatar/forum.dangerousthings.com/naus3a/32/1488_2.png) [@Naus3a](https://forum.dangerousthings.com/u/Naus3a)\
**Post date:** [October 18, 2025, 8:27pm UTC](https://forum.dangerousthings.com/t/cmac-signature-in-the-nfc-applet/27058/3 "2025-10-18T20:27:40Z")

</div>

Thanks for the test! i think I gotta update

---

<div class="post-metadata">

**Author:** ![amal](https://forum.dangerousthings.com/user_avatar/forum.dangerousthings.com/amal/32/37192_2.png) [@amal](https://forum.dangerousthings.com/u/amal)\
**Post date:** [October 18, 2025, 9:19pm UTC](https://forum.dangerousthings.com/t/cmac-signature-in-the-nfc-applet/27058/4 "2025-10-18T21:19:47Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Naus3a](https://forum.dangerousthings.com/user_avatar/forum.dangerousthings.com/naus3a/32/1488_2.png) [@Naus3a](https://forum.dangerousthings.com/u/Naus3a)\
**Post date:** [October 19, 2025, 7:00am UTC](https://forum.dangerousthings.com/t/cmac-signature-in-the-nfc-applet/27058/5 "2025-10-19T07:00:36Z")

</div>

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