Skip to content

Conversation

@jackkinsella
Copy link

The problem here is that the previous output appended log information to STDOUT

Secure-env :  INFO SENTRY_DSN=something
BING_SUBSCRIPTION_KEY=something_else

This has now become an invalid .env file.

This made it difficult to use this in combination with other tools, e.g. to regenerate a local .env file as part of a build tool.

My recommendation here is to remove this meta-information when decrypting such that we get

SENTRY_DSN=something
BING_SUBSCRIPTION_KEY=something_else

The problem here is that the previous output appended log information to STDOUT

```bash
Secure-env :  INFO SENTRY_DSN=something
BING_SUBSCRIPTION_KEY=something_else
```

This has now become an invalid `.env` file.

This made it difficult to use this in combination with other tools, e.g. to regenerate a local `.env` file as part of a build tool. 

My recommendation here is to remove this meta-information when decrypting such that we get

```bash
SENTRY_DSN=something
BING_SUBSCRIPTION_KEY=something_else
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant