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

[enhancement] Task for purging nonces #19

Open
giorrrgio opened this issue Jul 18, 2013 · 8 comments
Open

[enhancement] Task for purging nonces #19

giorrrgio opened this issue Jul 18, 2013 · 8 comments
Assignees

Comments

@giorrrgio
Copy link

How about adding a command for purging expired nonces? It would be useful to put it in a cronjob to mantain the nonce folder clean.

@ghost ghost assigned djoos Jul 22, 2013
@djoos
Copy link
Owner

djoos commented Jul 22, 2013

Hi Giorgio,

thanks for getting in touch - I think this is a great feature request!

Kind regards,
David

@djoos
Copy link
Owner

djoos commented Oct 3, 2013

Hi Giorgio,

would you be able to give the dev_nonces-branch a spin?

php app/console escape:wsseauthentication:nonces:delete nonceDir lifetime

Thanks in advance for your feedback!

Kind regards,
David

@djoos
Copy link
Owner

djoos commented Oct 21, 2013

Hi @giorrrgio,

the dev_nonces-branch has now been merged into master (see #bcdc05d8db41e6206af4c2d0431baae936e0d34d)
I'll close this issue, but don't hesitate to get in touch with your feedback!

Kind regards,
David

@djoos djoos closed this as completed Oct 21, 2013
@djoos
Copy link
Owner

djoos commented Jan 3, 2014

Hi @giorrrgio,

I'm going to reference in #25 (nonce storage abstraction) here, as this is going to have an influence on what we've discussed previously in this thread.

Kind regards,
David

@djoos djoos reopened this Jan 3, 2014
@djoos
Copy link
Owner

djoos commented Jan 3, 2014

The nonce storage has been abstracted, but there doesn't seem to be a way to only delete expired cache ids. So, for now the command will delete all cache ids.

Let's keep an eye on Doctrine/cache.

Kind regards,
David

@scr4tchy
Copy link

scr4tchy commented Mar 9, 2014

How about removing cache of nonce ? I've a large website and it generates thousands of nonces files each hour ... Thanks. So it takes hours to cache:clear so I can't update my website properly anymore !

@djoos
Copy link
Owner

djoos commented Mar 11, 2014

Hi @Mentalow,

"How about removing cache of nonce"
would you mind elaborating this a bit more?

Thanks in advance for your feedback!

Kind regards,
David

@djoos
Copy link
Owner

djoos commented Jun 10, 2014

Also have a look at #44 when tackling this issue.

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

No branches or pull requests

3 participants