> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hyperauth.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# GET /enclave.wasm

> Serves the HyperAuth enclave WASM binary that the signer worker loads to run passkey cryptography in a sandboxed, side-channel-resistant environment.

Returns the enclave WASM binary.

The worker first checks R2 (`CDN_ASSETS`) for `enclave/latest/enclave.wasm`. If absent, it falls back to the `ASSETS` static binding.

## Response headers

| Header          | Value                                  |
| --------------- | -------------------------------------- |
| `Content-Type`  | `application/wasm`                     |
| `Cache-Control` | `public, max-age=3600, s-maxage=86400` |

## Example

```bash theme={null}
curl -s https://did.run/enclave.wasm -o enclave.wasm
file enclave.wasm
# enclave.wasm: WebAssembly (wasm) binary module ...
```
