Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FrameworkBundle][SodiumVault] Create secrets directory only when it is used #34820

Merged
merged 1 commit into from Dec 5, 2019

Conversation

fancyweb
Copy link
Contributor

@fancyweb fancyweb commented Dec 4, 2019

Q A
Branch? 4.4
Bug fix? no
New feature? no
Deprecations? no
Tickets -
License MIT
Doc PR -

FWB secrets is enabled by default. After upgrading an app to 4.4, a directory is created (and checked on every request) even if I don't use this feature. Can't we just disable it by default btw?

@fancyweb fancyweb force-pushed the fwb-lazy-dir-creation-sodium-vault branch from dc94381 to 4858dac Compare December 4, 2019 17:29
@fancyweb fancyweb force-pushed the fwb-lazy-dir-creation-sodium-vault branch from 4858dac to c861570 Compare December 4, 2019 17:30
@nicolas-grekas nicolas-grekas added this to the 4.4 milestone Dec 4, 2019
@fabpot
Copy link
Member

fabpot commented Dec 5, 2019

Thank you @fancyweb.

fabpot added a commit that referenced this pull request Dec 5, 2019
…ly when it is used (fancyweb)

This PR was merged into the 4.4 branch.

Discussion
----------

[FrameworkBundle][SodiumVault] Create secrets directory only when it is used

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       | -
| License       | MIT
| Doc PR        | -

FWB `secrets` is enabled by default. After upgrading an app to 4.4, a directory is created (and checked on every request) even if I don't use this feature. Can't we just disable it by default btw?

Commits
-------

c861570 [FrameworkBundle][SodiumVault] Create secrets directory only when needed
@fabpot fabpot merged commit c861570 into symfony:4.4 Dec 5, 2019
@fancyweb fancyweb deleted the fwb-lazy-dir-creation-sodium-vault branch December 5, 2019 08:04
@phcorp
Copy link

phcorp commented Dec 10, 2019

Thank you, symfony recipe should also be updated: https://github.com/symfony/recipes/tree/master/symfony/framework-bundle/4.4/config

@nicolas-grekas
Copy link
Member

See symfony/recipes#708 about the recipe.

This was referenced Dec 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants