effectively disable expiry field

pull/41/head
Pavol Rusnak 7 years ago
parent 0c85bc8ebc
commit 5761ea237d
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -25,6 +25,5 @@
["0x534c", "0x0001", "Trezor"],
["0x1209", "0x53c0", "Trezor2 Bootloader"],
["0x1209", "0x53c1", "Trezor2"]
],
"valid_days": 180
]
}

@ -40,7 +40,7 @@ def compose_message(json, proto):
import config_pb2
cfg = config_pb2.Configuration()
cfg.valid_until = int(time.time()) + json['valid_days'] * 3600 * 24
cfg.valid_until = 2147483647 # maxint
cfg.wire_protocol.MergeFrom(proto)
for url in json['whitelist_urls']:

Loading…
Cancel
Save