Re: Adding signing (and signed cookies) to Django core

2009-10-06 Thread Matt Brubeck
On Oct 5, 1:44 pm, Simon Willison wrote: > Other than dates being a bit more annoying to pass around, I really > don't think that telling people they can only dumps/loads JSON- > encodable data would be a huge burden. You could use YAML instead if you want date support... although JSON does seem

Re: Adding signing (and signed cookies) to Django core

2009-10-05 Thread Matt Brubeck
On Sep 24, 10:18 am, Simon Willison wrote: > This offers two APIs: sign/unsign and dumps/loads. sign and unsign > generate and append signatures to bytestrings and confirm that they > have not been tampered with. dumps and loads can be used to create > signed pickles of arbitrary Python objects.