To avoid secrets being written to disk when a device sleeps the decryption logic should monitor the machines state by way of the agent.
As per #89 the agent is monitoring sleep events. If the device is going to sleep then we will get a notification from the agent
which will cause us to stop and flush all secret memory.
Should we just panic - or can we put ourselves into a resumable state?
To avoid secrets being written to disk when a device sleeps the decryption logic should monitor the machines state by way of the agent.
As per #89 the agent is monitoring sleep events. If the device is going to sleep then we will get a notification from the agent
which will cause us to stop and flush all secret memory.
Should we just panic - or can we put ourselves into a resumable state?