added isEncrypted flag to workspace