Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
AuthTktAuthenticationPolicy using MD5
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
  Messages 26 - 30 of 30 - Collapse all  -  Translate all to Translated (View all originals) < Older 
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
 
Florian Rüchel  
View profile  
 More options Sep 23 2012, 9:54 am
From: Florian Rüchel <florian.ruec...@gmail.com>
Date: Sun, 23 Sep 2012 06:54:12 -0700 (PDT)
Local: Sun, Sep 23 2012 9:54 am
Subject: Re: AuthTktAuthenticationPolicy using MD5

Well it will be used by the user deploying the application. This can be the
developer or even multiple end-users (if the application itself is
distributed). In both cases there would be a simple deployment instruction:
"Upon installation you need to execute 'pyramid-keygen -w cookie_secret -b
256'" or similar. Then you have a secret file and can use it in your
application. Otherwise each developer has to develop their own method of
generating such a secret during the deployment process. Furthermore, we
could then add a hint to the documentation to use this if they want a
strong secret (see below).

Yeah, I took a step back, changed it to be only a callable and made it very
simple again. Take look at the corresponding commit and tell me if it is
still too much.

If you approve, I would really recommend changing the docs at least in
regards to a notice that the default behavior is at least not *that* secure.

Regards,
Florian


 
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.
Chris McDonough  
View profile  
 More options Sep 23 2012, 10:05 am
From: Chris McDonough <chr...@plope.com>
Date: Sun, 23 Sep 2012 10:05:23 -0400
Local: Sun, Sep 23 2012 10:05 am
Subject: Re: AuthTktAuthenticationPolicy using MD5

There's currently no machinery in Pyramid that can use a "secret file".
Instead, developers are expected to add a secret value to their .ini
file and use it as input to the AuthTktAuthenticationPolicy constructor.
So I'd be -1 on something that created a file, unless there's some other
use case that this sweater-thread of a topic has convinced us must be
implemented along the lines of "the secret must be in another file".

If the purpose is only to output a "sufficiently random" string, then I
personally don't think we need to get into the business of supplying
software that does that, although we might supply documentation for UNIX
and for Windows that helps people do that using third-party tools.  If
that turns out to be untenable for some reason, then I might reconsider
writing software that helps.

I'll defer to Domen on this.

> If you approve, I would really recommend changing the docs at least in
> regards to a notice that the default behavior is at least not *that*
> secure.

Proceeding one step at a time.

- C


 
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.
Domen Kožar  
View profile  
 More options Sep 23 2012, 12:03 pm
From: Domen Kožar <do...@dev.si>
Date: Sun, 23 Sep 2012 18:03:40 +0200
Local: Sun, Sep 23 2012 12:03 pm
Subject: Re: AuthTktAuthenticationPolicy using MD5

Created pull request, changed the approach a bit:
https://github.com/Pylons/pyramid/pull/695


 
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.
Daniel Holth  
View profile  
 More options Sep 24 2012, 9:58 am
From: Daniel Holth <dho...@gmail.com>
Date: Mon, 24 Sep 2012 06:58:27 -0700 (PDT)
Local: Mon, Sep 24 2012 9:58 am
Subject: Re: AuthTktAuthenticationPolicy using MD5

https://github.com/plone/plone.session/blob/master/plone/session/tkta...

Have you been able to use your patch with Apache's mod_auth_tkt?


 
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.
Domen Kožar  
View profile  
 More options Sep 24 2012, 4:34 pm
From: Domen Kožar <do...@dev.si>
Date: Mon, 24 Sep 2012 22:34:52 +0200
Local: Mon, Sep 24 2012 4:34 pm
Subject: Re: AuthTktAuthenticationPolicy using MD5

Unfortunately I stopped using apache as web server back in 2006, could
someone else try that? Thanks!


 
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 < Older 
« Back to Discussions « Newer topic     Older topic »