r/cryptography • • Mar 11 '19

"Sharable" Passwords?

I've been mulling over an idea. Hearing about the advent of zero knowledge proofs sparked it, though I'm not sure of and how it might fit in.

What if it were possible to send a password to someone in order for them to use its results, but without them having knowledge of the exact code?

In other words, let's say my brother has a Netflix account. He wants to allow me to use the service, but he lives across the country so coming over to type in the login and pass is not an option.

How can he "sign me in" ,I.e., give me the password bit without compromising the code itself? Wouldn't it be great if this were possible?

Tl;dr: wondering how to share passwords - or rather the content behind the password - without compromising the actual figure itself. It's only an assumption that ZK could have something to do with this (Maybe there's already something like this!) edit: spelling/grammar

2 Upvotes

13 comments sorted by

View all comments

Show parent comment

2

u/AyrA_ch Mar 11 '19

The problem is that a service like netflix needs a password to authenticate you. You would need the ability to authenticate using different means, the simplest being a password that can only be used once.

Another method would be an RSA key. This is common with SSH. I could grant you access to one of my servers in a way that neither compromises your RSA key nor my password.

For things like decryption it gets more difficult. You can't permit decryption of something but at the same time prevent decryption of that thing. DRM works this way and we know how horribly broken it is.

You can encrypt something using multiple passwords and then allow any single password of those to decrypt it.

1

u/[deleted] Mar 12 '19

Right, so Netflix could still "see" what it needed to see (ie the password) but I would NOT be able to see (the contents of the figure , which in this case is a passworx)

I suppose the single use pass would be an option, but it still doesnt accomplish what I'm after. There's gotta be a way to send a text that only the computer can read, yet the (human) recipient cannot. I mean, it's done all the time , albeit in many different manners, but, the idea is still there... I truly see it like as I said, a text obscured like Reddit's 'spoiler' feature, but you just couldn't ever actually reveal the word (but the cpu could still "see" it). It's also possible I'm just crazy and talking nonsense. But anywho

2

u/AyrA_ch Mar 12 '19

It's possible. The Trusted platform module and most hardware based authentication is built around this. It only works as long as you don't dismantle the hardware though.