GithubHelp home page GithubHelp logo

Comments (9)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024
We should figure out what we want to do about certificates here.

Original comment by [email protected] on 3 Oct 2006 at 6:52

from google-breakpad.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024
This patch is better ;-)

What do you mean about certificates? I admit I don't know much about the Windows
networking layer; are we worried that it would submit data even if the 
certificate
were invalid?

Original comment by [email protected] on 3 Oct 2006 at 7:38

Attachments:

from google-breakpad.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024
Yes, exactly: certificate validation.

Original comment by [email protected] on 3 Oct 2006 at 8:46

from google-breakpad.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024

Original comment by [email protected] on 16 Oct 2006 at 10:20

  • Added labels: Milestone-Release1.0

from google-breakpad.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024

Original comment by [email protected] on 18 Oct 2006 at 1:44

  • Added labels: Component-Client-Sender, OpSys-Windows

from google-breakpad.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024
All we need to do is pass INTERNET_FLAG_SECURE in the flags argument of
HttpOpenRequest when the scheme is https.

For certificate verification, wininet will at least verify that the server
certificate's CN matches the hostname and that the date range is valid (bypass 
with
INTERNET_FLAG_IGNORE_CERT_CN_INVALID and 
INTERNET_FLAG_IGNORE_CERT_DATE_INVALID). 
I'm not sure if it validates the certificate's trustworthiness or if that's 
something
else we'd need to do ourselves.

Original comment by [email protected] on 18 Oct 2006 at 9:33

from google-breakpad.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024
I've verified that comment 6 contains all that we need to do.  If we follow 
those
guidelines and attempt to hit a server with SSL/TLS, and it doesn't have a 
trusted
certificate, HttpSendRequest will fail and GetLastError() will return
ERROR_INTERNET_INVALID_CA.

Original comment by [email protected] on 19 Oct 2006 at 8:00

from google-breakpad.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024
This allows HTTPUpload users to specify an https scheme in the URL.  It also 
fixes
the proxy thing (#46) and checks the HTTP status returned by the server (which 
sort
of fixes part of #44).  I've also made the file version optional, although a 
warning
is printed when the version is missing, and the server's free to reject 
versionless
uploads.

Original comment by [email protected] on 19 Oct 2006 at 8:24

  • Changed state: Accepted

Attachments:

from google-breakpad.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024
Checked in, revision [41] (for #41!)

Original comment by [email protected] on 19 Oct 2006 at 9:49

  • Changed state: Fixed

from google-breakpad.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.