Open casey opened 4 years ago
Hello ! Are you still planning to add this feature in the future ? It would be appreciated as it has use cases :)
Hi! I haven't figure out if it's actually useful. You can use the --source
flag to include a random integer, which will randomize the torrent hash. What use-case for randomized infohashes are you interested in?
At least one tracker uses both the source and entropy tags, so this would allow someone to create torrent files compliant with what's expected.
Interesting! What's the expected format of the entropy tag? Like what datatype, and if it's bytes, how many?
I don't think there's a standard content. https://github.com/rndusr/torf puts a 10 digit number I believe. Mktor from https://github.com/pyroscope/pyrocore has the option -X @entropy
and apparently it's generating a 512bits number.
Any random number would probably be fine I suppose
This definitely seems reasonable to me. I'm not currently actively working on intermodal, but if someone wants to take a crack at it and open a PR, I think it shouldn't be too hard.
Add random integer under
info.entropy
. Not sure if there's any advantage to this over just settinginfo.source
.