diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-06-04 13:17:38 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-06-04 13:17:38 +0200 |
commit | a1be17c1cea81ebb1e8b131a662c698d78f3f7f2 (patch) | |
tree | a92f7de513be600cc07bac458183e9af40e00c06 /application/basilisk/base/content/docs/sslerrorreport/dataformat.rst | |
parent | bf11fdd304898ac675e39b01b280d39550e419d0 (diff) | |
download | UXP-a1be17c1cea81ebb1e8b131a662c698d78f3f7f2.tar UXP-a1be17c1cea81ebb1e8b131a662c698d78f3f7f2.tar.gz UXP-a1be17c1cea81ebb1e8b131a662c698d78f3f7f2.tar.lz UXP-a1be17c1cea81ebb1e8b131a662c698d78f3f7f2.tar.xz UXP-a1be17c1cea81ebb1e8b131a662c698d78f3f7f2.zip |
Issue #303 Part 1: Move basilisk files from /browser to /application/basilisk
Diffstat (limited to 'application/basilisk/base/content/docs/sslerrorreport/dataformat.rst')
-rw-r--r-- | application/basilisk/base/content/docs/sslerrorreport/dataformat.rst | 54 |
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..f69dc7417 --- /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) Gecko/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 |