I added a bunch of test cases, restructured the code a bit, and now
switched the implementation to use pycurl instead of jockey's
verified_https.py urllib2 handler. I didn't see a way to make this work
properly with HTTPS proxies, but with pycurl it works just fine:

$ http_proxy="http://localhost:3128/"; https_proxy="https://localhost:3128/"; 
python -c 'import jockey.detection; from jockey.oslib import OSLib; OSLib.inst 
= OSLib(); print 
jockey.detection.OpenPrintingDriverDB._check_get_fingerprint("https://linux.avasys.jp/drivers/lsb/epson-inkjet/key/fingerprint";)'
E522 0FB7 014D 0FBD A50D  FC2B E5E8 6C00 8AA6 5D56

Squid log confirms that the request was proxied and reached the right
destination:

1299594547.873   1444 127.0.0.1 TCP_MISS/200 4340 CONNECT
linux.avasys.jp:443 - DIRECT/202.41.220.57 -

I'll upload this in a bit. I'd appreciate if you could test this again
once it's in Natty, to confirm that it also really works in your setup.
Thanks!

** Changed in: jockey (Ubuntu)
       Status: Triaged => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/729185

Title:
  fingerprint SSL check does not work behind a proxy

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to