Template:J-PAKE Report API
Jump to navigation
Jump to search
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 JPAKE server is received.