a) Your example with the checksum isn't encryption, so watch your jargon. Pyramid doesn't ship with any encryption capabilities. b) See p.session.signed_serialize and p.session.signed_deserialize for signing a payload.
http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/api/session.html#pyramid.session.signed_serialize On Tue, Feb 28, 2012 at 11:44 AM, Jonathan Vanasco <jvana...@gmail.com>wrote: > I didn't find anything in the docs, but I figured it would be worth > asking. > > I am porting over a login system from Pylons. One of the elements has > a "cookie_autologin", which sets a 30day cookie if someone clicks > "remember me". the contents of the cookie are a lightweight payload > + checksum. > > I figured if there is something in pyramid that handles that, it's > likely stronger and faster than pylons stuff i wrote in 2007. > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To post to this group, send email to pylons-discuss@googlegroups.com. > To unsubscribe from this group, send email to > pylons-discuss+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/pylons-discuss?hl=en. > > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com. To unsubscribe from this group, send email to pylons-discuss+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.