From 9238db636f807a6576eb0ef91cfdce52b105aeaa Mon Sep 17 00:00:00 2001 From: Ben Burwell Date: Sat, 1 Jun 2019 21:01:42 -0400 Subject: Don't publish extraneous files --- src/index.html | 222 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ src/site.css | 81 +++++++++++++++++++++ 2 files changed, 303 insertions(+) create mode 100644 src/index.html create mode 100644 src/site.css (limited to 'src') diff --git a/src/index.html b/src/index.html new file mode 100644 index 0000000..d1b2b8b --- /dev/null +++ b/src/index.html @@ -0,0 +1,222 @@ + + + + How to Choose a Password + + + + + +
+

How to Choose a Password

+ + + +

+ + Why strong passwords are important + +

+ +

+ When choosing a password, it’s important to make sure that no one can + guess it — that’s the whole point, right? +

+ +

+ If we want to make sure no one can guess our passwords, we need to + think about what adversaries might be trying to guess + them and how they might do it. This is part of a process called + threat modeling. Some adversaries we can think about + are: +

+ + + +

+ + The way to make sure that no one can guess our passwords is to make + them completely random. + + When our passwords are randomly generated, they don’t have any + information related to us that friends might be able to guess. If an + adversary learns one of our passwords, they will be no closer to + guessing any of our other passwords. And of course, randomly generated + passwords are very unlikely to be listed in password dictionaries. +

+ +

+ + How to generate a random password + +

+ +

+ Being truly random is something that people are very bad at. Even when + we think we are being random, there are often patterns + associated with the “random” things we come up with. +

+ +

+ When we want to create good, random passwords, one thing we can use is + software (such as our password manager, more on this below) to help us. +

+ +

+ Another method is to use a word list and dice to create a random + passphrase. The + Electronic Frontier Foundation, + a digital privacy advocacy group, has created + + a wordlist you can download + + for this purpose. To use this method, you’ll need five dice (or you can + roll a single die five times). Here’s how: +

+ +
    +
  1. + Roll five dice (or one die five times) and read the number from each + so that you have five digits, for example: 1, 6, 3, 5, 2. +
  2. +
  3. + Look at + + the wordlist + + to find the word next to the number you rolled. + In this case, we find the line 16352 comfort, so our + word word is comfort. +
  4. +
  5. + Repeat the first two steps until you have at least six words. You + will end up with a random phrase like + comfort tableful booth tulip dandelion stable + which is your new random passphrase. +
  6. +
  7. + Make up a little story to help remember the passphrase. For example: + “The diner had a comfortable + tableful in the booth with + tulips and dandelions in a + stable vase.” +
  8. +
+ +

+ If an adversary wanted to guess our passphrase, even if they had our + wordlist and knew exactly how we created it, they would need to + correctly guess 30 random die rolls in the right order. The probability + of this is 1 in 221,073,919,720,733,357,899,776. It is + extremely unlikely they would be successful, as it would take + three billion years of making a million guesses every second before + they would be likely to succeed. +

+ +

+ + How to remember your passwords + +

+ +

+ It’s also important not to use the same password twice. Imagine if we + generate a completely random password and use it for our email account, + and we also use it for a social media site. If an adversary learns our + email address and password for the social media site, they could easily + try that same password on our email account, and since we used the same + random password, they would succeed easily. This is why you should only + use each password for a single site. +

+ +

+ When there are a lot of different things we need passwords for, it + quickly becomes hard to remember all of them. Luckily, we can use a + password manager to help us out. Password managers are + software programs that help us securely store our passwords. +

+ +

+ Imagine writing down all of our passwords on a sheet of paper, and then + scrambling them all up according to a secret pattern. Even though + someone might look at the paper, they won’t be able to figure out any + of our passwords without knowing the secret pattern we used to scramble + them. Password managers use a similar idea; they use a + master passphrase to encrypt the list of all of our + passwords. The master passphrase is like the scrambling pattern: an + adversary can access the list of all our passwords if and only if they + discover the master passphrase. +

+ +

+ It’s very important to use a long, randomly generated master passphrase + because all of our passwords are only as good as our master passphrase. + When we use a password manager, we only need to remember our passphrase + to unlock our list of passwords. The password manager stores all of our + other passwords for us. +

+ +

+ Another benefit to using a password manager is that they help us + generate new passwords when we need them. Rather than rolling dice + every time we sign up for a new account, we can let your password + manager come up with completely random password for us. Since our + password manager also stores the new password for us, we never even + need to know what it is! We can just copy and paste it when we need to + log in. +

+ +

+ There are several password managers available. You should do some + research to find one that will work for you. Here are a few suggestions + to start with: +

+ + + + +
+ + diff --git a/src/site.css b/src/site.css new file mode 100644 index 0000000..751197c --- /dev/null +++ b/src/site.css @@ -0,0 +1,81 @@ +:root { + --background-color: #fff; + --text-color: #333; + --muted-color: #999; + --accent-color: #ccc; + --link-color: #09e; + --header-color: #4a0; +} + +@media print { + :root { + --background-color: #fff; + --text-color: #000; + --muted-color: #000; + --accent-color: rgba(0, 0, 0, 0); + --link-color: #000; + --header-color: #000; + } +} + +@media (prefers-color-scheme: dark) { + :root { + --background-color: #222; + --text-color: #bbb; + --muted-color: #999; + --accent-color: #666; + } +} + +html { + background-color: var(--background-color); + font-family: sans-serif; + color: var(--text-color); + padding: 0; + margin: 0; +} + +body { + padding: 0; + margin: 0; +} + +main { + max-width: 600px; + margin-left: auto; + margin-right: auto; + padding: 1em; +} + +a { + color: var(--link-color); +} + +h1, +h2, +h1 a, +h2 a { + color: var(--header-color); +} + +p, li { + line-height: 1.5; +} + +li { + margin-bottom: 1em; +} + +aside { + padding: 0 1em; + margin: 2em 0; + font-size: 1.2em; + border-left: 5px solid var(--accent-color); +} + +footer { + border-top: 2px solid var(--accent-color); + color: var(--muted-color); + padding-top: 1em; + font-size: 0.9em; +} -- cgit v1.2.3