ordinal not in range(128) + ezPyCrypto

2007-05-13 Thread elemental
I have a small app that needs to store a passport number in a database (MySQL). I'd like to encrypt the passport for security, so I'm using ezPyCrypto. I've never had to encrypt data before so I'm a bit new at this. However, I've worked through a shell and successfully encrypted and decrypted a st

Re: ordinal not in range(128) + ezPyCrypto

2007-05-13 Thread elemental
ck <[EMAIL PROTECTED]> wrote: > On Sun, 2007-05-13 at 11:15 +, elemental wrote: > > I have a small app that needs to store a passport number in a database > > (MySQL). I'd like to encrypt the passport for security, so I'm using > > ezPyCrypto. I've

Re: ordinal not in range(128) + ezPyCrypto

2007-05-14 Thread elemental
te.com/10262/ [1] http://dpaste.com/10263/ On May 14, 1:55 am, "Benjamin Slavin" <[EMAIL PROTECTED]> wrote: > On 5/13/07, elemental <[EMAIL PROTECTED]> wrote: > > > UnicodeDecodeError at /register/ > > 'ascii' codec can't decode byte 0xb

Re: ordinal not in range(128) + ezPyCrypto

2007-05-14 Thread elemental
egistrations' : registrations, }, context_instance=RequestContext(request)) and my template: {% for diver in registrations %} {{ diver.first_name }} | {{ diver.decryptedPP }} {% endfor %} Any ideas why decryptedPP is blank? Thanks, Kai On May 14, 3:17 pm,

Re: ordinal not in range(128) + ezPyCrypto

2007-05-14 Thread elemental
? Sorry to keep pestering, but there's a mental bridge I haven't quite crossed yet in terms of how this is all working together. Thanks again. On May 14, 5:11 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Mon, 2007-05-14 at 08:59 +, elemental wrote: > > Update

Re: ordinal not in range(128) + ezPyCrypto

2007-05-14 Thread elemental
hrough for me in terms of understanding how django works. Many thanks to Malcom and Benjamin. On May 14, 5:40 pm, elemental <[EMAIL PROTECTED]> wrote: > Hi Malcom, > > I was unaware of sys.stderr.write, very handy--thanks > (obviously, I'm still working my way through pyth

Re: ordinal not in range(128) + ezPyCrypto

2007-05-14 Thread elemental
Thanks for the updates and giving the code a closer look. It may just be my local configuration (I'll play with the code once I get it on the live server), but I cannot get past the "ordinal not in range(128)" error without performing two base64 encodings. I'm sure this is why I have to decode twi