* [12.x] Add --readable flag to env:encrypt for visible key names
This adds a new `--readable` flag to the `env:encrypt` command that produces
a line-by-line encrypted format where variable names remain visible but
values are encrypted. This allows developers to see what environment
variables exist without exposing sensitive data.
Format example:
APP_NAME=eyJpdiI6...
DB_HOST=eyJpdiI6...
#:eyJpdiI6... (encrypted comment)
Features:
- Variable names visible, values encrypted as base64 JSON
- Comments encrypted with `#:` prefix
- Blank lines preserved
- Multiline values supported
- Auto-detection during decryption (backward compatible)
- Existing blob format continues to work unchanged
* [12.x] Add --readable flag to env:encrypt for visible key names
This adds a new `--readable` flag to the `env:encrypt` command that produces
a line-by-line encrypted format where variable names remain visible but
values are encrypted. This allows developers to see what environment
variables exist without exposing sensitive data.
Format example:
APP_NAME=eyJpdiI6...
DB_HOST=eyJpdiI6...
#:eyJpdiI6... (encrypted comment)
Features:
- Variable names visible, values encrypted as base64 JSON
- Comments encrypted with `#:` prefix
- Blank lines preserved
- Multiline values supported
- Auto-detection during decryption (backward compatible)
- Existing blob format continues to work unchanged
* [12.x] Add --readable flag to env:encrypt for visible key names
This adds a new `--readable` flag to the `env:encrypt` command that produces
a line-by-line encrypted format where variable names remain visible but
values are encrypted. This allows developers to see what environment
variables exist without exposing sensitive data.
Format example:
APP_NAME=eyJpdiI6...
DB_HOST=eyJpdiI6...
Features:
- Variable names visible, values encrypted
- Comments are skipped
- Blank lines skipped
- Multiline values supported
- Auto-detection during decryption (backward compatible)
- Existing blob format continues to work unchanged
* Apply fixes from StyleCI
* [12.x] Add --readable flag to env:encrypt for visible key names
This adds a new `--readable` flag to the `env:encrypt` command that produces
a line-by-line encrypted format where variable names remain visible but
values are encrypted. This allows developers to see what environment
variables exist without exposing sensitive data.
Format example:
APP_NAME=eyJpdiI6...
DB_HOST=eyJpdiI6...
Features:
- Variable names visible, values encrypted
- Comments are skipped
- Blank lines skipped
- Multiline values supported
- Auto-detection during decryption (backward compatible)
- Existing blob format continues to work unchanged
* [12.x] Add --readable flag to env:encrypt for visible key names
This adds a new `--readable` flag to the `env:encrypt` command that produces
a line-by-line encrypted format where variable names remain visible but
values are encrypted. This allows developers to see what environment
variables exist without exposing sensitive data.
Format example:
APP_NAME=eyJpdiI6...
DB_HOST=eyJpdiI6...
Features:
- Variable names visible, values encrypted
- Comments are skipped
- Blank lines skipped
- Multiline values supported
- Auto-detection during decryption (backward compatible)
- Existing blob format continues to work unchanged
* [12.x] Add --readable flag to env:encrypt for visible key names
This adds a new `--readable` flag to the `env:encrypt` command that produces
a line-by-line encrypted format where variable names remain visible but
values are encrypted. This allows developers to see what environment
variables exist without exposing sensitive data.
Format example:
APP_NAME=eyJpdiI6...
DB_HOST=eyJpdiI6...
Features:
- Variable names visible, values encrypted
- Comments are skipped
- Blank lines skipped
- Multiline values supported
- Auto-detection during decryption (backward compatible)
- Existing blob format continues to work unchanged
## Encrypter changes
- Add static encrypted() method to Encrypter
* formatting
* update wording
* update tests
* adding missing tests
---------
Co-authored-by: StyleCI Bot <bot@styleci.io>
Co-authored-by: Taylor Otwell <taylor@laravel.com>