Functions for creating mock extrainfo descriptors.
generateExtraInfo(nickname, fingerprint, ts, ipv4, port, bridge=True)[source]¶Create an OR extra-info document.
See §2.2 “Extra-info documents” in dir-spec.txt.
For transport scramblesuit lines, the password parameter always
is ABCDEFGHIJKLMNOPQRSTUVWXYZ234567, i.e.:
transport scramblesuit 10.0.1.111:4444 password=ABCDEFGHIJKLMNOPQRSTUVWXYZ234567
| Parameters: | |
|---|---|
| Return type: | |
| Returns: | An extra-info document (unsigned). |