# Signing signature = rsa.sign(license_json.encode('utf-8'), private_key, 'SHA-256')
import json import datetime import hashlib import rsa
with open('license.lic', 'w') as f: f.write(license_file_content)
# Convert to JSON string license_json = json.dumps(license_info)
# Signing signature = rsa.sign(license_json.encode('utf-8'), private_key, 'SHA-256')
import json import datetime import hashlib import rsa
with open('license.lic', 'w') as f: f.write(license_file_content)
# Convert to JSON string license_json = json.dumps(license_info)