Date: Fri, 17 Nov 2017 19:01:44 +0100 From: Jan Beich <jbeich@FreeBSD.org> To: Francois Marier <francois@mozilla.com> Cc: gecko@FreeBSD.org, =?utf-8?Q?Ren=C3=A9?= Ladan <rene@FreeBSD.org> Subject: Re: Firefox 56 in FreeBSD: Safe Browsing API key required Message-ID: <4lps-lr7b-wny@FreeBSD.org> In-Reply-To: <a825-bmzi-wny@FreeBSD.org> (Jan Beich's message of "Fri, 08 Sep 2017 10:42:09 %2B0200") References: <7a098f0b-2412-5ea5-5378-eb36c68fee2a@mozilla.com> <o9rq-isk1-wny@FreeBSD.org> <e46b8037-a08c-4dfd-c682-e6cff051d174@mozilla.com> <lgly-aszi-wny@FreeBSD.org> <1369fb5d-b860-ddd2-a8d0-196ce33b4efa@mozilla.com> <ziac-wjo5-wny@FreeBSD.org> <a825-bmzi-wny@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Jan Beich <jbeich@FreeBSD.org> writes: > Jan Beich <jbeich@FreeBSD.org> writes: > >> Francois Marier <francois@mozilla.com> writes: >> >>>>> I just verified your API key in a custom build of Firefox and it will >>>>> work for basic Safe Browsing V4 support as long as you don't set >>>>> MOZILLA_OFFICIAL. >>>> >>>> Doesn't seem to work, at least on firefox-56.0b6. >>> >>> We need to uplift https://bugzilla.mozilla.org/show_bug.cgi?id=1394053 >>> to Beta to fix this. >> >> OK, I'll wait but the patch in that bug isn't enough to fix the error. > > Thanks. I confirm, Safe Browsing v4 works fine in firefox-56.0b10. Not sure why Firefox 56 didn't switch to v4 but 57 atm doesn't work. Chromium 61 still warns about phishing pages, so the issue is probbaly not due to the API key quota. $ firefox -new-instance -profile $(mktemp -d) about:url-classifier https://testsafebrowsing.appspot.com/ listmanager: 17:00:01 GMT+0000 (UTC): checkForUpdates with https://safebrowsing.googleapis.com/v4/threatListUpdates:fetch?$ct=application/x-protobuf&key=[trimmed-google-api-key]&$httpMethod=POST listmanager: 17:00:01 GMT+0000 (UTC): this.tablesData: { "googpub-phish-proto": { "updateUrl": "https://safebrowsing.googleapis.com/v4/threatListUpdates:fetch?$ct=application/x-protobuf&key=[trimmed-google-api-key]&$httpMethod=POST", "gethashUrl": "https://safebrowsing.googleapis.com/v4/fullHashes:find?$ct=application/x-protobuf&key=[trimmed-google-api-key]&$httpMethod=POST", "provider": "google4" }, "goog-malware-proto": { "updateUrl": "https://safebrowsing.googleapis.com/v4/threatListUpdates:fetch?$ct=application/x-protobuf&key=[trimmed-google-api-key]&$httpMethod=POST", "gethashUrl": "https://safebrowsing.googleapis.com/v4/fullHashes:find?$ct=application/x-protobuf&key=[trimmed-google-api-key]&$httpMethod=POST", "provider": "google4" }, "goog-unwanted-proto": { "updateUrl": "https://safebrowsing.googleapis.com/v4/threatListUpdates:fetch?$ct=application/x-protobuf&key=[trimmed-google-api-key]&$httpMethod=POST", "gethashUrl": "https://safebrowsing.googleapis.com/v4/fullHashes:find?$ct=application/x-protobuf&key=[trimmed-google-api-key]&$httpMethod=POST", "provider": "google4" }, "goog-badbinurl-proto": { "updateUrl": "https://safebrowsing.googleapis.com/v4/threatListUpdates:fetch?$ct=application/x-protobuf&key=[trimmed-google-api-key]&$httpMethod=POST", "gethashUrl": "https://safebrowsing.googleapis.com/v4/fullHashes:find?$ct=application/x-protobuf&key=[trimmed-google-api-key]&$httpMethod=POST", "provider": "google4" }, "goog-downloadwhite-proto": { "updateUrl": "https://safebrowsing.googleapis.com/v4/threatListUpdates:fetch?$ct=application/x-protobuf&key=[trimmed-google-api-key]&$httpMethod=POST", "gethashUrl": "https://safebrowsing.googleapis.com/v4/fullHashes:find?$ct=application/x-protobuf&key=[trimmed-google-api-key]&$httpMethod=POST", "provider": "google4" }, "goog-passwordwhite-proto": { "updateUrl": "https://safebrowsing.googleapis.com/v4/threatListUpdates:fetch?$ct=application/x-protobuf&key=[trimmed-google-api-key]&$httpMethod=POST", "gethashUrl": "https://safebrowsing.googleapis.com/v4/fullHashes:find?$ct=application/x-protobuf&key=[trimmed-google-api-key]&$httpMethod=POST", "provider": "google4" }, "base-track-digest256": { "updateUrl": "https://shavar.services.mozilla.com/downloads?client=Firefox&appver=57.0&pver=2.2", "gethashUrl": "https://shavar.services.mozilla.com/gethash?client=Firefox&appver=57.0&pver=2.2", "provider": "mozilla" }, "mozstd-trackwhite-digest256": { "updateUrl": "https://shavar.services.mozilla.com/downloads?client=Firefox&appver=57.0&pver=2.2", "gethashUrl": "https://shavar.services.mozilla.com/gethash?client=Firefox&appver=57.0&pver=2.2", "provider": "mozilla" }, "mozplugin-block-digest256": { "updateUrl": "https://shavar.services.mozilla.com/downloads?client=Firefox&appver=57.0&pver=2.2", "gethashUrl": "https://shavar.services.mozilla.com/gethash?client=Firefox&appver=57.0&pver=2.2", "provider": "mozilla" }, "allow-flashallow-digest256": { "updateUrl": "https://shavar.services.mozilla.com/downloads?client=Firefox&appver=57.0&pver=2.2", "gethashUrl": "https://shavar.services.mozilla.com/gethash?client=Firefox&appver=57.0&pver=2.2", "provider": "mozilla" }, "except-flashallow-digest256": { "updateUrl": "https://shavar.services.mozilla.com/downloads?client=Firefox&appver=57.0&pver=2.2", "gethashUrl": "https://shavar.services.mozilla.com/gethash?client=Firefox&appver=57.0&pver=2.2", "provider": "mozilla" }, "block-flash-digest256": { "updateUrl": "https://shavar.services.mozilla.com/downloads?client=Firefox&appver=57.0&pver=2.2", "gethashUrl": "https://shavar.services.mozilla.com/gethash?client=Firefox&appver=57.0&pver=2.2", "provider": "mozilla" }, "except-flash-digest256": { "updateUrl": "https://shavar.services.mozilla.com/downloads?client=Firefox&appver=57.0&pver=2.2", "gethashUrl": "https://shavar.services.mozilla.com/gethash?client=Firefox&appver=57.0&pver=2.2", "provider": "mozilla" }, "block-flashsubdoc-digest256": { "updateUrl": "https://shavar.services.mozilla.com/downloads?client=Firefox&appver=57.0&pver=2.2", "gethashUrl": "https://shavar.services.mozilla.com/gethash?client=Firefox&appver=57.0&pver=2.2", "provider": "mozilla" }, "except-flashsubdoc-digest256": { "updateUrl": "https://shavar.services.mozilla.com/downloads?client=Firefox&appver=57.0&pver=2.2", "gethashUrl": "https://shavar.services.mozilla.com/gethash?client=Firefox&appver=57.0&pver=2.2", "provider": "mozilla" }, "except-flashinfobar-digest256": { "updateUrl": "https://shavar.services.mozilla.com/downloads?client=Firefox&appver=57.0&pver=2.2", "gethashUrl": "https://shavar.services.mozilla.com/gethash?client=Firefox&appver=57.0&pver=2.2", "provider": "mozilla" } } listmanager: 17:00:01 GMT+0000 (UTC): existing chunks: except-flash-digest256;a:1494877265 test-harmful-simple;a:1 except-flashallow-digest256;a:1490633678 test-malware-simple;a:1 allow-flashallow-digest256;a:1490633678 test-phish-simple;a:1 test-block-simple;a:1 except-flashinfobar-digest256;a:1497379266 except-flashsubdoc-digest256;a:1490633678 base-track-digest256;a:1507148777 mozstd-trackwhite-digest256;a:1510861265 test-track-simple;a:1-2 test-unwanted-simple;a:1 test-trackwhite-simple;a:1 block-flashsubdoc-digest256;a:1496263270 mozplugin-block-digest256;a:1471849627 block-flash-digest256;a:1496263270 listmanager: 17:00:01 GMT+0000 (UTC): stateArray: ,, listmanager: 17:00:01 GMT+0000 (UTC): update request: { "tableList": "googpub-phish-proto,goog-malware-proto,goog-unwanted-proto,goog-badbinurl-proto,goog-downloadwhite-proto,goog-passwordwhite-proto", "tableNames": { "googpub-phish-proto": true, "goog-malware-proto": true, "goog-unwanted-proto": true }, "requestPayload": "CgkKB0ZpcmVmb3gaCggCEAIiAiACKAEaCggBEAIiAiACKAEaCggDEAIiAiACKAE=", "isPostRequest": false } listmanager: 17:00:01 GMT+0000 (UTC): makeUpdateRequestForEntry_: requestPayload CgkKB0ZpcmVmb3gaCggCEAIiAiACKAEaCggBEAIiAiACKAEaCggDEAIiAiACKAE= update: https://safebrowsing.googleapis.com/v4/threatListUpdates:fetch?$ct=application/x-protobuf&key=[trimmed-google-api-key]&$httpMethod=POST tablelist: googpub-phish-proto,goog-malware-proto,goog-unwanted-proto,goog-badbinurl-proto,goog-downloadwhite-proto,goog-passwordwhite-proto listmanager: 17:00:01 GMT+0000 (UTC): download error for googpub-phish-proto,goog-malware-proto,goog-unwanted-proto,goog-badbinurl-proto,goog-downloadwhite-proto,goog-passwordwhite-proto: 429
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4lps-lr7b-wny>