> For the complete documentation index, see [llms.txt](https://docs.1kosmos.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.1kosmos.com/identity-verification/ial2-verification/identity-wallet-based-verification.md).

# Identity Wallet-Based Verification

***

### Identity Wallets on the Smartphone

Every time you download and install the 1Kosmos app, a new identity wallet is created for you using public key cryptography. A decentralized identifier along with the key pair constitute your identity wallet. PII information about the user is stored within the wallet and requires the user's private key and biometrics to read data from the wallet. The private key is securely stored in the Secure Enclave of the device, and the public key is stored by relying parties.

When data from the wallet needs to be presented to a relying party, the holder must present biometrics and consent to share data. When approved, the private key is presented as a credential to unlock the wallet and share data. The private key never leaves the device, minimizing it from compromise.

### Identity Wallets for the Web

For enterprises looking to onboard their customers purely from a web-based journey, 1Kosmos supports web wallets that are implicitly created during sign-up. A decentralized identifier along with the public key and private key constitute your identity wallet. Web wallets are protected by password-based or passwordless MFA methods. In addition, wallets require a user-provided PIN to unlock the wallet.

### Replacing Passwords with Public Key Cryptography

Public key cryptography reduces the threat from potential database breaches. Initiating 1Kosmos mobile generates a public-private key pair on the user's authenticator (a physical device). The user's public key is stored by requesting websites / relying parties, but this alone is useless to an attacker. An attacker cannot derive the user's private key from the data stored on the server, which is required to complete authentication.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.1kosmos.com/identity-verification/ial2-verification/identity-wallet-based-verification.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
