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

Upgrade osin, increase entropy in tokens #2288

Merged
merged 2 commits into from
May 16, 2015
Merged

Upgrade osin, increase entropy in tokens #2288

merged 2 commits into from
May 16, 2015

Conversation

liggitt
Copy link
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
Contributor Author

liggitt commented May 16, 2015

@smarterclayton PTAL

@smarterclayton
Copy link
Contributor

I've meaning to get some more entropy.

@smarterclayton
Copy link
Contributor

LGTM [merge]

@openshift-bot
Copy link
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
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
This pull request was closed.
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