Security/Safe Browsing/V4 Implementation: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 19: Line 19:
# Add "ac_add_options --with-google-api-keyfile=/path/to/your/keyfile" to mozconfig
# Add "ac_add_options --with-google-api-keyfile=/path/to/your/keyfile" to mozconfig
# Rebuild and check if config.status has something like 'MOZ_GOOGLE_API_KEY': b'AIzaSooxxxxoxoxoxoxooxx'
# Rebuild and check if config.status has something like 'MOZ_GOOGLE_API_KEY': b'AIzaSooxxxxoxoxoxoxooxx'
= Try it on! =
V4 has been function ready (but pref'ed off) since Bug 1312339 was resolved. By changing preferences
# '''urlclassifier.malwareTable''' to '''goog-phish-shavar,goog-phish-proto,test-phish-simple'''
# '''urlclassifier.phishTable''' to '''goog-malware-shavar,goog-malware-proto,goog-unwanted-shavar,goog-unwanted-proto,test-malware-simple,test-unwanted-simple'''
# '''browser.safebrowsing.provider.google4.gethashURL''' to '''https://safebrowsing.googleapis.com/v4/fullHashes:find?$ct=application/x-protobuf&key=%GOOGLE_API_KEY%'''
you can turn on v4 feature (while v2 is still up and running).


= Milestones =
= Milestones =
Confirmed users
158

edits