# A remote cache key is too short

What "the signature key is shorter than 32 characters" means and how to fix it.

```text
error: the remote cache can't be used: the signature key is shorter than 32 characters
hint: Use a secret of at least 32 characters.
```

## Why it happens

`AXLE_REMOTE_CACHE_SIGNATURE_KEY` or `AXLE_REMOTE_CACHE_ENCRYPTION_KEY` holds fewer than 32 characters. A short secret could be guessed, which would let someone sign entries or read them.

## How to fix it

Make a longer random secret, for example with `openssl rand -base64 48`, and give it to every machine that shares the [remote cache](https://axlers.dev/docs/reference/remote-cache.md#signed-and-encrypted-entries).
