torrust-tracker icon indicating copy to clipboard operation
torrust-tracker copied to clipboard

Add Existing Tracker Key

Open iloveyourwife opened this issue 2 years ago • 1 comments

Hi, I can see in the documentation : https://torrust.com/torrust-tracker/api/#tracker-keys that we can generate or delete tracker keys. But is it possible to add existing tracker keys ? I'm migrating from another famous tracker, and I want to keep my existing users tracker key from my database. The keys are in similar format.

Thanks

iloveyourwife avatar Apr 21 '22 14:04 iloveyourwife

It is only possible to manually add existing tracker keys directly to the database and they have to be 32 chars.

mickvandijke avatar May 02 '22 21:05 mickvandijke

Hi, I can see in the documentation : https://torrust.com/torrust-tracker/api/#tracker-keys that we can generate or delete tracker keys. But is it possible to add existing tracker keys ? I'm migrating from another famous tracker, and I want to keep my existing users tracker key from my database. The keys are in similar format.

Thanks

hi @iloveyourwife , I would like to know more about your case. It would be interesting to make migration from other tools more accessible. We've merged a new feature to migrate data from a previous DB schema to the last one.

Maybe we can write a new console command to import keys, but we need to know the following:

  • If keys are compatible. If they are not, how hard would it be to support both types?
  • How difficult would it be to write a command for the importation
  • If that's the only impediment for you to migrate

josecelano avatar Nov 30 '22 18:11 josecelano

I'm going to close it until we have more info.

josecelano avatar Dec 21 '22 16:12 josecelano