Francois Marier <franc...@mozilla.com> writes: > Hi, > > I'm responsible for Safe Browsing in Firefox and I am reaching out to > make sure that FreeBSD is ready for Firefox 56 (to be released on > 2017-09-26). > > In that version, we will be switching to the latest version of the Safe > Browsing API for our malware/phishing protection and that requires a > valid API key from Google.
Do you mean "google" or "google4" in about:url-classifier? Both seem to be available in FF55 and FF56. However, "google4" currently fails as "cannot update" or "download error (400)" e.g., $ firefox -new-instance -profile $(mktemp -d) about:url-classifier Safe Browsing server returned a 400 during update: request = https://safebrowsing.googleapis.com/v4/threatListUpdates:fetch?$ct=application/x-protobuf&key=<...>&$httpMethod=POST&$req=<...> > > You seem to be passing it as an environment variable: > > https://svnweb.freebsd.org/ports/head/www/firefox/files/patch-env-api-keys?view=markup The patch is just a workaround to avoid having to generate a temporary file. The API key is in another file, see https://svnweb.freebsd.org/ports/head/Mk/bsd.gecko.mk?view=markup#l276 > 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? > > 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 can't really help with anything that requires a Google Account as signing up for one doesn't work via Tor. _______________________________________________ freebsd-gecko@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-gecko To unsubscribe, send any mail to "freebsd-gecko-unsubscr...@freebsd.org"