summaryrefslogtreecommitdiffstats
path: root/src/ogClient.py
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-04-17 11:26:21 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-07-29 15:07:22 +0200
commitbb03e92840b61385949507bab372ca28c5b06379 (patch)
tree832707d7c7b6be36a924ba7be4f9e08e89dc5351 /src/ogClient.py
parent7ab965c0b57bf829c42ed54b84213d2c01f135b3 (diff)
utils: add win edit registry utilities
Add winreg.py to the utils folder. Implement hive enum types, hive handler validation and validated get_* functions for nodes and registry values. Implement the utility hive operations through the Hivex library. This serves as preparatory work for BCD manipulation but it also has potential to improve registry usage in previous code. UCS-2 Little Endian is the prefered windows registry text encoding for binary content. Define a WINDOWS_HIVE_ENCODING global variable to use when encoding string to write in the win registry. This commit is preparatory work for the new native postinstall code.
Diffstat (limited to 'src/ogClient.py')
0 files changed, 0 insertions, 0 deletions