1. 04 Sep, 2014 2 commits
    • bartfab's avatar
      Make CryptohomeAuthenticator's Login*() methods work with pre-hashed keys · 37e866f4
      bartfab authored
      When a user's cryptohome directory is created with a pre-hashed key,
      the credentials provided need to be hashed in the same way whenever the
      crypthome is to be unlocked/mounted. This CL updates the Login*() methods
      in CryptohomeAuthenticator to retrieve key metadata and apply the correct
      hashing algorithm to the given credentials. Follow-up CLs will update
      the other CryptohomeAuthenticator methods to also work with pre-hashed
      keys.
      
      BUG=367847
      TEST=Extended unit tests
      
      Review URL: https://codereview.chromium.org/517653002
      
      Cr-Commit-Position: refs/heads/master@{#293227}
      37e866f4
    • ttuttle's avatar
      Domain Reliability: Don't create Service if metrics reporting disabled · 8d054025
      ttuttle authored
      Given that the metrics reporting pref is labelled in the UI as requiring
      a restart to apply, this is a much simpler way of gating Domain
      Reliability uploads on it.
      
      We simply don't create the Service (so we don't collect data and upload
      it) if the pref is false.
      
      This will need to be revisited when we also start using the Monitor for
      JavaScript hooks (e.g. the Navigation Error Logging API).
      
      BUG=407170
      
      Review URL: https://codereview.chromium.org/525303004
      
      Cr-Commit-Position: refs/heads/master@{#293226}
      8d054025
  2. 03 Sep, 2014 38 commits