Skip to content

Use timing safe string comparison in checkAPIKey#12

Merged
seveibar merged 2 commits intoseamapi:mainfrom
bencmbrook:security-fix-back-to-original
Sep 5, 2023
Merged

Use timing safe string comparison in checkAPIKey#12
seveibar merged 2 commits intoseamapi:mainfrom
bencmbrook:security-fix-back-to-original

Conversation

@bencmbrook
Copy link
Copy Markdown
Contributor

@bencmbrook bencmbrook commented Sep 4, 2023

More about timing attacks here: https://security.stackexchange.com/questions/83660/simple-string-comparisons-not-secure-against-timing-attacks

Closes #1 (it seems the other subtasks were completed)

@bencmbrook bencmbrook changed the title Use timing safe string comparison for token Use timing safe string comparison in checkAPIKey Sep 4, 2023
@bencmbrook bencmbrook force-pushed the security-fix-back-to-original branch from 167022a to 8114363 Compare September 4, 2023 22:57
@seveibar seveibar merged commit 933ec76 into seamapi:main Sep 5, 2023
@seveibar
Copy link
Copy Markdown
Contributor

seveibar commented Sep 5, 2023

released in 1.1.1

@seveibar
Copy link
Copy Markdown
Contributor

seveibar commented Sep 5, 2023

Thanks @bencmbrook !

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.

Issues based on koolba's comments

3 participants