xiaomlove / nexusphp

A private tracker application base on NexusPHP
https://nexusphp.org
GNU General Public License v2.0
873 stars 178 forks source link

[Request] Modification authkey of .torrent #104

Closed Skyline-007 closed 1 year ago

Skyline-007 commented 2 years ago

Hello

I would like to know if it would be possible to simplify the authkey ?

Because here is the current format of the authkey: https://hulk.jk/announce.php?authkey=12000|6|yeahhh

Inside is the ID number of the torrent page (12000) If we change the domain name of the site. It will be necessary to modify all the torrents one by one of each .torrent in our torrent client. As there is the torrent ID number and the authkey which are different each time.

I would like to know if it would be possible to simplify the authkey by deleting the ID number of the torrent and for the authkey always remains the same authkey number ? (so that there is no link with the ID number of the torrent page and that the authkey always remains the same number)

Because currently the authkey changes number all the time when you take a .torrent

The day when it is necessary to change the domain name of the site, we select all the .torrents and we change the authkey set of all the .torrents at once in the torrent client.

Example new authkey without the torrent ID number and the authkey with always the same number:

https://hulk.jk/announce.php?authkey=|6|yeahhh

Where

http://hulk.jk/announce.php?passkey=f4xxxxxxxxxxxxxxxxxxxxxxxb

Thank you in advance for your answer

Best regards

Skyline-007

xiaomlove commented 2 years ago

The domain names are unified, and modifying them has nothing to do with this.

Skyline-007 commented 2 years ago

@xiaomlove

The day I migrate my domain name, I will have to edit all my torrents one by one.

Because the ad authkey and all the time different.

When I go to my torrent client the current announce is: 1111

And it possible to have an ad with a passkey like this that is linked to the username ? (The passkey never changes, compared to the authkey which changes all the time)

Example of the new announce: 222222

The day I migrate my domain name, I could select all my .torrents in my torrent client and edit all my .torrents at once. Because the announce passkey ad will always be the same on all .torrents.

xiaomlove commented 1 year ago

This issue has been received. Older torrents can be reported using passkey, change the tracker URL of existing torrents in the BT client to: https://your-domain.com/announce.php?passkey=<user passkey> This change is designed to protect passkey and will be optimized later.

Skyline-007 commented 1 year ago

Ok thank you very much.

Can't wait to see it in future updates

xiaomlove commented 1 year ago

Now you can change the tracker URL of existing torrents in the BT client to: https://your-domain.com/announce.php?passkey=<user passkey>

It is always working, no needs any updates.

Skyline-007 commented 1 year ago

OK Thank you, I just tested it and it works fine.

Thanks again for your work.