ezPyCrypto encryption using only public key problem.
peter at engcorp.com
Mon Jun 16 02:37:55 CEST 2003
"Adrian St. Onge" wrote:
> Ok, I can see commenting out the bad line, etc..
> But the bad line show that you can't encrypt something with ezPyCrypto with out
> loading a private key also. How would I go about encrypting something for someone else
> with their public key, when the lib requires (it shouldn't) to have a private/public key
One of us is misunderstanding the other, but I'm not sure which of
us is which. :-)
When I removed that "bad line", I was able to run example3 just fine,
which I believe means the code could then encrypt something using
just the public key, as the routine in question doesn't need the
private key *except* for the unnecessary verification step.
Does removing that line not allow your code to work?
More information about the Python-list