News for hackers. Stuff that matters.
Re:CBCrypt: Encrypt from the client rather than send passwor... by homakov on Tuesday October 06, 2015 @12:15PM (#10339940)
I'm working on the same problem, and there's a working prototype https://github.com/sakurity/truefactor

The problem is bigger than that - we should stop making users type password at all. There should be an authentication module any website could use to store and retrieve credentials from. Check out Truefactor.

Re:CBCrypt: Encrypt from the client rather than send passwor... by discreditable on Tuesday October 06, 2015 @12:22PM (#10339992)
> The problem is bigger than that - we should stop making users type password at all. There should be an authentication module any website could use to store and retrieve credentials from.

We have the solution already in HTTPS client certificates. Browsers all have mechanisms for generating and storing them. The only problem is that no one uses them.

Re:CBCrypt: Encrypt from the client rather than send passwor... by homakov on Tuesday October 06, 2015 @12:25PM (#10340028)
Is there JS API to use HTTPS certs to sign specific strings? Like "send 1 bitcoin to X"
Re:CBCrypt: Encrypt from the client rather than send passwor... by valarauca1 on Tuesday October 06, 2015 @12:20PM (#10339978)
> There should be an authentication module any website could use to store and retrieve credentials from.

How do you plan to do that securely?

Re:CBCrypt: Encrypt from the client rather than send passwor... by homakov on Tuesday October 06, 2015 @12:25PM (#10340017)
Open truefactor:// app. Currently there is only a Web version and it has serious downsides (web crypto is a bad idea), but think of it as a Light version. Desktop apps to come later.
Re:CBCrypt: Encrypt from the client rather than send passwor... by valarauca1 on Tuesday October 06, 2015 @12:29PM (#10340066)
I was looking for more of a write up. I'm just wondering how/where the credentials get cached and how you securely know the user re-connecting is the user who previously disconnected.
Re:CBCrypt: Encrypt from the client rather than send passwor... by homakov on Tuesday October 06, 2015 @12:31PM (#10340084)
Credentials are encrypted with passphrase and seamlessly stored on the server by token=sha256(passphrase). https://truefactor.io/
Re:CBCrypt: Encrypt from the client rather than send passwor... by valarauca1 on Tuesday October 06, 2015 @12:38PM (#10340137)
Site gives me a login page. I make a login and I get no information about the service just user options.

Also where is the salt stored? SHA256 is pretty easy to brute force even salted.

Re:CBCrypt: Encrypt from the client rather than send passwor... by homakov on Tuesday October 06, 2015 @12:42PM (#10340171)
Email itself is salt (or rather public part of passphrase). So from email+passphrase encryptionKey is derived using scrypt. So it's actually sha(scrypt(email+passphrase))
Re:CBCrypt: Encrypt from the client rather than send passwor... by k3d3 on Tuesday October 06, 2015 @07:15PM (#10343103)
Why would you make all of your commit messages "1", instead of explaining what the added code does in each?
Re:CBCrypt: Encrypt from the client rather than send passwor... by homakov on Wednesday October 07, 2015 @05:51AM (#10345054)
I'm a single developer, imo no one will read these messages until Beta version.