How to handle user passphrase input from python script

Jameson Rollins jrollins at finestructure.net
Mon Jan 31 05:37:21 CET 2011


On Mon, 31 Jan 2011 03:41:51 +0100, orionbelt2 at gmail.com wrote:
> I use a python script to (a) open a file encrypted with a symmetric 
> cipher using a passphrase, (b) do some operations on it, and (c) 
> re-encrypt it.

You might try using one of the many python gpg interface libraries that
exist out there.  With a cursory look I see three such packages in
Debian:

python-gpgme
python-pyme
python-gnupginterface

hth.

jamie.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: </pipermail/attachments/20110130/fda361e5/attachment.pgp>


More information about the Gnupg-users mailing list