transit: expose desired key length

This commit is contained in:
Brian Warner 2016-05-24 00:00:21 -07:00
parent 2c64805ea1
commit e2aa43d0a9

View File

@ -548,6 +548,7 @@ def there_can_be_only_one(contenders):
class Common:
RELAY_DELAY = 2.0
TRANSIT_KEY_LENGTH = SecretBox.KEY_SIZE
def __init__(self, transit_relay, no_listen=False, tor_manager=None,
reactor=reactor, timing=None):