Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace "dumb" with "bad" everywhere #501

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/bot/README.MD
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# dumb-password-rules-bot
# bad-password-rules-bot

A bot that toots random rules at https://botsin.space/@dumbpasswordrules.
A bot that toots random rules at https://botsin.space/@badpasswordrules.

## Contributing

Expand Down
6 changes: 3 additions & 3 deletions .github/bot/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ function text() {

console.log(`Retrieved file for ${yaml.name}.`);

return `This dumb password rule is from ${yaml.name}.
return `This bad password rule is from ${yaml.name}.

${description}

https://dumbpasswordrules.com/sites/${slug}/
https://badpasswordrules.net/sites/${slug}/

#password #passwords #infosec #cybersecurity #dumbpasswordrules`;
#password #passwords #infosec #cybersecurity #badpasswordrules`;
}

async function postSite() {
Expand Down
4 changes: 2 additions & 2 deletions .github/bot/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions .github/bot/package.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
{
"name": "dumb-password-rules-bot",
"name": "bad-password-rules-bot",
"private": "true",
"version": "1.0.0",
"description": "A compilation of sites with dumb password rules - the bot version.",
"description": "A compilation of sites with bad password rules - the bot version.",
"type": "module",
"scripts": {
"toot": "node index.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/duffn/dumb-password-rules.git"
"url": "git+https://github.com/duffn/bad-password-rules.git"
},
"author": "https://github.com/duffn",
"license": "MIT",
"bugs": {
"url": "https://github.com/duffn/dumb-password-rules/issues"
"url": "https://github.com/duffn/bad-password-rules/issues"
},
"homepage": "https://dumbpasswordrules.com",
"homepage": "https://badpasswordrules.net",
"dependencies": {
"@sindresorhus/slugify": "^2.2.0",
"dotenv": "^16.0.3",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Toot a dumb password rule
name: Toot a bad password rule

on:
schedule:
Expand All @@ -7,8 +7,8 @@ on:
jobs:
build:
runs-on: ubuntu-latest
name: Toot a dumb password rule
if: ${{ github.repository == 'duffn/dumb-password-rules' }}
name: Toot a bad password rule
if: ${{ github.repository == 'duffn/bad-password-rules' }}
defaults:
run:
working-directory: .github/bot
Expand Down
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
# Contributing

Thanks for your interest in contributing to the https://dumbpasswordrules.com site code!
Thanks for your interest in contributing to the https://badpasswordrules.net site code!

## New sites

If you're interested in adding a new site with a dumb password rule, you can follow the setup steps below or optionally you can simply create a new YAML file, open a PR, and Vercel will build a preview environment for your changes.
If you're interested in adding a new site with a bad password rule, you can follow the setup steps below or optionally you can simply create a new YAML file, open a PR, and Vercel will build a preview environment for your changes.

- Add a new YAML file for your entry in the `_data/sites` directory.

- Entries must include:

- A name.
- This must be unique amongst all the entries.
- A clean description about the dumb password rule.
- A clean description about the bad password rule.
- The `description` of an entry can be any valid markdown.
- Sarcasm encouraged.
- At least one screenshot.

- Entries can optionally include:

- A URL to the offending dumb rule.
- A URL to the offending bad rule.

- Follow the format of the other entries.

Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Dumb Password Rules
# Bad Password Rules

https://dumbpasswordrules.com
https://badpasswordrules.net

A compilation of sites with dumb password rules.
A compilation of sites with bad password rules.

⭐️ Now with a bot that periodically toots random rules! https://botsin.space/@dumbpasswordrules
⭐️ Now with a bot that periodically toots random rules! https://botsin.space/@badpasswordrules

## Contributing

### New sites

Feel free to submit a pull request with dumb password rules you've encountered!
Feel free to submit a pull request with bad password rules you've encountered!

You can find more details in the [contributing doc](CONTRIBUTING.md).

Expand All @@ -21,18 +21,18 @@ _Note:_ If you found your way here and don't know what GitHub is or how to work
- A screenshot of the rule.
- A written description of the rule.

You can see what some of the other rules look like [https://dumbpasswordrules.com](https://dumbpasswordrules.com).
You can see what some of the other rules look like [https://badpasswordrules.net](https://badpasswordrules.net).

### Code

Please also submit improvements, updates, or bug fixes to the site code! If you're unsue about your change, [open an issue](https://github.com/duffn/dumb-password-rules/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc) first to discuss.
Please also submit improvements, updates, or bug fixes to the site code! If you're unsue about your change, [open an issue](https://github.com/duffn/bad-password-rules/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc) first to discuss.

You can find more details in the [contributing doc](CONTRIBUTING.md).

### Some of the wonderful contributors

<a href="https://github.com/duffn/dumb-password-rules/graphs/contributors">
<img src="https://contrib.rocks/image?repo=duffn/dumb-password-rules" />
<a href="https://github.com/duffn/bad-password-rules/graphs/contributors">
<img src="https://contrib.rocks/image?repo=duffn/bad-password-rules" />
</a>

Made with [contrib.rocks](https://contrib.rocks).
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
{
"name": "dumb-password-rules",
"name": "bad-password-rules",
"private": "true",
"version": "1.0.0",
"description": "A compilation of sites with dumb password rules.",
"description": "A compilation of sites with bad password rules.",
"scripts": {
"serve": "concurrently \"./node_modules/.bin/eleventy --serve\" \"./node_modules/.bin/tailwindcss -i ./src/static/styles/tailwind.css -o ./_site/static/styles/tailwind.css --postcss --watch\"",
"build": "./node_modules/.bin/eleventy && ./node_modules/.bin/tailwindcss -i ./src/static/styles/tailwind.css -o ./_site/static/styles/tailwind.css --postcss --minify"
},
"repository": {
"type": "git",
"url": "git+https://github.com/duffn/dumb-password-rules.git"
"url": "git+https://github.com/duffn/bad-password-rules.git"
},
"author": "https://github.com/duffn",
"license": "MIT",
"bugs": {
"url": "https://github.com/duffn/dumb-password-rules/issues"
"url": "https://github.com/duffn/bad-password-rules/issues"
},
"homepage": "https://dumbpasswordrules.com",
"homepage": "https://badpasswordrules.net",
"devDependencies": {
"@11ty/eleventy": "^2.0.0",
"@11ty/eleventy-img": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/_data/siteMeta.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = function () {
return {
url: "https://dumbpasswordrules.com",
url: "https://badpasswordrules.net",
};
};
2 changes: 1 addition & 1 deletion src/_data/sites/coppell-tx-water-utility.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
description: |-
Local Utility with a password restriction of 30 characters. Better than some for sure, but still dumb.
Local Utility with a password restriction of 30 characters. Better than some for sure, but still bad.
images:
- coppell_tx_water_utility.png
name: Coppell, TX - Water Utility
Expand Down
4 changes: 2 additions & 2 deletions src/_data/sites/dell.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
description: |-
Okay at least 6, that's alright I guess.

Oh at least one number and one letter, bit dumb but hey not that dumb.
Oh at least one number and one letter, bit bad but hey not that bad.

But hiding the fact that it has a max of 20, now THAT is dumb!
But hiding the fact that it has a max of 20, now THAT is bad!
images:
- dell.png
name: Dell
Expand Down
2 changes: 1 addition & 1 deletion src/_data/sites/ibm-tsoe-logon-terminal.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
description: |-
It might not be a web site, but that does not make it less dumb.
It might not be a web site, but that does not make it less bad.
Since many don't know about IBM mainframes, it seems they don't think you need to up the policies.

Default old password policy is: 6-8 characters long, A-Z, 0-9
Expand Down
2 changes: 1 addition & 1 deletion src/_data/sites/ikea.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
description: |-
Dumb restriction for consecutive similar characters. Wonder if someone got more that 2 identical characters in their name then
Bad restriction for consecutive similar characters. Wonder if someone got more that 2 identical characters in their name then
it won't allow you to even use name in password.

Password must contain:
Expand Down
2 changes: 1 addition & 1 deletion src/_data/sites/interactive-brokers.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
description: |-
Usual dumb password restrictions, but this one has incredibly dumb **username**
Usual bad password restrictions, but this one has incredibly bad **username**
restrictions too:

**Username:**
Expand Down
2 changes: 1 addition & 1 deletion src/_data/sites/itau.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: |-
- You can't repeat the same character more than two times in a row.
- Avoid using basic character sequences such as "qwerty", "asdf", "1234" or "9876".

_Just in case, that's eight characters. Not seven, not nine. That's dumb and insecure enough... What they don't tell you is that the passwords are are actually **not** case sensitive._
_Just in case, that's eight characters. Not seven, not nine. That's bad and insecure enough... What they don't tell you is that the passwords are are actually **not** case sensitive._
images:
- itau.png
name: Itaú Bank
Expand Down
2 changes: 1 addition & 1 deletion src/_data/sites/izly-by-crous.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
description:
"Izly by Crous is an **imposed** French payment service for the\nuniversity.\
\ You can't pay your daily meal without that because yeah you\nknow cash is an ancient\
\ dumb thing.\n\nYour username is [email protected] or your phone\n\
\ bad thing.\n\nYour username is [email protected] or your phone\n\
number. We only allow you a fixed 6 numbers password. Oh yeah we also\nblock your\
\ account after three failed attempts. How convenient when the\nonly thing you need\
\ to know is the name of someone and where they study.\nHow convenient indeed.\n\n\
Expand Down
2 changes: 1 addition & 1 deletion src/_data/sites/jitterbit.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
description: |-
While not the dumbest password rule, still dumb.
While not the worst password rule, still bad.

Password must have a length of at least eight characters and contain
at least one: number, special char `!#$%-_=+<>`, capital letter,
Expand Down
2 changes: 1 addition & 1 deletion src/_data/sites/o2-spain.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
description: |-
When registering in *Mi O2* app, password length must be exactly 7 or 8 characters (numbers and letters only).
As O2 is part of Telefónica (Movistar), it seems to use the same backend (at least in Spain), so it has the [`same password requirements`](https://dumbpasswordrules.com/sites/movistar/).
As O2 is part of Telefónica (Movistar), it seems to use the same backend (at least in Spain), so it has the [`same password requirements`](https://badpasswordrules.net/sites/movistar/).
images:
- o2-spain.png
name: O2 Spain
Expand Down
2 changes: 1 addition & 1 deletion src/_includes/default.njk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Dumb Password Rules
title: Bad Password Rules
---

<!doctype html>
Expand Down
8 changes: 4 additions & 4 deletions src/_includes/footer.njk
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<footer class="bg-white mt-3 sticky top-[100vh]">
<div class="mx-auto max-w-7xl py-12 px-6 md:flex md:items-center md:justify-between lg:px-8">
<div class="flex justify-center space-x-6 md:order-2">
<a class="github-button" href="https://github.com/duffn/dumb-password-rules" data-size="large"
data-show-count="true" aria-label="Star duffn/dumb-password-rules on GitHub">Star</a>
<a class="github-button" href="https://github.com/duffn/bad-password-rules" data-size="large"
data-show-count="true" aria-label="Star duffn/bad-password-rules on GitHub">Star</a>
</div>
<div class="mt-8 md:order-1 md:mt-0">
<p class="text-center text-xs leading-5 text-gray-500">
<a class="underline text-red-600" href="https://dumbpasswordrules.com">Dumb Password Rules</a> is built
<a class="underline text-red-600" href="https://badpasswordrules.net">Bad Password Rules</a> is built
by <a class="underline text-red-600" href="https://github.com/duffn">duffn</a> and many amazing
<a class="underline text-red-600"
href="https://github.com/duffn/dumb-password-rules/graphs/contributors">contributors</a>.
href="https://github.com/duffn/bad-password-rules/graphs/contributors">contributors</a>.
</p>
</div>
</div>
Expand Down
20 changes: 10 additions & 10 deletions src/_includes/meta.njk
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<meta name="generator" content="Eleventy">
<meta name="description" content="{{ description or "A compilation of sites with dumb password rules." }}">
<meta name="description" content="{{ description or "A compilation of sites with bad password rules." }}">

<meta property="og:type" content="website">
<meta property="og:url" content="{{ meta_url or "https://dumbpasswordrules.com" }}">
<meta property="og:image" content="{{ meta_image or "https://dumbpasswordrules.com/static/img/logo-large.png" }}" />
<meta property="og:title" content="{{ page_name or "Dumb Password Rules" }}">
<meta property="og:description" content="{{ description or "A compilation of sites with dumb password rules." }}">
<meta property="og:url" content="{{ meta_url or "https://badpasswordrules.net" }}">
<meta property="og:image" content="{{ meta_image or "https://badpasswordrules.net/static/img/logo-large.png" }}" />
<meta property="og:title" content="{{ page_name or "Bad Password Rules" }}">
<meta property="og:description" content="{{ description or "A compilation of sites with bad password rules." }}">

<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:domain" content="dumbpasswordrules.com">
<meta name="twitter:url" content="{{ meta_url or "https://dumbpasswordrules.com" }}">
<meta name="twitter:image" content="{{ meta_image or "https://dumbpasswordrules.com/static/img/logo-large.png" }}" />
<meta name="twitter:title" content="{{ page_name or "Dumb Password Rules" }}">
<meta name="twitter:description" content="{{ description or "A compilation of sites with dumb password rules." }}">
<meta name="twitter:domain" content="badpasswordrules.net">
<meta name="twitter:url" content="{{ meta_url or "https://badpasswordrules.net" }}">
<meta name="twitter:image" content="{{ meta_image or "https://badpasswordrules.net/static/img/logo-large.png" }}" />
<meta name="twitter:title" content="{{ page_name or "Bad Password Rules" }}">
<meta name="twitter:description" content="{{ description or "A compilation of sites with bad password rules." }}">
8 changes: 4 additions & 4 deletions src/_includes/nav.njk
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<div class="flex">
<div class="flex flex-shrink-0 items-center">
<a href="/">
<img class="block h-8 w-auto lg:hidden" src="/static/img/logo-med.png" alt="Dumb Password Rules">
<img class="hidden h-8 w-auto lg:block" src="/static/img/logo-med.png" alt="Dumb Password Rules">
<img class="block h-8 w-auto lg:hidden" src="/static/img/logo-med.png" alt="Bad Password Rules">
<img class="hidden h-8 w-auto lg:block" src="/static/img/logo-med.png" alt="Bad Password Rules">
</a>
</div>
<div class="hidden sm:-my-px sm:ml-6 sm:flex sm:space-x-8">
Expand All @@ -16,7 +16,7 @@
class="{% if '/sites' in page.url %}border-red-500 text-gray-900{% else %}border-transparent text-gray-500 hover:text-gray-700{% endif %} inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Sites</a>
<a href="/about/"
class="{% if page.url == '/about/' %}border-red-500 text-gray-900{% else %}border-transparent text-gray-500 hover:text-gray-700{% endif %} inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">About</a>
<a href="https://github.com/duffn/dumb-password-rules"
<a href="https://github.com/duffn/bad-password-rules"
class="border-transparent text-red-600 hover:border-gray-300 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">Contribute</a>
</div>
</div>
Expand Down Expand Up @@ -55,7 +55,7 @@
class="{% if 'sites' in page.url %}bg-red-50 border-red-500 text-red-700{% else %}border-transparent text-gray-600 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-800{% endif %} block pl-3 pr-4 py-2 border-l-4 text-base font-medium">Sites</a>
<a href="/about/"
class="{% if page.url == '/about/' %}bg-red-50 border-red-500 text-red-700{% else %}border-transparent text-gray-600 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-800{% endif %} block pl-3 pr-4 py-2 border-l-4 text-base font-medium">About</a>
<a href="https://github.com/duffn/dumb-password-rules"
<a href="https://github.com/duffn/bad-password-rules"
class="border-transparent text-red-600 hover:bg-gray-50 hover:border-gray-300 block pl-3 pr-4 py-2 border-l-4 text-base font-medium">Contribute</a>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/404.njk
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ eleventyExcludeFromCollections: true
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="{{ " /static/img/favicon.ico" | bustCache }}">
<title>Dumb Password Rules</title>
<title>Bad Password Rules</title>
{% include "meta.njk" %}
<link rel="stylesheet" href="{{ " /static/styles/tailwind.css" | bustCache }}" type="text/css" />
</head>

<body class="h-full">
<main class="grid min-h-full place-items-center bg-white py-24 px-6 sm:py-32 lg:px-8">
<div class="text-center">
<img class="mx-auto h-10 w-auto sm:h-12 mb-20" src="/static/img/logo-med.png" alt="Dumb Password Rules">
<img class="mx-auto h-10 w-auto sm:h-12 mb-20" src="/static/img/logo-med.png" alt="Bad Password Rules">
<p class="text-base font-semibold text-red-600">404</p>
<h1 class="mt-4 text-3xl font-bold tracking-tight text-gray-900 sm:text-5xl">Page not found</h1>
<p class="mt-6 text-base leading-7 text-gray-600">Sorry, we couldn't find the page you're looking for.</p>
Expand Down
Loading