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

Guest list (prefix MAC) length extension attack #1

Open
lvh opened this issue Jan 19, 2014 · 0 comments
Open

Guest list (prefix MAC) length extension attack #1

lvh opened this issue Jan 19, 2014 · 0 comments

Comments

@lvh
Copy link
Member

lvh commented Jan 19, 2014

Here's an example exercise text:


There's a guest list for a cool party that you really want to get in to. The party has a guest list on a website. You can access it as guest-list. The website shows the current guest list, and lets you upload a new one. The guest list is a newline-separated list of people.

The party organizers only want people who know the secret password to be able to update the list. Because one of them is very smart, they didn't want to just make you submit the password, where anyone could intercept it. Instead, you have to produce a signature like so:

signature = sha256(password + guest_list)

Add the e-mail address you used to register to the end of the list.


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

No branches or pull requests

1 participant