This protocol provides an optional protection layer for customers using Threema Work, cryptographically guarding access to application storage with the help of a Remote Secret stored on the Work server.
With this mechanism it is possible to remotely block access to the application storage, temporarily or permanently. Given a timely response, it allows to prevent data theft, e.g. when a device has been stolen.
RS: Remote Secret (Key)RSH: Remote Secret HashRSHID: Remote Secret Hash tied to an IdentityRSAT: Remote Secret Authentication TokenGenerally, all stored data that can be protected by the Remote Secret feature should be protected by it. With the following exceptions:
Due to significant platform differences, the concrete implementation depends on the respective platform.
¹: Customers that want to prevent access to backups without RS are advised to disable backups via MDM.
²: The domain rules and Work server URL from the OPPF file are required to access the Remote Secret endpoint securely.
The following steps are defined as the Remote Secret Activate Steps:
401 and indicates invalid credentials,
prompt the user to enter their Work credentials and continue with the next
loop iteration.200 or could not be decoded,
exceptionally abort these steps.The following steps are defined as the Remote Secret Deactivate Steps:
The following steps are defined as the Remote Secret Delete Steps:
401 and indicates invalid credentials,
prompt the user to enter their Work credentials and continue with the next
loop iteration.200 or 204, log an error and abort
these steps.The following steps are defined as the Remote Secret Monitor Steps:
interval be 10s, max-failed-attempts be 5 and failed-attempts
be 0.403, run the Remote Secret Lock Steps
with reason locked and abort these steps.404, run the Remote Secret Lock Steps
with reason not found and abort these steps.200 or the response could not be
decoded:
failed-attempts is greater than or equal to max-failed-attempts,
run the Remote Secret Lock Steps with reason server error and
abort these steps.failed-attempts by 1.200 and the response could be decoded:
reason
mismatch and abort these steps.failed-attempts to 0.interval and max-failed-attempts from the response.interval before continuing in the next iteration.The following steps are defined as the Remote Secret Lock Steps:
reason be any of the following lock reasons: locked, not found,
server error, mismatch.reason with the option to manually retry.