Release: update user-agent, bundled CA, version number (#281)

* chore: update the user-agent we use

Part of the check-list at https://github.com/ooni/probe/issues/1369.

* chore: set version to 3.9.0

See https://github.com/ooni/probe/issues/1369

* chore: run go generate ./...

This is meant to update the bundled CA. We have heard of issues with
our bundled CA, but it seems there have been no changes upstream.

The website https://curl.se/docs/caextract.html still lists as the
last change the one done on Jan 19, 2021, which is the version of
the CA that we're currently bundling.

For the sake of continuing with the release process, I am going
to further investigate the CA once the release is done.

This chore is part of https://github.com/ooni/probe/issues/1369.
This commit is contained in:
Simone Basso 2021-04-01 18:40:30 +02:00 committed by GitHub
parent 31e478b04e
commit 2ca9496c04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
17 changed files with 20 additions and 20 deletions

View File

@ -3,8 +3,8 @@ package httpheader
// UserAgent returns the User-Agent header used for measuring.
func UserAgent() string {
// 8.0% as of Mar 3, 2021 according to https://techblog.willshouse.com/2012/01/03/most-common-user-agents/
const ua = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36"
// 11.4% as of Mar 31, 2021 according to https://techblog.willshouse.com/2012/01/03/most-common-user-agents/
const ua = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36"
return ua
}

View File

@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2021-03-10 12:20:35.042573349 +0100 CET m=+0.416591177
// 2021-03-31 16:50:03.221493757 +0200 CEST m=+1.318280953
// https://curl.haxx.se/ca/cacert.pem
package gocertifi
@ -3241,7 +3241,7 @@ kpzNNIaRkPpkUZ3+/uul9XXeifdy
`
// CACerts builds an X.509 certificate pool containing the
// certificate bundle from https://curl.haxx.se/ca/cacert.pem fetch on 2021-03-10 12:20:35.042573349 +0100 CET m=+0.416591177.
// certificate bundle from https://curl.haxx.se/ca/cacert.pem fetch on 2021-03-31 16:50:03.221493757 +0200 CEST m=+1.318280953.
// Returns nil on error along with an appropriate error code.
func CACerts() (*x509.CertPool, error) {
pool := x509.NewCertPool()

View File

@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2021-03-10 13:17:31.904167818 +0100 CET m=+0.000077877
// 2021-03-31 16:50:03.708459546 +0200 CEST m=+0.000228783
package ooapi

View File

@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2021-03-10 13:17:32.206416809 +0100 CET m=+0.000074280
// 2021-03-31 16:50:04.057051721 +0200 CEST m=+0.000093878
package ooapi

View File

@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2021-03-10 13:17:32.455000394 +0100 CET m=+0.000119352
// 2021-03-31 16:50:04.317557242 +0200 CEST m=+0.000161626
package ooapi

View File

@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2021-03-10 13:17:32.727159555 +0100 CET m=+0.000080664
// 2021-03-31 16:50:04.580341787 +0200 CEST m=+0.000148802
package ooapi

View File

@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2021-03-10 13:17:32.990745473 +0100 CET m=+0.000093232
// 2021-03-31 16:50:04.79291318 +0200 CEST m=+0.000077728
package ooapi

View File

@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2021-03-10 13:17:33.307415377 +0100 CET m=+0.000150212
// 2021-03-31 16:50:05.02947443 +0200 CEST m=+0.000143471
package ooapi

View File

@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2021-03-10 13:17:33.590560357 +0100 CET m=+0.000145982
// 2021-03-31 16:50:05.248051533 +0200 CEST m=+0.000086484
package ooapi

View File

@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2021-03-10 13:17:33.849313529 +0100 CET m=+0.000136772
// 2021-03-31 16:50:05.487854795 +0200 CEST m=+0.000140777
package ooapi

View File

@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2021-03-10 13:17:34.086220417 +0100 CET m=+0.000080714
// 2021-03-31 16:50:05.702711633 +0200 CEST m=+0.000209246
package ooapi

View File

@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2021-03-10 13:17:34.342751918 +0100 CET m=+0.000196026
// 2021-03-31 16:50:05.963781069 +0200 CEST m=+0.000149834
package ooapi

View File

@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2021-03-10 13:17:34.605701732 +0100 CET m=+0.000131680
// 2021-03-31 16:50:06.223242139 +0200 CEST m=+0.000161967
package ooapi

View File

@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2021-03-10 13:17:35.068399906 +0100 CET m=+0.000095438
// 2021-03-31 16:50:06.482208133 +0200 CEST m=+0.000110650
package ooapi

View File

@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2021-03-10 13:17:35.43791782 +0100 CET m=+0.000136842
// 2021-03-31 16:50:06.785000911 +0200 CEST m=+0.000179961
package ooapi

View File

@ -1,5 +1,5 @@
// Code generated by go generate; DO NOT EDIT.
// 2021-03-10 13:17:35.72281221 +0100 CET m=+0.000577472
// 2021-03-31 16:50:07.052341608 +0200 CEST m=+0.000586077
package ooapi
@ -9,7 +9,7 @@ const swagger = `{
"swagger": "2.0",
"info": {
"title": "OONI API specification",
"version": "0.20210310.3121735"
"version": "0.20210331.3145007"
},
"host": "api.ooni.io",
"basePath": "/",

View File

@ -3,5 +3,5 @@ package version
const (
// Version is the software version
Version = "3.9.0-alpha"
Version = "3.9.0"
)