For a project I am working on I would like to use a pgcrypto compatible encryption in python. And specific the public key encryption part.
The problem I have is that most (all) of the implementations make use of subprocess like approaches to fork gpg, as I have to encrypt a lot of data (50.000+ entries per session) this approach will not work for me.
Can someone give me some pointers how that this could be achieved?
Have a look at PyCrypto, it doesn't seem to use forking. pgcrypto can be configured to fit most crypto configurations.
How to encrypt in a pgcrypto compatible way in python