problem with pyme

Tony Caduto tony_caduto at amsoftwaredesign.com
Tue Aug 5 18:03:29 CEST 2008


I don't know if this is the correct place to ask this question, but the 
pyme project on sourceforge appears to be dead(mailing list is read only).

Anyway the latest version appears to have a problem working with private 
keys that have a pass phrase.

I am using it on win32 and I can only decrypt if I use a private key 
that has no pass phrase.

It appears the callback for the pass phrase is not getting the pass 
phrase to the dll. 

See this link for more information on the problem (this is from another 
user who is having the same problem):

http://www.codeguru.com/forum/showthread.php?p=1743350

Hopefully the developer of pyme hangs out on this list and sees this.

Basically I have a callback like this:

def Callback(x, y, z):
        """ Callback to give password """
        return "mypassword\n"

Then after I get the key I do:

c.set_passphrase_cb(Callback)

 c.op_decrypt(file_in, data_out)  #<------ freezes on this line

The callback function gets called, but it then hangs forever.

Thanks,

Tony Caduto



 
//



More information about the Gnupg-devel mailing list