[API reference](https://evolu.dev/docs/api-reference) › [@evolu/common](https://evolu.dev/docs/api-reference/common) › [local‑first/Auth](https://evolu.dev/docs/api-reference/common/local-first/Auth) › DeviceSecretUnwrapError

Defined in: [packages/common/src/local-first/Auth.ts:223](https://github.com/evoluhq/evolu/blob/aa223771feea747ffb1b0f5f3271574455633e37/packages/common/src/local-first/Auth.ts#L223)

A [WrappedDeviceSecret](https://evolu.dev/docs/api-reference/common/local-first/Auth/variables/WrappedDeviceSecret) failed authentication in
[unwrapDeviceSecret](https://evolu.dev/docs/api-reference/common/local-first/Auth/functions/unwrapDeviceSecret): the key is another one, or the bytes changed. Or
it holds 32 zero bytes, instant start's public secret, which isn't a
[DeviceSecret](https://evolu.dev/docs/api-reference/common/local-first/Auth/variables/DeviceSecret).

## Extends

- [`Typed`](https://evolu.dev/docs/api-reference/common/Type/interfaces/Typed)\<`"DeviceSecretUnwrapError"`\>

## Properties

<a id="type"></a>

### type

```ts
readonly type: "DeviceSecretUnwrapError";
```

Defined in: [packages/common/src/Type.ts:19326](https://github.com/evoluhq/evolu/blob/aa223771feea747ffb1b0f5f3271574455633e37/packages/common/src/Type.ts#L19326)

#### Inherited from

[`Typed`](https://evolu.dev/docs/api-reference/common/Type/interfaces/Typed).[`type`](https://evolu.dev/docs/api-reference/common/Type/interfaces/Typed#type)