openssl command is available on production server. I also tried Pycrypto for encryption/decryption. Implementation of encryption/decryption function can be anything, that's not my issue. I want suggestions on general approach/ flow , 'how to store file in encrypted format and decrypt while downloading?' On Thursday, June 18, 2015 at 5:26:14 PM UTC+5:30, Mandar Vaze wrote: > > > >> command = "openssl enc -aes-256-cbc -salt -in %s -out %s -k %s" % >> (input_file, output_file, key) >> > > Will openssl command be available where you want to deploy this ? (on > production server) > What about path of openssl command on the production server ? > > Have you considered using encryption libraries like Pycrypto/MCrypto (also > pyopenssl) > Using these libraries should alleviate the dependency on openssl binary > (and path issues) > > -Mandar > >
-- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.