Re: [jupyter] bug with logout?

2018-01-22 Thread Tim Harsch
That's my understanding as well. Also stated in the javadocs of https://docs.spring.io/spring-security/site/docs/4.0.3.RELEASE/apidocs/org/springframework/security/web/authentication/rememberme/PersistentTokenBasedRememberMeServices.html "A suitable batch process should be run periodically

Re: [jupyter] Just ran "conda upgrade notebook" to get .5.3.1 now notebook won't start

2018-01-22 Thread Tom Brander
Thanks so much running conda update juypyter_core seems to have it kicking some it complained about terminado being out of date so I did a conda update on that also but I'm still left with these error which I don't yet see if they impact me but: The GPU one has been around for a long time.. but

Re: [jupyter] Just ran "conda upgrade notebook" to get .5.3.1 now notebook won't start

2018-01-22 Thread Brian Granger
can you try updating the jupyter_core package using conda or pip. We may have forgotten to update a dependency version. On Mon, Jan 22, 2018 at 1:28 PM, Tom Brander wrote: > Got no error on the upgrade but get this now when trying to run notebook so > I'm stuck! > Some sort

[jupyter] Just ran "conda upgrade notebook" to get .5.3.1 now notebook won't start

2018-01-22 Thread Tom Brander
Got no error on the upgrade but get this now when trying to run notebook so I'm stuck! Some sort of config issue? Help appreciated! tom@tomServal:~$ jupyter notebook Traceback (most recent call last): File "/home/tom/anaconda3/bin/jupyter-notebook", line 4, in import notebook.notebookapp

Re: [jupyter] bug with logout?

2018-01-22 Thread Thomas Kluyver
There's two ways to approach it. One is, as you're describing, to have a central store of currently valid tokens, and check against that. The other is to have tokens that contain information on what permissions they grant and when they expire, with a cryptographic signature to prevent tampering.

Re: [jupyter] bug with logout?

2018-01-22 Thread Lawrence D’Oliveiro
On Monday, January 22, 2018 at 9:07:20 PM UTC+13, Roland Weber wrote: > > On Saturday, January 20, 2018 at 12:08:16 AM UTC+1, Lawrence D’Oliveiro > wrote: > > Surely it’s the other way round, the usual practice being to maintain a >> store of *valid* tokens, with a finite lifetime attached to

Re: [jupyter] JupyterHub Not able to Login SUSE Linux 11 SP3 OS

2018-01-22 Thread Matthias Bussonnier
Ok, great. That is strange that you had this permission issue. What is specific to your machine or is it more general in suse ? How did you fix it might be of interest for other ! Thanks ! -- M On 22 January 2018 at 08:45, Karthik Pitchaimani wrote: > Hi Matthias, > >

Re: [jupyter] JupyterHub Not able to Login SUSE Linux 11 SP3 OS

2018-01-22 Thread Karthik Pitchaimani
Hi Matthias, Thank you so much. It's permission issues with /etc/../clock file and also given ip6 information on hosts file. It is working fine now. On Saturday, January 20, 2018 at 8:50:00 PM UTC+8, Karthik Pitchaimani wrote: > > Yes, I can able to import below libs from python shell. >

Re: [jupyter] bug with logout?

2018-01-22 Thread Tim Harsch
I spent some time digging into Spring to see how it is handled. They have a PersistentTokenBasedRememberMeServices class. It generally follows this standard approach http://jaspan.com/improved_persistent_login_cookie_best_practice. The article was a very interesting read and I think it may

Re: [jupyter] bug with logout?

2018-01-22 Thread Matthias Bussonnier
I believe the use case and patterns for JupyterHub vs notebook could be sufficiently different that we may want to look more into details. IMHO having a set cookie to login to a notebook seem reasonable, as users often only use it on localhost, and once you are logged-in you want your login

Re: [jupyter] bug with logout?

2018-01-22 Thread Roland Weber
On Saturday, January 20, 2018 at 12:08:16 AM UTC+1, Lawrence D’Oliveiro wrote: > > Surely it’s the other way round, the usual practice being to maintain a > store of *valid* tokens, with a finite lifetime attached to each (perhaps > reset when they get presented again). The tokens get deleted