0

Is there a way to sign values with a PEM formatted private key in Google App Engine (Python)?

For example in PHP it could be achieved like this:

$key = openssl_pkey_get_private($privateKey);
openssl_sign($strToBeSigned, $signature, $key);
echo "signature: ".base64_encode($signature);

Is there a way to do the same thing with Python in Google App Engine?

Andris
  • 27,649
  • 4
  • 34
  • 38

1 Answers1

1

Try taking a look at this question's answers, and the link to the google group discussion to see if that helps.

Signing a string with RSA private key on Google App Engine Python SDK

Community
  • 1
  • 1
dar
  • 6,520
  • 7
  • 33
  • 44
  • I already found out how to use tlslite for this, but thanks anyway, the answer was pointing towards the same direction – Andris May 12 '10 at 10:56