Skip to content

Upgrade osin, increase entropy in tokens#2288

Merged
openshift-bot merged 2 commits intoopenshift:masterfrom
liggitt:osin
May 16, 2015
Merged

Upgrade osin, increase entropy in tokens#2288
openshift-bot merged 2 commits intoopenshift:masterfrom
liggitt:osin

Conversation

@liggitt
Copy link
Copy Markdown
Contributor

@liggitt liggitt commented May 16, 2015

We were previously doing:

random uuid bytes -> hex encoding -> base64 encoding

This made 122 random bits take about 49 characters to represent. If we skip the hex encoding step, we can get 244 random bits in about 44 characters.

@liggitt
Copy link
Copy Markdown
Contributor Author

liggitt commented May 16, 2015

@smarterclayton PTAL

@smarterclayton
Copy link
Copy Markdown
Contributor

I've meaning to get some more entropy.

@smarterclayton
Copy link
Copy Markdown
Contributor

LGTM [merge]

@openshift-bot
Copy link
Copy Markdown
Contributor

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_requests_origin/1969/) (Image: devenv-fedora_1546)

@openshift-bot
Copy link
Copy Markdown
Contributor

Evaluated for origin up to e715af2

openshift-bot pushed a commit that referenced this pull request May 16, 2015
Merged by openshift-bot
@openshift-bot openshift-bot merged commit 3143549 into openshift:master May 16, 2015
@liggitt liggitt deleted the osin branch May 16, 2015 11:58
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

Successfully merging this pull request may close these issues.

Oauth server not handling state when requesting a token directly

3 participants