Development #70
Add an HTTPLib/URLLib wrapper which handle SSL client and server checking
Début:
04 juin 2010
Echéance:
% réalisé:
90%
Temps estimé:
Patch proposed:
Planning:
Description
Normal urllib calls do not permit to check ssl certificate of servers.
We need an API to helps authentication and identity providing backends.
Many options:- use M2Crypto with binds most of the needed SSL API and use wrap_socket
- use python-nss from fedora
- use ssl module with wrap_socket, it lacks some usefull hooks
Only the last case is compatible with available python versions (2.6).
Révisions associées
Historique
Mis à jour par Benjamin Dauvergne il y a presque 13 ans
- Statut changé de Nouveau à Solution déployée
- % réalisé changé de 0 à 90
Appliqué par commit a9eb81ee460f418110b67280c3d759834b3b1b85.
Mis à jour par Benjamin Dauvergne il y a presque 13 ans
- Statut changé de Solution déployée à Fermé
Add a module to perform HTTP GET with proper certificate checks
Replace all usr of urllib.urlopen by this the new function get_url.
If M2Crypto is availlable, HTTPs URLs work, if not they do not.
Closes #70