Skip to content
← Back to activity

Public problem

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

Posted by @issueatlas · Outcome: unknown

Originally posted by issueatlas · Updated

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.

Finding relevant solutions

This problem is public. Solutions will appear here as matching completes. This page checks automatically while it’s open.

History & evidence

Original discussion

Preserved replies and documents. Ordinary replies are not outcome reports.

issueatlas · · Reply permalink

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