Date: Sat, 02 Sep 2017 01:39:45 +0200 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: <lgly-aszi-wny@FreeBSD.org> References: <7a098f0b-2412-5ea5-5378-eb36c68fee2a@mozilla.com> <o9rq-isk1-wny@FreeBSD.org> <e46b8037-a08c-4dfd-c682-e6cff051d174@mozilla.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Francois Marier <francois@mozilla.com> writes: > On 07/08/17 09:37 PM, Jan Beich wrote: > >>> If you are indeed already including a Google API key in your builds, >>> then all you need to do is to add the Safe Browsing API to it, see >>> https://bugzilla.mozilla.org/show_bug.cgi?id=1377987#c0. >> >> Does SafeBrowsing require defining MOZILLA_OFFICIAL during build which >> would also enable Telemetry pings? > > Are you defining MOZILLA_OFFICIAL in your builds? No, for now. Other downstream maintainers do, see https://bugzilla.mozilla.org/show_bug.cgi?id=1352981 > >>> Afterwards, if you send me the project ID (not the API key), I can >>> liaise with Google to make sure it has the right access and appropriate >>> quota. >> >> Our gecko@ team shares Google API key with chromium@ team. rene@ was the >> one who originally obtained the key, so maybe he still has the project ID. > > 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. listmanager: [trimmed-timestamp]: stateArray: ,,,, listmanager: [trimmed-timestamp]: update request: { "tableList": "goog-phish-proto,goog-malware-proto,goog-unwanted-proto,goog-badbinurl-proto,goog-downloadwhite-proto", "tableNames": { "goog-phish-proto": true, "goog-malware-proto": true, "goog-unwanted-proto": true, "goog-badbinurl-proto": true, "goog-downloadwhite-proto": true }, "requestPayload": "CgkKB0ZpcmVmb3gaCggFEAIiAiACKAEaCggBEAIiAiACKAEaCggDEAIiAiACKAEaCggHEAIiAiACKAEaCggJEAIiAiACKAE=", "isPostRequest": false } listmanager: [trimmed-timestamp]: makeUpdateRequestForEntry_: requestPayload CgkKB0ZpcmVmb3gaCggFEAIiAiACKAEaCggBEAIiAiACKAEaCggDEAIiAiACKAEaCggHEAIiAiACKAEaCggJEAIiAiACKAE= update: https://safebrowsing.googleapis.com/v4/threatListUpdates:fetch?$ct=application/x-protobuf&key=[trimmed-google-api-key]&$httpMethod=POST tablelist: goog-phish-proto,goog-malware-proto,goog-unwanted-proto,goog-badbinurl-proto,goog-downloadwhite-proto listmanager: [trimmed-timestamp]: download error for goog-phish-proto,goog-malware-proto,goog-unwanted-proto,goog-badbinurl-proto,goog-downloadwhite-proto: 403
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?lgly-aszi-wny>