mirror of
https://github.com/clearlinux/graphene.git
synced 2026-09-05 21:31:36 +00:00
This commit rewrites pal-sgx-get-token and pal-sgx-sign in Python3 and performs a comprehensive cleanup of the code: - Outputs are sent to separate files (otherwise they were intermixed during parallel build) - aesm_pb2.py is re-generated to Python3 - Numeric constants are replaced with symbolic ones - Using argparse instead of home-grown argument parsing - Replacing home-grown helper funcs int_to_bytes(), bytes_to_int(), etc. with standard functions