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

Avoid validating key paths before container compilation #285

Merged
merged 1 commit into from
Dec 5, 2016

Conversation

chalasr
Copy link
Collaborator

@chalasr chalasr commented Dec 4, 2016

Fixes #284 by removing key path validation from our configuration since it's too early for stream wrappers. Paths are still checked at runtime on credentials+jwt login.

/cc @Spomky maybe SpomkyLabs/JoseBundle is concerned by this issue too

@chalasr chalasr added the Bug label Dec 4, 2016
@chalasr chalasr merged commit 465c72a into master Dec 5, 2016
@chalasr chalasr deleted the fix/remove_key-path_validation branch December 5, 2016 09:16
@Spomky
Copy link
Contributor

Spomky commented Dec 7, 2016

Hi @chalasr,

I am not sure the spomky-labs/jose-bundle is concerned as there is no path validation in the key configuration. The bundle only creates the key definitions using a dedicated method called by the compiler pass. The path is checked only when the definition is used and the key factory is called.

However, I will be happy to know if I am wrong or not a fix it if needed.
Please @cevou, could you try to use the spomky-labs/lexik-jose-bridge and verify this assumption?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants