Skip to content
This repository was archived by the owner on Apr 7, 2021. It is now read-only.

Cannot Disable Encryption globally via DATABASE_ENCRYPTION_ENABLED variable #11

Closed
JustinGT opened this issue Feb 16, 2018 · 3 comments
Closed
Assignees
Labels

Comments

@JustinGT
Copy link

Tried this on a fresh install of laravel 5.5.*

the environment var (in .env) DATABASE_ENCRYPTION_ENABLED=false is ignored.

so if I want to disable the encryption i have to comment out the use HasEncryptedAttributes; statement in each model.

@austinheap
Copy link
Owner

Thanks for reporting this @JustinGT, I'll have time in the next week~ to look into this.

@austinheap
Copy link
Owner

@JustinGT just pushed a fix and README.md updated in 026d7b9. The corrected environment variable to set is DB_ENCRYPTION_ENABLED, not DATABASE_ENCRYPTION_ENABLED like the docs erroneously stated. Let me know if you run into any issues.

@JustinGT
Copy link
Author

JustinGT commented Mar 3, 2018

Yes, can confirm that this has resolved the problem.

@JustinGT JustinGT closed this as completed Mar 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants