madjar
Joined 14 years ago
Karma
23
Submissions
9
Member since
Jul 4
Joined 14 years ago
Would it be possible to replace the whole storing by signing the token with some private key, so that the validity of the token can be checked without having to compare it to some stored value ?
One of the biggest advantages is the fact this is not multi-threading, so context switches can only happen at precise points (yield from). This makes it easier to reason about the code.