diff options
author | Diego Elio Pettenò <flameeyes@flameeyes.com> | 2023-08-03 10:26:19 +0200 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@flameeyes.com> | 2023-08-03 10:26:19 +0200 |
commit | e4db49c0cf7916a3303eadbdf7fd541e57e1ce9e (patch) | |
tree | 2f69f3774cacf41e01bf9afd1518e993063f4cae /freestyle_keys | |
download | freestyle-keys-e4db49c0cf7916a3303eadbdf7fd541e57e1ce9e.tar freestyle-keys-e4db49c0cf7916a3303eadbdf7fd541e57e1ce9e.tar.gz freestyle-keys-e4db49c0cf7916a3303eadbdf7fd541e57e1ce9e.tar.bz2 freestyle-keys-e4db49c0cf7916a3303eadbdf7fd541e57e1ce9e.tar.lz freestyle-keys-e4db49c0cf7916a3303eadbdf7fd541e57e1ce9e.tar.xz freestyle-keys-e4db49c0cf7916a3303eadbdf7fd541e57e1ce9e.tar.zst freestyle-keys-e4db49c0cf7916a3303eadbdf7fd541e57e1ce9e.zip |
Diffstat (limited to 'freestyle_keys')
-rw-r--r-- | freestyle_keys/__init__.py | 0 | ||||
-rw-r--r-- | freestyle_keys/libre2.py | 17 |
2 files changed, 17 insertions, 0 deletions
diff --git a/freestyle_keys/__init__.py b/freestyle_keys/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/freestyle_keys/__init__.py diff --git a/freestyle_keys/libre2.py b/freestyle_keys/libre2.py new file mode 100644 index 0000000..80db726 --- /dev/null +++ b/freestyle_keys/libre2.py @@ -0,0 +1,17 @@ +"""Encryption keys used by FreeStyle Libre 2 glucometers. + +The following constants are key materials required to communicate with the FreeStyle +Libre 2 glucometers. + +No copyright is claimed for these keys, as they are requisite constants that are part +of the device's communication protocol. + +We assert these these keys do not constitute Technical Protection Measures for the +purpose of copyright protection, as they do not protect copyrighted material but +rather obfuscate the communication between two devices under the control of the user. +""" + +AUTHORIZATION_ENCRYPTION_KEY = 0x360C0E171551821D7961F891197B52A1 +AUTHORIZATION_MAC_KEY = 0x738F004CD1A80D16622DB2E0DB8C60D4 +SESSION_ENCRYPTION_KEY = 0x9D42333D9DDD20A7164C2AB057F92EFD +SESSION_MAC_KEY = 0x12B0D868D117D7C8379DE50FA97A7BA0 |