-
-
Notifications
You must be signed in to change notification settings - Fork 612
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
Fix HMAC support #369
Fix HMAC support #369
Conversation
fa16a77
to
d6667f6
Compare
61c9e60
to
72f46ae
Compare
72f46ae
to
fd01950
Compare
fd01950
to
1e80e91
Compare
695deaf
to
d8adaed
Compare
1195745
to
b01c822
Compare
bac2e67
to
4ef2b3f
Compare
Any update as to when this could be implemented? |
@railto This will be released by the end of the month, some cleanup needed. |
@chalasr - Can't wait for this to be implemented. It'll be easier to deploy with docker thanks to this PR. No more volume to store only the keys... |
4ef2b3f
to
83226e6
Compare
@@ -25,12 +25,23 @@ public function getConfigTreeBuilder() | |||
->addDefaultsIfNotSet() | |||
->children() | |||
->scalarNode('private_key_path') | |||
->setDeprecated('The "%path%.%node%" configuration key is deprecated since version 2.5. Use "%path%.secret_key%" instead.') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the new configuration key should contain 2 or 4 %
symbols, not 3, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch
->defaultNull() | ||
->end() | ||
->scalarNode('public_key_path') | ||
->setDeprecated('The "%path%.%node%" configuration key is deprecated since version 2.5. Use "%path%.public_key%" instead.') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
@chalasr What is the progress here? Do you need any help? |
9448f84
to
d4c4954
Compare
Sorry for being latish guys, this is ready and will be merged today (not now in case one wants to give it a last review). |
d4c4954
to
a6a7718
Compare
$container->setParameter('lexik_jwt_authentication.public_key_path', $config['public_key']); | ||
} | ||
|
||
if (empty($config['public_key']) && empty(['secret_key'])) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't it be empty($config['secret_key'])
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice catch! thanks
Fixes #307
Fixes #340