It is currently Wed Jun 19, 2013 9:33 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: loginguest
PostPosted: Thu Dec 15, 2011 4:00 pm 
Super Tonidoid
Super Tonidoid
Joined: Wed Oct 20, 2010 1:39 pm
Posts: 33

Seems that the "loginguest" API is broken:

It requires the actual password rather than the SHA1. Is this a bug or feature?

Regards,


Offline
 Profile  
 Post subject: Re: loginguest
PostPosted: Thu Dec 15, 2011 5:07 pm 
Admin Tonidoid
Admin Tonidoid
User avatar
Joined: Tue Dec 30, 2008 12:13 am
Posts: 7408
Location: Dallas, USA

It only takes plain text. Not SHA-1.


Offline
 Profile  
 Post subject: Re: loginguest
PostPosted: Thu Dec 15, 2011 5:44 pm 
Super Tonidoid
Super Tonidoid
Joined: Wed Oct 20, 2010 1:39 pm
Posts: 33

ok, just a documentation bug then:

Quote:
loginguest

Login into the Tonido server using a valid Guest user and password. The guest user must already be created in the system in order to login.

Parameters:
userid (POST) The guest login name
password (POST) The SHA1 of the guest password


Is it because guest can't do much anyway?


Offline
 Profile  
 Post subject: Re: loginguest
PostPosted: Thu Dec 15, 2011 7:08 pm 
Admin Tonidoid
Admin Tonidoid
User avatar
Joined: Tue Dec 30, 2008 12:13 am
Posts: 7408
Location: Dallas, USA

No, Tonido originally supported guest login via HTTP Auth, which can only send plain text anyway and when we added loginguest it had to match that. We have to fix the docs then.


Offline
 Profile  
 Post subject: Re: loginguest
PostPosted: Tue Jul 10, 2012 5:52 am 
Regular Tonidoid
Regular Tonidoid
Joined: Sat Jun 25, 2011 7:29 pm
Posts: 15

I'm glad i stumbled across this post, i've been trying to use sha1 for my passwords.

I hope that sha1 will be added again in the future (and in the meantime the documentation is updated ;)


Offline
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 6 hours [ DST ]


 Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: