Skip to content

add timing safe string compare method #689

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

Closed
wants to merge 1 commit into from

Conversation

arrtchiu
Copy link

Supercedes #688. Adds a constant-time string compare method, suited for comparing digests.

@ryanhageman
Copy link

Is this still an issue?

@arrtchiu
Copy link
Author

arrtchiu commented Sep 4, 2018

AFAIK Ruby still has no constant-time string comparison built in, so yes.
The bug is still open in the official bug tracker: https://bugs.ruby-lang.org/issues/10098

@k0kubun k0kubun changed the base branch from trunk to master August 15, 2019 17:59
@k0kubun
Copy link
Member

k0kubun commented Aug 17, 2019

It seems to have a conflict now. Could you rebase this from master?

@k0kubun
Copy link
Member

k0kubun commented Aug 19, 2019

According to https://bugs.ruby-lang.org/issues/10098, it seems that it moved to ruby/openssl#269 and it's actively discussed right now.

Closing in favor of that, but if you still prefer this one, please reopen this after resolving conflicts. Thanks.

@k0kubun k0kubun closed this Aug 19, 2019
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.

3 participants