Authenticator：一个 Linux 上的 Authy 的简单的开源替代品
Authenticator 身份验证器
Authy 是一款流行的应用，用于存储和管理双因素代码。它是一项基于云的服务，可为你提供便利的工业级安全性。不幸的是，它不是开源的。


你会考虑在 Linux 桌面上使用更直接（和开源）的身份验证器应用吗？


嗯，当然，你不能使用云同步。但是你可以为双因素身份验证码做个备份。记住这点，让我告诉你更多有关 Authenticator 的信息。


![authenticator app ft](/data/attachment/album/202212/03/151419b633mfdlf3ybkzfy.png)


### Authenticator：生成双因素身份验证代码


当你启用在线服务的双因素身份验证时，大多数服务都会为你提供令牌/QR 码，你可以添加/扫描以生成代码。


Authenticator 就是这样一款适用于 Linux 的应用，他可让你添加双因素身份验证码。


![authenticator ui](/data/attachment/album/202212/03/151419xgewbbetnhqhe2fh.png)


它是一个自由开源的应用，具有添加各种支持双因素身份验证的令牌和网站的基本功能。


### 身份验证器的特点


![authenticator 自动锁定](/data/attachment/album/202212/03/151420h8emjb2z8bt8e2j3.png)


你获得的一些基本功能包括：


* 使用相机或截图的二维码扫描器
* 使用密码保护应用
* 自动锁定应用
* 支持各种算法（SHA-1/SHA-256/SHA-512）
* 支持基于时间/基于计数器/流式计算方法
* 备份/恢复选项（FreeOTP、Aegis 和 OTP、Bitwarden 和 Google Authenticator）


你可以设置自定义选项，并能够根据服务提供的支持添加自定义的提供者。可以为提供者添加自定义图标，以帮助你区分身份验证代码。


![authenticator 自定义提供程序](/data/attachment/album/202212/03/151421mfe98beiqb8yxebe.png)


在大多数情况下，默认设置应该适用于网站。但是，如果它不起作用，你可能需要与提供者核实确切的详细信息。


该应用还具有开箱即用的多个提供者，例如 Google Drive 和 Proton Mail。因此，你无需为添加的每个条目添加自定义配置。


### 在 Linux 上安装 Authenticator


![authenticator 添加新代码](/data/attachment/album/202212/03/151421lyrbd1y4hdkvv4oo.png)


Authenticator 以 Flatpak 的形式提供。因此，你可以将它安装在任何 Linux 发行版上。


只需输入以下命令即可安装它：



```
flatpak install flathub com.belmoussaoui.Authenticator

```

你可以前往其 [Flathub](https://flathub.org/apps/details/com.belmoussaoui.Authenticator) 或 GitLab 页面探索更多信息。


如果你是 Linux 世界的新手，请参阅我们的 [Flatpak 指南](https://itsfoss.com/flatpak-guide/) 进行设置。你的软件中心可能已经启用了 Flatpak 集成。这种情况下，你可以搜索安装它。


### 使用开源身份验证器应用确保安全性和可靠性


我们经常依赖云驱动的工具来处理所有事情。当然，这很方便。


但是，有时桌面应用更有用。如果你也这么想并考虑进行转换，Authenticator 可能是一款值得安装的出色的应用，可以用于双因素身份验证码。




---


via: <https://itsfoss.com/authenticator/>


作者：[Ankush Das](https://itsfoss.com/author/ankush/) 选题：[lkxed](https://github.com/lkxed) 译者：[geekpi](https://github.com/geekpi) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
Authy is a popular app for storing and managing two-factor codes. It is a cloud-based service that gives you convenience with industry-grade security. Unfortunately, it is not open-source.

Would you consider using a more straightforward (and open-source) authenticator app on your Linux desktop?

Well, of course, you cannot cloud sync here. But you can generate a backup for the two-factor authentication codes. Keeping that in mind, let me tell you more about Authenticator.

## Authenticator: Generate Two-Factor Authentication Codes

When you enable two-factor authentication with online services, most services give you a token/QR code that you can add/scan to generate codes.

Authenticator is one such app for Linux that lets you add two-factor authentication codes.

It is a free and open-source app with essential features to add a variety of tokens and websites that support two-factor authentication.

**Recommended Read**: [Best Password Managers for Linux Desktop](https://itsfoss.com/password-managers-linux/)

## Features of Authenticator

Some of the essential options that you get with it include:

- QR Code scanner using a camera or a screenshot
- Protect the app using a passphrase
- Autolock the app
- Support for different algorithms (SHA-1/SHA-256/SHA-512)
- Time-based/Counter-based/Steam computing methods supported
- Backup/Restore options (FreeOTP, Aegis, andOTP, Bitwarden, and Google Authenticator)

You get customization options and the ability to add a custom provider as per the support provided by the service. One can add a custom icon for the provider to help you distinguish between the authentication codes.

For the most part, the default settings should work with websites. However, you might want to check the exact details with the provider if it does not work.

The app also features multiple providers out of the box, like Google Drive and Proton Mail. So, you do not need to add custom configurations for every entry you add.

## Installing Authenticator on Linux

Authenticator is available as a Flatpak. So, you can install it on any Linux distribution.

Just type in the following command to get it installed:

`flatpak install flathub com.belmoussaoui.Authenticator`


You can head to its [Flathub](https://flathub.org/apps/details/com.belmoussaoui.Authenticator) or GitLab page to explore more.

If you are new to the Linux world, refer to our [Flatpak guide](https://itsfoss.com/flatpak-guide/) to set it up. Your software center might already have Flatpak integration enabled out of the box. You can search for it to get it installed in such a case.

## Use Open Source Authenticator App For Security and Reliability

We often depend on cloud-powered tools for everything. Sure, it is convenient.

However, sometimes desktop apps are more helpful. If you are in the same boat and thinking of making a switch, Authenticator can be an excellent app to have installed for two-factor authentication codes.