[Use this form for both apiclient and oauth2client issues]
What steps will reproduce the problem?
1. Use PyCrypto rather than PyOpenSSL.
2. Specify a p12 file generated by the Google API console.
3. Get an error message with a command that converts the p12 file to a PEM.
4. Use the created PEM.
5. Get the same message.
What is the expected output? What do you see instead?
The converted PEM file should be accepted.
What version of the product are you using? On what operating system?
Latest from PyPI (__version__ says "1.0"). Linux and Mac.
Please provide any additional information below.
The problem is that the check in oauth2client/crypt.py:233 demands that the
file start with '-----BEGIN', while the file generated by the supplied command
include a few lines of metadata before the '-----BEGIN' line. Removing these
metadata lines solves the issue.
Original issue reported on code.google.com by ma...@google.com on 18 Mar 2013 at 9:30
Original issue reported on code.google.com by
ma...@google.com
on 18 Mar 2013 at 9:30