-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 01.02.2014 19:06, Brett Cannon wrote:
Yes, that is definitely a design flaw in the ssl module that should get remedied. Did you file a bug to add a new API (whether new function or new parameters) to accept a file-like object or string instead?
Python 3.4 will allow to load CA certs from a string (PEM) or binary buffer (DER). I haven't fixed load_cert_chain() yet. http://docs.python.org/3.4/library/ssl.html#ssl.SSLContext.load_verify_locat... -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.14 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCgAGBQJS7U3wAAoJEMeIxMHUVQ1FETAQAJd6STF1KOG+YMLbuWFnMOen d+wm8H/abbyVdwg/OL3KGvRJa+qR/FoW3srMJhaVgD7pkiW+2FxRy3N4FWIJbsfM KxyNKkvnYIIdnZdsv9oz7lVHhdibrUJKvIyRMfaN/wPFcYlB6Y57wh5Z+rkZCRzf gkw7kSuinceNXtGTsBFYzMKkN/Je6RmNtP96RdtG5zzxuS8V07LjWpcw7VlYoMml kq2lxcH1B9yR7lDdnrkm5fdUMUzWzRiAi7ZlBYxdIR4PP+UcVaP6AESURy/GF3mn gbQc0UGz3pI+afS5V/Ajqd/K4w5vqC1rQ48M935XVWvduyT1+Dg5a38lHEThcHOp gWdY1YOqXwMsxO34/juABjeJkaTJk1bd76CZFJHl2lE5aHJfk49iTIR6Gcq8fOUe Cb6t0HykYhAF/hBr1ILrN1wkDMq+6Lq2QunKLhn4N4IYP4+WTTxduYuVn9CNJHW3 NCY2RYp0yHvCKw6D86bNr/5ssDIvqfBr4u58Rs93QmkIuYO/2c113Ty2ET3f0+u8 PnfjIGSqDFjctNETPpCygjxMh0IQ+VlKiCV8XlHGA9cWNho+jMLzZOKlKo/notxY oW7gm2XTxs9O42fO8P9cl1+1I85o3VdDaN5ey16qkptkCSvlSsh1JsBcL+TtP/We f0Wg5gtO5y+q/3c6JcFx =FGVA -----END PGP SIGNATURE-----