Template:J-PAKE Report API
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. This is new as of 2011-04-14