Philippe Teuwen
Philippe Teuwen
we should be able to trap the ctrl-c and save before exit I would avoid writing the file at each cmd
```c #include #include void intHandler(int) { savehist...; } int main(int argc, char *argv[]) { struct sigaction act; act.sa_handler = intHandler; sigaction(SIGINT, &act, NULL); ... } ```
this might help https://stackoverflow.com/a/34675886
Note that we've already similar SIGINT handler: https://github.com/RfidResearchGroup/proxmark3/blob/e72fbb4983ac1775968081c763c3b1dde36eb90e/client/src/proxmark3.c#L164-L168
What is the status exactly today ? On Linux it seems to always save the history properly on ctrl-c. I seldom encountered history files saved with corrupted filenames in the...
## Notes to ppl testing this feature About passports not working at first sight: * tag antenna can be at different places: front cover, back cover, second page with ID...
Just to keep track of it, there is an interesting bit of code here to be able to parse the PKCS#7 certificate with mbedtls https://github.com/qemu/skiboot/commit/9e7a4b327050101ec629b4028c2f7a452d7d5c0c
Testing `hf felica reader`: * FeliCa RC-S833 => ok * FeliCa RC-S915 => ok * FeliCa RC-S888 / RC-S962 => all card failed being detected * FeliCa RC-S886 / RC-S965...
Btw NXP TagInfo doesn't show me the "service code 020B" shown by `felica reader` but it shows an additional Primary System Code of either 12FC or 88B4. I guess all...