An easy-to-use, open-source two-factor authentication app designed specifically for iOS.

Related tags

Security Tofu
Overview

Tofu

An easy-to-use, open-source two-factor authentication app designed specifically for iOS.

Tofu generates one-time passwords to help you protect your online accounts. These passwords are used together with your normal password when you sign into services like Google, Facebook, Dropbox, Amazon, and GitHub.

Tofu works with all services that provide two-factor authentication using the HOTP and TOTP algorithms. It does not require a network or cellular connection and can be used in airplane mode.

Installation

Tofu is available for free on the App Store.

Download on the App Store

Issuer icons

Here's how you can help add new icons to the app:

  1. Fork and clone this repo.

  2. Add your icon to the IssuerIcons/ directory.

    The icon should be a square PNG without rounded corners and without borders. It must be at least 196x196 pixels but we prefer larger sizes such as 1024x1024.

  3. Run ./GenerateIssuerIconAssets.sh from the root of the repo.

  4. Add an entry for the icon to the imageNames dictionary.

    The key should be the string that shows up in the account's Issuer field when scanning a QR code for the service. The value should be the name of the icon file.

  5. Commit your changes and open a PR.

Here's an example commit for adding a new icon: 692e32a

If you don't feel comfortable adding icons yourself, you can ask others to do so by opening issues using the Issuer Icon Request template.

Beta testing

To avoid releasing broken versions of Tofu on the App Store, we rely on beta testers to discover and report bugs and other issues.

If you'd like to help us test new versions of the app, use this link to join the TestFlight beta: https://testflight.apple.com/join/LLe6CFdo

To leave the beta, open the TestFlight app, tap on Tofu Authenticator, scroll to the bottom and tap on "Stop Testing". Then re-install the release version of Tofu from the App Store.

Sponsors

The ongoing development of Tofu is made possible by the support of our generous sponsors:

svandragt @svandragt

Corporate Trust

