Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Password Hash?

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
uphid
Guest





PostPosted: Wed Feb 01, 2006 11:53 pm    Post subject: Password Hash? Reply with quote

Does anyone happen to know what hash is used with Icecast's htpasswd file?

I'd like to write some scripts that generate this file from a database; but I'm unsure which hash to use.

Thanks for any help.
Back to top
MikeS
Code Warrior
Code Warrior


Joined: 29 Jun 2005
Posts: 73
Location: Barcelona, Spain

PostPosted: Sun Feb 05, 2006 1:56 am    Post subject: Reply with quote

It's simply an md5. You can use one of the many md5 implementations out there to match this.
Back to top
View user's profile Send private message Send e-mail
uphid
Guest





PostPosted: Wed Feb 08, 2006 12:26 am    Post subject: Reply with quote

Thank you. You are a scholar and a gentleman.
Back to top
Anonymous
Guest





PostPosted: Sat Feb 24, 2007 10:16 am    Post subject: Reply with quote

MikeS wrote:
It's simply an md5. You can use one of the many md5 implementations out there to match this.


Hello Mike

I tried to use
#htpasswd -b -m myauth2 check check
It didn't worked, but the same password when created from web interface it works fine.
I compared both cases the password saved is different.

I am doing something wrong when I try to create password from command line. I used MD5 flag though.

Appreciate your reply.

Thanks,
SK
Back to top
MikeS
Code Warrior
Code Warrior


Joined: 29 Jun 2005
Posts: 73
Location: Barcelona, Spain

PostPosted: Mon Feb 26, 2007 9:32 am    Post subject: Reply with quote

It's entirely possible that htpasswd's hashing is not the same as icecast's - I certainly never used any command line tools to edit or create icecast htpasswd files.

Sorry about that.

Mike
Back to top
View user's profile Send private message Send e-mail
Anonymous
Guest





PostPosted: Thu Oct 25, 2007 12:58 pm    Post subject: Reply with quote

I had the same problem as you and made a little hack.


Hail to the mdfivator !
The ugly hack totally based on icecast code Very Happy

Give it a string as an argument and it will give you the icecast md5 hash of the string


You can download it here
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber