summaryrefslogtreecommitdiffstats
path: root/reversing_tools/abbott/extract_freestyle.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Depend on freestyle-hid for FreeStyle support and remove tools.Diego Elio Pettenò2020-10-041-245/+0
| | | | | | | | | Instead of maintaining the reversing tools for Abbott FreeStyle devices in this repository, they are now part of their own project (https://github.com/glucometers-tech/freestyle-hid), making it easier to split the dependencies requirements. The basic I/O of the FreeStyle session is also implemented in that library.
* Update pre-commit plugins to the latest versions as of today.Diego Elio Pettenò2020-09-071-1/+4
|
* Extend the Libre2 encryption reversing tool.Diego Elio Pettenò2020-08-031-0/+42
|
* Expect an input file as argument instead.Diego Elio Pettenò2020-08-031-2/+2
|
* freestyle_libre: extract non-encrypted metadata from encrypted messages.Diego Elio Pettenò2020-05-251-3/+17
| | | | | The sequence number and MAC are not actually encrypted, so they can be extracted as METADATA.
* extract_freestyle: print metadata about messages outside of the message.Diego Elio Pettenò2020-05-251-0/+12
| | | | This makes it easier to figure out what the message length is meant to be.
* Fix the help messages.Diego Elio Pettenò2020-05-251-3/+3
|
* Fix up header.Diego Elio Pettenò2020-05-251-15/+2
|
* Remove f-string prefix from strings with no placeholders.Diego Elio Pettenò2020-05-161-1/+1
|
* Add missing SPDX-FileCopyrightText throughout the project.Diego Elio Pettenò2020-03-271-0/+1
| | | | This is following the advice provided in https://matija.suklje.name/how-and-why-to-properly-write-copyright-statements-in-your-code
* Fix errors identified by flake8.Diego Elio Pettenò2020-03-261-1/+2
|
* format code with blackBen2020-03-081-38/+71
|
* Clean up the extraction script, and make it more user friendly.Diego Elio Pettenò2020-02-011-13/+37
| | | | | | | | | This includes changes to the flags, so that instead of an address prefix you need to provide a full device address, and instead of `--libre2`, there's a `--encrypted_protocol` flag. If the capture includes the descriptors, neither flags are needed because the script identifies them itself.
* extract_freestyle: add an option to not print keepalive messages.Diego Elio Pettenò2020-01-241-1/+16
| | | | These messages are not encrypted, but they can also be safely ignored.
* Avoid heuristics, and instead add an explicit --libre2 flag.Diego Elio Pettenò2020-01-241-12/+16
| | | | | This encodes some more details of which commands are encrypted and not, but makes decoding easier.
* Add a tool to extract a FreeStyle protocol chatter from an usbmon capture.Diego Elio Pettenò2020-01-241-0/+109
The tool needs https://github.com/Flameeyes/usbmon-tools to work, and is derived off the extract-hid-chatter tool in that repository, so it's Apache-2 licensed (unlike the rest of the repository) and shares copyright with the usbmon-tools authors. While this does not work correctly for Libre2 traces, it does appear to work fine with Libre1 systems with text protocol exchanges, and it provides a starting point.