Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slix emulation still broken since NFC refactor #3630

Closed
Didgitalpunk opened this issue May 2, 2024 · 6 comments
Closed

Slix emulation still broken since NFC refactor #3630

Didgitalpunk opened this issue May 2, 2024 · 6 comments
Assignees
Labels
Bug NFC NFC-related

Comments

@Didgitalpunk
Copy link

Describe the bug.

Slix2 tag emulation still does not work after refactor.
tested against a Dymo labelwriter's DRM by scanning an authentic roll's tag then placing my flipper inside the printer where the tag would be.
Pre-refactor, works as intended, printer detect the emulated roll.
Post-refactor, same tag dump, no go. new tag dump, still no go.

tested with firmwares 0.90.1 for pre-refactor version, and 0.101.2 (since released, and a few before that as well)

Reproduction

scan roll's tag.
emulate roll tag
place flipper inside the printer against the nfc reader
pre-refactor, printer detects the roll that's emulated, post-refactor, nothing happens.

Target

No response

Logs

No response

Anything else?

No response

@doomwastaken doomwastaken added NFC NFC-related Bug labels May 2, 2024
@gornekich gornekich self-assigned this May 2, 2024
@gornekich
Copy link
Member

@Didgitalpunk thanks for the report. Could you please specify exact model of your labelwriter and roll? We need it to reproduce the issue

@Didgitalpunk
Copy link
Author

printer's a labelwriter 550 turbo, tested with 28x89 standard adress labels as well as 36x89 Large aderss labels

@mxcdoam
Copy link

mxcdoam commented May 3, 2024

I tried to emulate SLIX-S and Tag-It HF, both times - unsuccessful. The reader doesn't react and debug log says:
[D][Iso15693_3Listener] Wrong CRC, buffer size: 8
and
[D][Iso15693Parser] Frame parse failed
slix-s.log

tag-it.log

@gornekich
Copy link
Member

Hello @Didgitalpunk

In #3652 arrived workaround for this issue. When you insert roll with tag, Dymo reads tag with password. When flipper reads the tag, it doesn't read the password, since it doesn't know it. The pre-refactored firmware version accepted any password, which is not correct from protocol implementation point of view.

The perfect solution for this issue would be separate plugin, which reads Dymo tags with password. If success, flipper stores full data with password and can fully emulate the tag. However we need to know the key derivative function for Dymo tags, which is a big task for research.

In mentioned pull request I added a workaround. You can read the tag, save it and change Capability field from Default to AcceptAllPasswords. You should do it manually editing the saved file. After that the emulation will accept any passwords sent by Dymo reader and emulation should work.

Please, update the firmware to latest dev, try the workaround and let me know if the issue persists

@Didgitalpunk
Copy link
Author

Thanks for the potential fix! I'll try it out tomorrow, printer's at work :)

@Didgitalpunk
Copy link
Author

Fix works, printer now detects scanned tags! ty!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug NFC NFC-related
Projects
None yet
Development

No branches or pull requests

4 participants