Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

* Add Lenovo

* Update retail.yml

* Trying to minify even further 🙈

* Change Lenovo Twitter handle to the support handle

Co-authored-by: Carlgo11 <Carlgo11@users.noreply.github.com>
f8a07fc

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
css
 
 
img
 
 
js
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

2fa.directory

Build Status License Gitter Twitter

A list of popular sites and whether or not they accept two factor auth.

The Goal 🥅

The goal of this project is to build a website (2fa.directory) with a list of popular sites that support Two Factor Authentication, as well as the methods that they provide.

Our hope is to aid consumers who are deciding between alternative services based on the security they offer for their customers. This project also serves as an indicator of general security efforts used on a site.

Contributing ✏️

If you would like to contribute, please read the entire guidelines here in CONTRIBUTING.md.

Local installation 🛠️

2fa.directory is built upon Jekyll, using the github-pages gem. In order to run the site locally, bundler, and all other dependencies will need to be installed, and afterwards Jekyll can serve the site.

Ubuntu:

sudo snap install ruby --classic
sudo apt install webp npm
npm i babel-minify
bundle install --path vendor/bundle

Windows Subsystem for Linux (WSL):

sudo apt install build-essential ruby-bundler ruby-dev make gcc g++ zlib1g-dev npm webp
npm i babel-minify
bundle install --path vendor/bundle

MacOS (Requires Xcode):

# Install homebrew
xcode-select --install
curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh

# Install ruby, webp & nodejs(npm)
brew install ruby
brew install webp
brew install nodejs
echo 'export PATH="/usr/local/opt/ruby/bin:$PATH"' >> ~/.bash_profile

# Install Bundler and dependencies
gem install bundler
bundle install --path vendor/bundle
npm i babel-minify

Running locally 🏃

Ubuntu/WSL/MacOS:

# Generating regional sites (Optional)
ruby ./_deployment/regions.rb

# Generate WebP images
./_deployment/webp.sh

# Building the site
bundle exec jekyll build

# Running the site locally
bundle exec jekyll serve --watch

# Minify JS (Optional)
./_deployment/minify-js.sh

The TwoFactorAuth website should now be accessible from http://localhost:4000.

Another option is to run Jekyll inside a Docker container. Please read the Jekyll Docker Documentation on how to use Jekyll.

License ⚖️

This code is distributed under the MIT license. For more info, read the LICENSE file distributed with the source code.