# Requesting an attestation

An attestation allows an enclave to prove its identity by sharing a series of measurements that are unique to the enclave. These measurements can then be used to grant permissions to enclave to perform certain actions (like registering the enclave key with the Worm State smart contract). Attestations are signed by the TEE vendor (which is the Nitro hypervisor in the case of Marlin and consequently DeepWorm) to ascertain the legitimacy of the enclave.

Any one can request an attestation to verify for themselves that they are interacting with an enclave operating the right version of the worm brain. To do so simply execute the following command on a terminal:

```
curl -sL <enclave_domain>/attestation/raw > attestation
```

The enclave\_domain is available in the *Contracts & IP Addresses* section under the heading "WORM Brain Coprocessor".


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.deepworm.xyz/deepworm/developer-guides/requesting-an-attestation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
