The Python scripts here are used for generating Android keybox.xml for Tricky Store (a Magisk Module) on the Ubuntu 24.04.1 LTS platform (WSL).
- https://xdaforums.com/t/tee-hacking.4662185/page-21#post-89847987
- https://stackoverflow.com/questions/17733536/how-to-convert-a-private-key-to-an-rsa-private-key
Remember to store the script with Unix (LF) as the line separator.
This is the original version.
Briefly checking the content of the three child key files is supported.
Using ssh-keygen
to convert an OpenSSL private key to the required RSA private key is supported.
The program will prompt the overwriting if files exist.
The device ID is generated randomly.