-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKEYS.template.py
58 lines (38 loc) · 1.83 KB
/
KEYS.template.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# -*- coding: utf-8 -*-
from binascii import unhexlify
##########################################
## Falcon Heavy Secure Mode Signing Key ##
##########################################
SIGNING_KEY = unhexlify("00000000000000000000000000000000")
assert any(SIGNING_KEY), "Please fill this file with real keys"
# Optional; Used to encrypt SecureBoot if you have it, but will build regardless.
CSECRET_06 = unhexlify("00000000000000000000000000000000")
##############################################
## Keys used throughout the KeygenLdr stage ##
##############################################
ENCRYPT_KEYGEN = True
KEYGENLDR_KEKS = [
unhexlify("00000000000000000000000000000000"), # CODE_SIG_01
unhexlify("00000000000000000000000000000000"), # CODE_ENC_01
]
assert len(KEYGENLDR_KEKS) == 2
assert all(map(any, KEYGENLDR_KEKS)), "Please fill this file with real keys"
KEYGEN_AES_IV = unhexlify("00000000000000000000000000000000")
###########################################
## Keys used throughout the Keygen stage ##
###########################################
KEYGEN_DEBUG_KEY = unhexlify("00000000000000000000000000000000")
KEYGEN_TSEC_SEEDS = [
unhexlify("00000000000000000000000000000000"), # HOVI_EKS_01
unhexlify("00000000000000000000000000000000"), # HOVI_COMMON_01
]
assert len(KEYGEN_TSEC_SEEDS) == 2
assert all(map(any, KEYGEN_TSEC_SEEDS)), "Please fill this file with real keys"
###############################################
## Keys used throughout the SecureBoot stage ##
###############################################
HOVI_ENC_KEY = unhexlify("00000000000000000000000000000000")
assert any(HOVI_ENC_KEY), "Please fill this file with real keys"
HOVI_SIG_KEY = unhexlify("00000000000000000000000000000000")
assert any(HOVI_SIG_KEY), "Please fill this file with real keys"
HOVI_IV = unhexlify("00000000000000000000000000000000")