Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Store Hashes instead of Tokens #128

Open
jbspeakr opened this issue Apr 18, 2018 · 0 comments
Open

Store Hashes instead of Tokens #128

jbspeakr opened this issue Apr 18, 2018 · 0 comments

Comments

@jbspeakr
Copy link
Member

jbspeakr commented Apr 18, 2018

Current Behaviour

Hashes of tokens are calculated "on-the-fly" during the GET /revocations. This means not just that the tokens are stored plaintext in the DB, but also that there could be an increased resource usage if the GET /revocations result-set is large –– I already saw huge (>10s) latency spikes.

Expected Behaviour

Hashes are calculated and persisted during POST.

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

No branches or pull requests

1 participant