# Infisical Enter passphrase to unlock printed to stdout breaks infisical export redirect

## What's going on

With the file vault (infisical vault set file), running `infisical export > .env` behaves wrong: the "Enter passphrase to unlock" prompt is not shown, and after typing the password anyway, the prompt text itself ends up written into the .env file. The prompt goes to stdout instead of stderr.

## The verified fix

This was a CLI bug, fixed by the Infisical maintainers, interactive prompts are now written to stderr so stdout redirection captures only the secret payload. Upgrade the Infisical CLI past v0.12.2 and `infisical export > .env` produces a clean file.

Source: https://github.com/Infisical/infisical/issues/941

## How to use this

Take the question above and check if it matches what you're seeing. If it does, work through the verified fix step by step. Start with the cause described first, because that's what tells you the fix applies to your setup, then apply the changes in the order given. Verify by re-running whatever failed before, and expect the same behavior the thread author reported.