Comments
  • Autofill OTP passwords

    Autofill OTP passwords

    May I suggest some features?

    1. A small quality of life upgrade would be that to merely double tap a token in the app should directly copy the code to the clipboard, rather than having to tap and then press Copy. I think most other Auth apps I’ve tried has this design (though trivial change).

    2. An incredibly convenient option would be for the Tofu app to automatically send the current code for the relevant token to the clipboard, similar to how when signing in to a website with a text message verification code it appears automatically in the clipboard (without having to leave the Safari app). Would this be feasible?

    opened by ghost 12
  • Additional icon requests

    Additional icon requests

    Hi! Like the other issue reporter, also wanted to say I love the app!

    Not sure if, longer-term, you'd prefer one mega-issue for tracking icon requests, or split (side idea: maybe make it possible for users to add their own icons? More code work, but could spare you from crazy esoteric requests and would rock for things like AWS, where I have 8 different TOTP rows)

    My requests, just based on the stuff I've got in the app now:

    • Coinbase
    • Kickstarter
    • "Amazon Web Services" (you currently have an icon for AWS, but the AWS tokens add themselves as "Amazon Web Services", which doesn't match. Changing the token info to AWS makes the icon show up)
    • Name.com
    opened by akerl 11
  • Suggestions for new site icons

    Suggestions for new site icons

    I would like to suggest a few more logos to be added to the app.

    I'm not sure how I can submit them myself, but I found logos for the following sites. On the sites there is SVG, PDF, JPG and PNG available. NiceHash - https://www.nicehash.com/media Basecamp - https://basecamp.com/about/press Time4VPS - https://www.time4vps.com/wp-content/uploads/2017/03/logo.svg

    opened by RasmusLauritsen 8
  • Add Mastodon icon

    Add Mastodon icon

    Because Mastodon has no centralized provider, the issuer will have to be manually set to "Mastodon." I am planning on submitting further PRs and issues related to provider detections.

    opened by FIGBERT 7
  • Double tap to copy + optauth URL Scheme

    Double tap to copy + optauth URL Scheme

    As the title says, you can now double tap to copy any code. I also added the otpauth URL Scheme to the app so links like otpauth://totp/Example:[email protected]?secret=JBSWY3DPEHPK3PXP&issuer=Example will open in Tofu. This also allows opening QR Codes in Tofu!

    opened by ThinkChaos 6
  • An image (icon) from NexusMods doesn't shown in application (iPhone)

    An image (icon) from NexusMods doesn't shown in application (iPhone)

    Hello, is there any method how to fix that? I love app but some icons (NexusMods, CTemplar) doesn't show in application.

    Thank you for this super great program, Calleluks!

    opened by OGDB89 5
  • A bunch of new icons

    A bunch of new icons

    Added icons for:

    • YNAB,
    • Standard Notes,
    • Squarespace,
    • Nexus Mods,
    • ID.me, and
    • Fidelity.

    ~~In every case except for ID.me and Nexus Mods, I downloaded the 1000x1000 icon PNG for the corresponding iOS app from Apple Services Marketing Tools.~~

    Also, while I'm here, have you ever considered using ImageOptim to compress PNGs and other images losslessly? I have very little experience with iOS dev, so I'm not sure if you're already using it (or a similar tool), but I was able to reduce the size of IssuerIcons/ by 4.7MB (-50%). I've isolated those changes in 0b79349; feel free to drop them.

    Thanks for you work! I love the app.

    opened by natanlao 5
  • TOTP with 12 digits causes crash

    TOTP with 12 digits causes crash

    So I was testing a few 2FA apps and just to mess around I created a QR code with this website: https://freeotp.github.io/qrcode.html

    This is just an example: chrome_2020-05-07_18-33-57

    !! Don't try to scan this code !!, it will most likely make tofu unusable !

    After scanning this with Tofu, the app instantly crashes. And even after deleting and reinstalling the app: I cannot open Tofu! It simply crashes.

    I also tried deleting the app, restarting the device and reinstalling the app. No difference.

    Tested Tofu Version 1.8 with an iPhone 8 on 13.4.1 Also tried this with an iPhone 6s on 13.4.1

    opened by eender 5
  • Register URL handler

    Register URL handler

    It would be nice if TOFU would register itself as a URL handler for the otpauth:// scheme, just like the Google Authenticator app does. This would allow you to click on a otpauth:// link in e.g. a text message, and have the app automatically open and add the token (maybe after a confirmation).

    I believe most of the logic is already implemented for decoding a QR-code, only the registration with iOS for otpauth:// URLs is missing.

    opened by nielslaukens 5
  • Move Icon Creation to GenerateIssuerIconAssets.sh

    Move Icon Creation to GenerateIssuerIconAssets.sh

    After our discussion on #52, I spent some time implementing the automated icon generation we discussed. The bash script uses sips – which ships with macOS – and ag – an ack alternative that you can install with Homebrew – to generate the icon files.

    The one missing feature that we discussed is removing the hard-coded rounded corners, but that can be implemented in another pull request.

    opened by FIGBERT 4
  • Add issuer icon for GreenAddress

    Add issuer icon for GreenAddress

    This patch adds iconset for GreenAddress. I didn't test it and I didn't update IssuerIcons.sketch though, since I don't really know how to use Xcode and I don't even have it installed.

    opened by yanalunaterra 4
  • Add an icon for Synology DSM

    Add an icon for Synology DSM

    Hi! Could you please add an icon for SynologyDSM?

    Their website is at https://www.synology.com/en-us.

    When scanning their QR code with Tofu, the account issuer shows up as SynologyDSM DSM .

    icon request 
    opened by cobalt27blu 0
  • Allow access to secret and QR code

    Allow access to secret and QR code

    Being able to access the secret/seed and even a QR code after adding an account would be a great improvement to Tofu Authenticator. It would allow users to freely and easily migrate their accounts to other TOTP apps, if desired.

    One iOS TOTP app that allows this (including the QR code) is Raivo OTP.

    opened by Doge7734 1
  • Add an icon for Mint Mobile

    Add an icon for Mint Mobile

    Hi! Could you please add an icon for Mint Mobile?

    Their website is at https://www.mintmobile.com/.

    When scanning their QR code with Tofu, the account issuer shows up as Mint Mobile.

    icon request 
    opened by Shadowspear123 0
  • Website Favicon not available

    Website Favicon not available

    Hi, I know, this is a minor issue, but on your website there is no favicon and when linking the page it looks nicer. It seems like you have an icon anyways, so it might be easy to fix.

    https://www.tofuauth.com/

    Have a nice day!

    opened by NicoHood 0
  • Adding 15 icons.

    Adding 15 icons.

    Added entries and icons for the following 1Password, AdGuard, Coursera, Credly, Grammarly, Itch.io, Jagex, Newegg, npm, Patreon, Posteo, Soverin, VRChat, Vultr and, Windscribe to the imageNames dictionary.

    opened by broganbranstetter 0
Owner
Calle Luks
🚂 Ruby on Rails consultant and coach. Building okayanalytics.com and tofuauth.com. Previously @thoughtbot.
Calle Luks
Two-Factor Authentication Client for iOS

Authenticator Two-Factor Authentication Client for iOS. Authenticator is a simple, free, and open source two-factor authentication app. It helps keep

Matt Rubin 770 Dec 30, 2022
Use Apple FaceID or TouchID authentication in your app using BiometricAuthentication.

BiometricAuthentication Use Apple FaceID or TouchID authentication in your app using BiometricAuthentication. It's very simple and easy to use that ha

Rushi Sangani 804 Dec 30, 2022
Very simple swift wrapper for Biometric Authentication Services (Touch ID) on iOS.

SimpleTouch Very simple swift wrapper for Biometric Authentication Services (Touch ID) on iOS. Sample Project There is a SimpleTouchDemo target define

Simple Machines 117 Nov 15, 2022
An iOS passcode lock with TouchID authentication written in Swift.

PasscodeLock A Swift implementation of passcode lock for iOS with TouchID authentication. Installation PasscodeLock requires Swift 2.0 and Xcode 7 Car

Yanko Dimitrov 679 Nov 26, 2022
An iOS passcode lock with TouchID authentication written in Swift.

PasscodeLock A Swift implementation of passcode lock for iOS with TouchID authentication. Originally created by @yankodimitrov, hope you're doing well

Serge Velikan 203 Dec 6, 2022
The TouchID authentication mechanism implemented in Swift.

iOS-TouchID-Swift The TouchID authentication mechanism implemented in Swift About In iOS 8, Apple provides a new framework named LocalAuthentication w

Gabriel Theodoropoulos 24 May 20, 2018
Framework for biometric authentication (via TouchID) in your application

Features Requirements Communication Installation Usage Intro Biometric authentication availability Feature enabled/disabled for biometric authenticati

Igor Vasilenko 29 Sep 16, 2022
LocalAuth - Another Fusion library to implement the local authentication using Biometry

FusionLocalAuth Another Fusion library to implement the local authentication usi

Vedant Jha 0 Jan 13, 2022
Open-source jailbreaking tool for many iOS devices

Open-source jailbreaking tool for many iOS devices *Read disclaimer before using this software. checkm8 permanent unpatchable bootrom exploit for hund

null 0 Nov 6, 2021
Safe and easy to use crypto for iOS and macOS

Swift-Sodium Swift-Sodium provides a safe and easy to use interface to perform common cryptographic operations on macOS, iOS, tvOS and watchOS. It lev

Frank Denis 483 Jan 5, 2023
Easy to use cryptographic framework for data protection: secure messaging with forward secrecy and secure data storage. Has unified APIs across 14 platforms.

Themis provides strong, usable cryptography for busy people General purpose cryptographic library for storage and messaging for iOS (Swift, Obj-C), An

Cossack Labs 1.6k Dec 30, 2022
A tiny and easy to use Swift class to encrypt strings using HMAC algorithms.

#Sweet HMAC SweetHMAC is a tiny and easy to use Swift class to encrypt strings using HMAC algorithms. A special thanks to jernejstrasner for shared HM

Jan Cássio 37 Jul 27, 2022
This repository contains the source code of the EU Digital COVID Certificate Certlogic for iOS.

This repository contains the source code of the EU Digital COVID Certificate Certlogic for iOS.

null 8 Feb 16, 2022
A simple wrapper for the iOS Keychain to allow you to use it in a similar fashion to User Defaults. Written in Swift.

SwiftKeychainWrapper A simple wrapper for the iOS / tvOS Keychain to allow you to use it in a similar fashion to User Defaults. Written in Swift. Prov

Jason 1.5k Dec 30, 2022
CoreML-Face-Parsing - how to use face-parsing CoreML model in iOS

CoreML-Face-Parsing The simple sample how to use face-parsing CoreML model in iO

MLBoy 6 Oct 25, 2022
A wrapper to make it really easy to deal with iOS, macOS, watchOS and Linux Keychain and store your user's credentials securely.

A wrapper (written only in Swift) to make it really easy to deal with iOS, macOS, watchOS and Linux Keychain and store your user's credentials securely.

Ezequiel Aceto 2 Mar 29, 2022
Swift-cuckoo-collections - Cross-platform Swift dictionaries & sets that use a cuckoo hashing algorithm

CuckooCollections A Swift package for open-addressed sets and dictionaries that

Christopher Richez 0 Aug 2, 2022
TouchID used easy on one line in your ViewController.

TouchIDExtension TouchID used easy on one line in your ViewController. ##Installation At this moment, You can install only a way, manually. For instal

Joan Molinas 65 Feb 26, 2020
Oversecured Vulnerable iOS App is an iOS app that aggregates all the platform's known and popular security vulnerabilities.

Description Oversecured Vulnerable iOS App is an iOS app that aggregates all the platform's known and popular security vulnerabilities. List of vulner

Oversecured Inc 135 Dec 15, 2022