Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on Jun 14, 2022. It is now read-only.
/andOTPPublic archive

[Unmaintained] Open source two-factor authentication for Android

License

NotificationsYou must be signed in to change notification settings

andOTP/andOTP

Repository files navigation

Build StatusCurrent releaseCrowdinChat - TelegramChat - Matrix

andOTP

Unmaintained

This repository is currently unmaintained.

Seethis XDA post for more details.

Intro

andOTP is a two-factor authentication App for Android 5.1+.

It implements Time-based One-time Passwords (TOTP) and HMAC-Based One-Time Passwords (HOTP).Simply scan the QR code and login with the generated 6-digit code.

This project started out as a fork of the greatOTP Authenticator app written byBruno Bierbaumer,which has sadly been inactive since 2015. By now almost every aspect of the app has been changed/re-written so the fork status of the Github repository gotdetached uponuser request. But all credit for the original version and for starting this project still goes to Bruno!

Help wanted:

I currently don't have that much time to spend developing andOTP, so any contributions are always welcome.Don't worry, I will still continue to develop andOTP it will just slow down from the incredible speed I had going in the beginning.

Features:

  • Free and Open-Source
  • Requires minimal permissions
    • Camera access for QR code scanning
    • Storage access for import and export of the database
  • Encrypted storage with two backends:
    • Android KeyStore
    • Password / PIN
  • Multiple backup options:
    • Plain-text
    • Password-protected
    • OpenPGP-encrypted
  • Sleek minimalistic Material Design with three different themes:
    • Light
    • Dark
    • Black (for OLED screens)
  • Great Usability
  • Compatible with Google Authenticator
  • Supported algorithms:
    • TOTP (Time-based One-time Passwords) as specified inRFC 6238
    • HOTP (HMAC-based One-time Passwords) as specified inRFC 4226

Backups:

To keep your account information as secure as possible andOTP only stores it inencrypted data files. A part of the encryption key used for that is stored in theAndroid KeyStore system. The advantage of this approach is that the key is keptseparate from the apps data and, as a bonus, can be backed by hardware cryptography(if your device supports this).

However, due to that separation, backups with 3rd-party apps like Titanium Backup can notbe used with andOTP. Such apps only backup the encrypted data files and not the encryptionkey, which renders them useless.

Please only use the internal backup functions provided by andOTP to backup your accounts!Everything else WILL result in data loss.

Opening the backups on your PC:

  • OpenPGP: OpenPGP can be used to easily decrypt theOpenPGP-encrypted backups on your PC.
  • WebDecrypt: JavaScript-based decryption of thenew password-protected backup format in the browser (source code).
  • andOTP-decrypt: Python script written by @asmw to decrypt theold and new password-protected backup format on your PC.
  • mac2fa: Electron app for macOS that lives in your system tray and generates OTPs from an encrypted backup file.
  • go-andotp: CLI Program written in go to encrypt/decrypt andOTP files on your PC. Decrypted files can be encrypted and imported back to andOTP.

Automatic backups:

  • BroadcastReceivers: AndOTP supports a number of broadcasts to perform automated backups, eg. via Tasker. These will get saved to the defined backup directory.These only work when KeyStore is used as the encryption mechanism
    • org.shadowice.flocke.andotp.broadcast.PLAIN_TEXT_BACKUP: Perform a plain text backup.WARNING: This will save your 2FA tokens onto the disk in an unencrypted manner!
    • org.shadowice.flocke.andotp.broadcast.ENCRYPTED_BACKUP: Perform an encrypted backup of your 2FA database using the selected password in settings.

Migration:

Check outthis wiki page to learn about the different ways to migrate to andOTP from other 2FA apps.

Downloads:

Get it on Google PlayGet it on F-DroidGet it on GitHub

Warning: All three versions (Google Play, F-Droid and the APKs) are not compatible (not signed by the same key)!You will have to uninstall one to install the other, which will delete all your data.So make sure you have acurrent backup before switching!

Contribute:

  • Translation: If you want to help translate andOTP into your language head over to theCrowdin project.
  • Bug reports and feature requests: You can report bugs and request features in theIssue tracker on GitHub.
  • Requesting thumbnails: If you are missing a thumbnail you can request it byopening a thumbnail request.
  • Discussion and support:
    • XDA thread (please keep off-topic to a minimum)
    • Telegram group@andOTP (if you just want important updates you can mute the group so you only get notified about pinned messages)
    • Matrix channel#andOTP:tchncs.de

Donations:

If you want to show your appreciation for our work with a small donation you can do so using the following links:

Screenshots:

Light theme:

Main ActivitySettings ActivityBackup Activity

Dark theme:

Main ActivitySettings ActivityBackup Activity

Black theme:

Main ActivitySettings ActivityBackup Activity

Acknowledgments:

Open-source components used:

Code examples used:

Previously used open-source components:

Previously used code examples:

License:

Copyright (C) 2017-2020 Jakob Nixdorf <andotp@shadowice.org>Copyright (C) 2015 Bruno BierbaumerPermission is hereby granted, free of charge, to any person obtaining a copy ofthis software and associated documentation files (the "Software"), to deal in theSoftware without restriction, including without limitation the rights touse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies ofthe Software, and to permit persons to whom the Software is furnished to do so,subject to the following conditions:The above copyright notice and this permission notice shall be included in allcopies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULARPURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BELIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USEOR OTHER DEALINGS IN THE SOFTWARE.

[8]ページ先頭

©2009-2025 Movatter.jp