mirror of
https://huihui.cat/mirrors/MikroTikPatch.git
synced 2025-12-10 03:24:37 +01:00
Update patch.py
Signed-off-by: elseif <elseif@live.cn>
This commit is contained in:
parent
e1994f69d6
commit
5f603dcebc
1 changed files with 1 additions and 1 deletions
2
patch.py
2
patch.py
|
|
@ -354,7 +354,7 @@ if __name__ == '__main__':
|
||||||
netinstall_parser.add_argument('-O','--output',type=str,help='Output file')
|
netinstall_parser.add_argument('-O','--output',type=str,help='Output file')
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
key_dict = {
|
key_dict = {
|
||||||
bytes.fromhex(os.environ['MIKRO_LICENSE_PUBLIC_KEY']):bytes.fromhex(os.environ['CUSTOM_LICENSE_PUBLIC_KEY']),
|
# bytes.fromhex(os.environ['MIKRO_LICENSE_PUBLIC_KEY']):bytes.fromhex(os.environ['CUSTOM_LICENSE_PUBLIC_KEY']),
|
||||||
bytes.fromhex(os.environ['MIKRO_NPK_SIGN_PUBLIC_KEY']):bytes.fromhex(os.environ['CUSTOM_NPK_SIGN_PUBLIC_KEY'])
|
bytes.fromhex(os.environ['MIKRO_NPK_SIGN_PUBLIC_KEY']):bytes.fromhex(os.environ['CUSTOM_NPK_SIGN_PUBLIC_KEY'])
|
||||||
}
|
}
|
||||||
kcdsa_private_key = bytes.fromhex(os.environ['CUSTOM_LICENSE_PRIVATE_KEY'])
|
kcdsa_private_key = bytes.fromhex(os.environ['CUSTOM_LICENSE_PRIVATE_KEY'])
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue