NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support v
« Previous 1 … 29 30 31 32 33 … 43 Next »
API Login Failure

 
  • 0 Vote(s) - 0 Average
API Login Failure
jcole998
Offline

Posting Freak

New York, USA
Posts: 856
Threads: 186
Joined: Jun 2015
#11
2020-09-27, 03:37 PM
Salt. I always wondered what that was used for when returned from session.initiate. I'll make another pass thru the code example you pointed me to on github.

BTW, I am not using salt with the 0000 pin code. I don't think it matters on a local LAN because I can login successfully.

JohnC
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#12
2020-09-27, 06:05 PM
You were just getting lucky because of some of the local network auto-login stuff.

To login correctly, you to effectively calculate this:

string pinMD5 = MD5(pin)
string combined = ":" + pinMD5.ToLower() + ":" + salt;
string loginMD5 = MD5(combined);
jcole998
Offline

Posting Freak

New York, USA
Posts: 856
Threads: 186
Joined: Jun 2015
#13
2020-09-27, 08:23 PM
Thanks, sub. That makes sense. Will that work for local and network logins? I've never understood the relationship between a PIN and a password.

Powershell is giving me a headache for one reason another. Time to take a break...
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#14
2020-09-27, 09:01 PM
(2020-09-27, 08:23 PM)jcole998 Wrote: Thanks, sub. That makes sense. Will that work for local and network logins?
Doing a proper login will work everywhere.

Quote:I've never understood the relationship between a PIN and a password.
They're both just ways of logging in. I had originally created the pin method of logging in because I wanted it to be straight forward for use from a mobile app.

The username/password is only used by the web app. Pretty much everything else is using the pin. This may change in the future though.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  Suddenly can't login to web app mcbo84 31 9,901 2023-12-31, 12:23 PM
Last Post: auxtian
  What"s the username and password in Nextpvr Login Required ? HITFM885 3 1,161 2023-07-01, 02:48 AM
Last Post: HITFM885
  Frequent Recording Failure: Stream Unavailable DerBigBearen 4 1,183 2023-03-12, 10:32 PM
Last Post: DerBigBearen
  Recording Next available Movie after Failure jw1 6 951 2022-09-26, 06:45 PM
Last Post: mvallevand
  Recipe for failure: 3 generations of HDHomeRuns turmbrown 4 1,178 2022-01-29, 10:49 PM
Last Post: turmbrown
  Start recording again after failure? cords911 3 1,219 2021-10-07, 01:37 PM
Last Post: mvallevand
  Login Failed cookrd1 1 987 2021-09-01, 11:21 PM
Last Post: sub
  Login MaxOne72 1 932 2021-05-16, 07:04 PM
Last Post: sub
  Editing URL for XC Login? CenturyBreak 2 1,593 2021-03-21, 02:06 AM
Last Post: CenturyBreak
  cant login to web client to change settings nogoer 1 4,089 2019-09-27, 09:29 PM
Last Post: donbrew

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode