Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Plans for HtPasswdChecker
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Felix Schwarz  
View profile  
 More options Mar 12 2008, 4:57 pm
From: Felix Schwarz <felix.schw...@oss.schwarz.eu>
Date: Wed, 12 Mar 2008 21:57:24 +0100
Local: Wed, Mar 12 2008 4:57 pm
Subject: Plans for HtPasswdChecker
Hi,

during my coding session/hour today, I thought about the HtPasswdChecker.
IMHO compatibility to apache's htpasswd files is a major point here so we
need to support Apache's md5 and sha1 algorithms.

There is a small, pure python module for Apache/md5 under a liberal
license. What about embedding this module in authority/lib or something
like that?

--
Felix Schwarz
Dipl.-Informatiker

Gubener Str. 38
10243 Berlin
Germany

www.schwarz.eu - software development and consulting


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin Horn  
View profile  
 More options Mar 12 2008, 6:07 pm
From: "Kevin Horn" <kevin.h...@gmail.com>
Date: Wed, 12 Mar 2008 17:07:22 -0500
Local: Wed, Mar 12 2008 6:07 pm
Subject: Re: [Authority] Plans for HtPasswdChecker

On Wed, Mar 12, 2008 at 3:57 PM, Felix Schwarz <felix.schw...@oss.schwarz.eu>
wrote:

As usual, you're one step ahead of me, Felix :)

I had figured that there must be a way to get Apache's md5 algorithm into
Python, but I hadn't found a module/extension to do it yet.

Can you post a link to the module you mentioned?

Kevin Horn


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Felix Schwarz  
View profile  
 More options Mar 13 2008, 4:10 am
From: Felix Schwarz <felix.schw...@oss.schwarz.eu>
Date: Thu, 13 Mar 2008 09:10:48 +0100
Local: Thurs, Mar 13 2008 4:10 am
Subject: Re: Plans for HtPasswdChecker
Kevin Horn schrieb:

> Can you post a link to the module you mentioned?

http://www.sabren.net/code/python/crypt/

The library seems to have no single license as the code (the ideas) comes from
different sources:
  - FreeBSD (beer-ware license)
  - Crypt::PasswdMD5 (Perl): same terms as Perl itself, GPL v2(+?), Artistic
                             License)
- Michal Wallace (public domain)

Quite a license mess, but I think these licenses do not place additional
license burdens on authority beyond the conditions of a 3-clause BSD.

fs


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin Horn  
View profile  
 More options Mar 13 2008, 7:49 pm
From: "Kevin Horn" <kevin.h...@gmail.com>
Date: Thu, 13 Mar 2008 18:49:36 -0500
Local: Thurs, Mar 13 2008 7:49 pm
Subject: Re: [Authority] Re: Plans for HtPasswdChecker

On Thu, Mar 13, 2008 at 3:10 AM, Felix Schwarz <felix.schw...@oss.schwarz.eu>
wrote:

I think we can probably integrate this without too much difficulty.  I'd
like to eventually allow the user to configure which hash algorithm to use
(in the config file...maybe "authority.checker.hashtype") with at least the
following options:
- crypt
- md5 (python)
- md5 (Apache)
- sha1 (Apache can use this too, not sure if python implementation is
compatible though)

You're right, the licensing is a bit of a mess though.

Kevin Horn


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Felix Schwarz  
View profile  
 More options Mar 14 2008, 5:26 am
From: Felix Schwarz <felix.schw...@oss.schwarz.eu>
Date: Fri, 14 Mar 2008 10:26:16 +0100
Local: Fri, Mar 14 2008 5:26 am
Subject: Re: Plans for HtPasswdChecker

Kevin Horn wrote:
> I think we can probably integrate this without too much difficulty.  I'd
> like to eventually allow the user to configure which hash algorithm to use
> (in the config file...maybe "authority.checker.hashtype") with at least the
> following options: (...)

I don't think we should add a configuration option for that: Just parse the
htaccess file and use the appropriate algorithm (Apache's htpasswd tool can
create files with different hash algorithms). IMHO a configuration mechanism
is only needed if we had to add a new hash to the database.

fs


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kevin Horn  
View profile  
 More options Mar 14 2008, 11:43 am
From: "Kevin Horn" <kevin.h...@gmail.com>
Date: Fri, 14 Mar 2008 10:43:07 -0500
Local: Fri, Mar 14 2008 11:43 am
Subject: Re: [Authority] Re: Plans for HtPasswdChecker

On Fri, Mar 14, 2008 at 4:26 AM, Felix Schwarz <felix.schw...@oss.schwarz.eu>
wrote:

That could work, but it would probably preclude using python's md5 hash in
situations where you aren't using apache.  How would you tell the difference
between them?  While Apache compatibility is the main reason I wanted to
include this checker, I had also considered that people could use it as a
basic method of password storage, even when Apache wasn't present.

Kevin Horn


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google