From: aaron s. <bei...@gm...> - 2009-08-25 05:21:13
|
I'm trying to convert a small snippet of ruby code that handles some ssl stuff for me.. The Ruby code is this: sign_dss1 = OpenSSL::Digest::DSS1.new priv = OpenSSL::PKey::DSA.new(File.read("lib/dsa_priv.pem")) priv.sign(sign_dss1, "test" ) This is somewhat contrived, but this all i'm trying to convert. The docs for pyOpenSSL don't explain that much, so I'm not even sure where to look. Thanks for your help! -A |