[issue34257] SSL should accept cert content, instead of just cert file path

2018-07-28 Thread Jared
Jared added the comment: Also [PEP 543](https://www.python.org/dev/peps/pep-0543/) is related to this. In addition, I think [PyOpenSSL](https://pyopenssl.org/en/stable/index.html) provides support for what you want. -- nosy: +j-rewerts ___ Python

[issue34257] SSL should accept cert content, instead of just cert file path

2018-07-28 Thread Nathaniel Smith
Nathaniel Smith added the comment: This is a duplicate of bpo-16487, which has more discussion about how the API might work. -- nosy: +njs resolution: -> duplicate stage: -> resolved status: open -> closed ___ Python tracker

[issue34257] SSL should accept cert content, instead of just cert file path

2018-07-28 Thread Rico Lin
Change by Rico Lin : -- versions: +Python 3.5 -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue34257] SSL should accept cert content, instead of just cert file path

2018-07-28 Thread Rico Lin
New submission from Rico Lin : Currently, SSL module [1] only allows file path as input. That led to a lot of libraries only accept file path to a local file. This lead to issues when people who trigger this python code, didn't have any right to access a local file. Here are two examples: 1. I