You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the user cancels the activation on the device after it has been committed on the client, the server has no way of learning that the registration has been canceled.
We could provide an endpoint to remove such registration. The endpoint would allow modifications only for CREATED and PENDING_COMMIT activations. As the activation ID is sufficiently random and the new endpoint would have no effect on ACTIVE, BLOCKED or REMOVED activations, we should evaluate if we need to authenticate the endpoint or if we can simply rely on the time window.
If the authentication is omitted, the server should always return a blank success response, to provide minimum information about if such activation exists (this should also remove any motivation to just send requests to the endpoint).
What about to provide a H_K_DEVICE_PUBLIC as a proof of authenticity? It should be already calculated on both sides. It will work for PENDING_COMMIT only, but activation in CREATED state is irrelevant for the mobile device (it should never happen)
We can modify H_K_DEVICE_PUBLIC calculation a little by replacing SHA256 with HMAC_SHA256 with using KEY_TRANSPORT for the derivation. For example:
If the user cancels the activation on the device after it has been committed on the client, the server has no way of learning that the registration has been canceled.
We could provide an endpoint to remove such registration. The endpoint would allow modifications only for
CREATED
andPENDING_COMMIT
activations. As the activation ID is sufficiently random and the new endpoint would have no effect onACTIVE
,BLOCKED
orREMOVED
activations, we should evaluate if we need to authenticate the endpoint or if we can simply rely on the time window.If the authentication is omitted, the server should always return a blank success response, to provide minimum information about if such activation exists (this should also remove any motivation to just send requests to the endpoint).
Endpoint
Request
Response 200 - OK
The text was updated successfully, but these errors were encountered: