From 6f771a972b61c82903c9651d5202adc2d5643292 Mon Sep 17 00:00:00 2001 From: Maarten Billemont Date: Tue, 20 Jan 2015 10:37:43 -0500 Subject: [PATCH] his -> their. --- MasterPassword/ObjC/Mac/MPMacAppDelegate.m | 2 +- Site/2012-07/algorithm.html | 2 +- Site/2013-05/security.html | 4 ++-- Site/2013-05/what.html | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/MasterPassword/ObjC/Mac/MPMacAppDelegate.m b/MasterPassword/ObjC/Mac/MPMacAppDelegate.m index d20afa79..f9a64a9e 100644 --- a/MasterPassword/ObjC/Mac/MPMacAppDelegate.m +++ b/MasterPassword/ObjC/Mac/MPMacAppDelegate.m @@ -390,7 +390,7 @@ static OSStatus MPHotKeyHander(EventHandlerCallRef nextHandler, EventRef theEven NSAlert *alert = [NSAlert alertWithMessageText:@"Delete User" defaultButton:@"Delete" alternateButton:nil otherButton:@"Cancel" - informativeTextWithFormat:@"This will delete %@ and all his sites.", self.activeUserForMainThread.name]; + informativeTextWithFormat:@"This will delete %@ and all their sites.", self.activeUserForMainThread.name]; if ([alert runModal] != NSAlertDefaultReturn) return; diff --git a/Site/2012-07/algorithm.html b/Site/2012-07/algorithm.html index 199f5221..46ddf045 100644 --- a/Site/2012-07/algorithm.html +++ b/Site/2012-07/algorithm.html @@ -255,7 +255,7 @@

- The result is a 64-byte key derived from the user's master password. This key will be fed into the rest of the algorithm to produce output passwords that are as private to the user as his master password is. + The result is a 64-byte key derived from the user's master password. This key will be fed into the rest of the algorithm to produce output passwords that are as private to the user as their master password is.

Combining The Inputs

diff --git a/Site/2013-05/security.html b/Site/2013-05/security.html index 1aad4e6e..8e28554f 100644 --- a/Site/2013-05/security.html +++ b/Site/2013-05/security.html @@ -296,14 +296,14 @@

The Master Key

The first part of the process it to obtain a very strong "token" of your personal identity. We call this token your master key, because it is very much like the one and only main key that opens all your doors. It is a personal key, it represents your identity.

The master key is derived from your name and your master password, and thrown away as soon as it's no longer needed to minimize the risk of loss.

-

Since it's vital that nobody else can gain access to your master key, it's important that the process of deriving the key is insurmountably difficult. An attacker could try a brute-force attack against your master key or password by convincing you to make an account on his website, and then guessing at your master password or your master key until he finds one that gives him your password for his fake site.

+

Since it's vital that nobody else can gain access to your master key, it's important that the process of deriving the key is insurmountably difficult. An attacker could try a brute-force attack against your master key or password by convincing you to make an account on their website, and then guessing at your master password or your master key until he finds one that gives him your password for their fake site.

These are two different types of brute-force attacks and we need to make sure to defeat both of them.

To defeat a brute-force attack against your master key, we make sure the master key is sufficiently high in entropy. Since the master key is a 256-bit key, an attacker would now have to make up to 2256 guesses, or try 115792089237316195423570985008687907853269984665640564039457584007913129639936 master keys before finding the right one. Even at an ambitious rate of 2 billion tries per second, it would take several times the age of the universe to try all of them.

A brute-force attack against your master password is more feasible, since your master password will be tiny compared to such a huge master key.

Even if you used an 8-character evenly distributed random alphanumeric password (such as yIp6X2qd), a smart attacker could brute-force such a password in less than 1.7 days.

To solve this problem, we introduce an expensive scrypt-based key derivation step. scrypt specifically improves on standard key derivation techniques by not only wasting a lot of CPU time, but also consuming huge amounts of RAM. We need to be careful to choose the right parameters so that logging into Master Password doesn't take too long on weaker mobile devices while the possibility of guessing at passwords is sufficiently crippled for attackers. The theory is, the longer it takes for an attacker to try out one guess of your master password, the longer it'll take him to find the right one. We pull this theory into the extreme so that guessing your password now takes 2151076 years instead of 1.7 days while logging into Master Password on an iPhone 4S takes no more than 3 seconds.

-

It bears note that scrypt's approach is specifically interesting because it costs both a lot of CPU and a lot of RAM to derive a master key. That means that the more computers an attacker buys, the more his $ cost goes up. CPU and RAM are expensive, and forcing the derivation to use a lot instead of minuscule amounts causes the $ cost of a brute-force attack to become phenomenal.

+

It bears note that scrypt's approach is specifically interesting because it costs both a lot of CPU and a lot of RAM to derive a master key. That means that the more computers an attacker buys, the more their $ cost goes up. CPU and RAM are expensive, and forcing the derivation to use a lot instead of minuscule amounts causes the $ cost of a brute-force attack to become phenomenal.

Given these solutions, we feel confident Master Password is adequately protected against attacks on your private master key.

diff --git a/Site/2013-05/what.html b/Site/2013-05/what.html index 012a38aa..3c24111a 100644 --- a/Site/2013-05/what.html +++ b/Site/2013-05/what.html @@ -160,7 +160,7 @@

You speak of trust, how can I trust you?

A very valid question, and arguably the most important one to ask!

-

Trust is a very difficult thing to guarantee. Powerful entities will solicit your trust by appearing with it and coming well recommended. Trust can also be assured by legalese or contracts. If you have the means and energy to hold an entity responsible for his claims and actions, this might be sufficient for you.

+

Trust is a very difficult thing to guarantee. Powerful entities will solicit your trust by appearing with it and coming well recommended. Trust can also be assured by legalese or contracts. If you have the means and energy to hold an entity responsible for their claims and actions, this might be sufficient for you.

Most of us mere mortals cannot afford this level of trust enforcement, however. We're mostly left in the position of trusting claims blindly, in the hopes that companies will not violate those claims for fear of taking a seizable public-relations hit.

I propose that none of these forms of trust are sufficient adequate.

In fact, Master Password is what it is because it aims to avoid any requirement of trust in the solution's author. Master Password requires no services or proprietary storage format. I've published Master Password's algorithm for you to inspect and licensed to you the full source code to the implementations for you to use.