Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

torrenttools show infohash --protocol=2 should not show v1 hash #53

Open
milahu opened this issue Jul 23, 2024 · 0 comments
Open

torrenttools show infohash --protocol=2 should not show v1 hash #53

milahu opened this issue Jul 23, 2024 · 0 comments

Comments

@milahu
Copy link

milahu commented Jul 23, 2024

torrenttools v0.6.2 always returns the v1 hash

$ torrenttools show infohash --protocol=1 test.torrent
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

$ torrenttools show infohash --protocol=2 test.torrent
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

$ torrenttools show infohash --protocol=3 test.torrent
Error: Invalid bittorrent protocol: 3

expected:
torrenttools show infohash --protocol=2 should print nothing on v1-only torrents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant