# Keychain

Keychain is a secure location in an iOS where data is encrypted and tied to the device locking/unlocking. The keychain database is in an encrypted format and the encryption happens with a unique hardware-specific key. The hardware key that is used for the encryption is at a secure location and can't be extracted from the device.&#x20;

Objection peut dump le contenu de la Keychain et avoir en clair les données.

## Solution

```
ios keychain dump
```

<figure><img src="https://1236449586-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnLNcn403FNHCLyLwYmTO%2Fuploads%2F1MtTHxiiRVEPQv6ZgJf3%2Fimage.png?alt=media&#x26;token=bf7d33d9-1f6f-427a-b41f-418079b1cf68" alt=""><figcaption></figcaption></figure>
