Template:J-PAKE Report API: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
Line 25: Line 25:
=== jpake.error.server (Unexpected Server Response) ===
=== jpake.error.server (Unexpected Server Response) ===


Reported when unexpected HTTP response from the JPAKE server is received.
Reported when unexpected HTTP response from the J-PAKE server is received.
 
=== jpake.error.userabort (User Abort) ===
 
Reported when a client aborts the J-PAKE transaction; for example, when canceling a setup wizard.

Revision as of 18:15, 14 April 2011

Suggestions for things we will log through the J-PAKE /report API

Failure modes

jpake.error.timeout (Timeout)

Reported when the exchange is aborted due to timeouts.

jpake.error.invalid (Invalid message)

Reported when an malformed message is received. A malformed message is one that doesn't correctly parse as JSON.

jpake.error.wrongmessage (Wrong message)

Reported when the wrong message is received, as identified by the type property in the JSON blob.

jpake.error.internal (Internal J-PAKE failure)

Reported when a J-PAKE computation step or encryption/decryption step fails.

jpake.error.keymismatch (Key mismatch)

Reported when the SHA256d or HMAC verification fails, in other words when the PIN wasn't entered correctly and both sides ended up with different keys.

jpake.error.server (Unexpected Server Response)

Reported when unexpected HTTP response from the J-PAKE server is received.

jpake.error.userabort (User Abort)

Reported when a client aborts the J-PAKE transaction; for example, when canceling a setup wizard.