Skip to content

A safer authentication overflow #5

@henvic

Description

@henvic

I've just been on your talk on handshake and the security risk of intercepting a email has made me think about a way to fix it.

Have you ever seen how Apple does when you try to add a new device to your iCloud account?

It sends a "broadcast-like" message to all your other devices letting you verify the legitimacy of such addition.

What about a simple client which does the same over a secure protocol (that is, HTTPS)?

You could enter your email address on the web site (or whatever service / app it is you're trying to use), just like you do right now. But instead of receiving a code on your email / phone you'd open the app (maybe you receive a notification telling you to do so) and confirm you intend to authorize it. There you could also see a 4-digit code that should appear on the website just to make timing attacks (e.g., someone watching over your sholder) more difficult (maybe this is overkill) by letting the user verify if the code matches with what he's seeing.

If you're paranoid you could even use PGP signed messages on both ends.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions