The new generation chameleon based on NRF52840 makes the performance of card emulation more stable. And gave the chameleon the ability to read, write, and decrypt cards.
It is done by adding a "server" mode (on STDIN/STDOUT) to mfkey32v2 using --server.
This improves the speed of the decrypt process, as it prevents a lot of Python calls to subprocess.Popen() (and of course, a lot of fork/execve syscalls).
On my laptop, with the same logs (37 records for one block and 37 records for another block), here are the performances, as measured using a simple command:
It is done by adding a "server" mode (on STDIN/STDOUT) to
mfkey32v2
using--server
.This improves the speed of the decrypt process, as it prevents a lot of Python calls to
subprocess.Popen()
(and of course, a lot of fork/execve syscalls).On my laptop, with the same logs (37 records for one block and 37 records for another block), here are the performances, as measured using a simple command:
mfkey32v2 --server
Also, the Python code has been cleaned a bit, mostly to improve readability.