summaryrefslogtreecommitdiffstats
path: root/application/basilisk/base/content/docs/sslerrorreport/dataformat.rst
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2018-02-02 03:32:58 -0500
committerMatt A. Tobin <email@mattatobin.com>2018-02-02 03:32:58 -0500
commite72ef92b5bdc43cd2584198e2e54e951b70299e8 (patch)
tree01ceb4a897c33eca9e7ccf2bc3aefbe530169fe5 /application/basilisk/base/content/docs/sslerrorreport/dataformat.rst
parent0d19b77d3eaa5b8d837bf52c19759e68e42a1c4c (diff)
downloadUXP-e72ef92b5bdc43cd2584198e2e54e951b70299e8.tar
UXP-e72ef92b5bdc43cd2584198e2e54e951b70299e8.tar.gz
UXP-e72ef92b5bdc43cd2584198e2e54e951b70299e8.tar.lz
UXP-e72ef92b5bdc43cd2584198e2e54e951b70299e8.tar.xz
UXP-e72ef92b5bdc43cd2584198e2e54e951b70299e8.zip
Add Basilisk
Diffstat (limited to 'application/basilisk/base/content/docs/sslerrorreport/dataformat.rst')
-rw-r--r--application/basilisk/base/content/docs/sslerrorreport/dataformat.rst54
1 files changed, 54 insertions, 0 deletions
diff --git a/application/basilisk/base/content/docs/sslerrorreport/dataformat.rst b/application/basilisk/base/content/docs/sslerrorreport/dataformat.rst
new file mode 100644
index 000000000..033b1c403
--- /dev/null
+++ b/application/basilisk/base/content/docs/sslerrorreport/dataformat.rst
@@ -0,0 +1,54 @@
+.. _sslerrorreport_dataformat:
+
+==============
+Payload Format
+==============
+
+An example report::
+
+ {
+ "hostname":"example.com",
+ "port":443,
+ "timestamp":1413490449,
+ "errorCode":-16384,
+ "failedCertChain":[
+ ],
+ "userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Goanna/20100101 Firefox/36.0",
+ "version":1,
+ "build":"20141022164419",
+ "product":"Firefox",
+ "channel":"default"
+ }
+
+Where the data represents the following:
+
+"hostname"
+ The name of the host the connection was being made to.
+
+"port"
+ The TCP port the connection was being made to.
+
+"timestamp"
+ The (local) time at which the report was generated. Seconds since 1 Jan 1970,
+ UTC.
+
+"errorCode"
+ The error code. This is the error code from certificate verification. Here's a small list of the most commonly-encountered errors:
+ https://wiki.mozilla.org/SecurityEngineering/x509Certs#Error_Codes_in_Firefox
+ In theory many of the errors from sslerr.h, secerr.h, and pkixnss.h could be encountered. We're starting with just MOZILLA_PKIX_ERROR_KEY_PINNING_FAILURE, which means that key pinning failed (i.e. there wasn't an intersection between the keys in any computed trusted certificate chain and the expected list of keys for the domain the user is attempting to connect to).
+
+"failedCertChain"
+ The certificate chain which caused the pinning violation (array of base64
+ encoded PEM)
+
+"user agent"
+ The user agent string of the browser sending the report
+
+"build"
+ The build ID
+
+"product"
+ The product name
+
+"channel"
+ The user's release channel