mirror of
https://github.com/LCTT/TranslateProject.git
synced 2024-12-29 21:41:00 +08:00
Merge pull request #8493 from MjSeven/master
20180412 3 password managers for the Linux command line.md 翻译完毕
This commit is contained in:
commit
7b29455c96
@ -1,75 +0,0 @@
|
||||
Translating by MjSeven
|
||||
|
||||
3 password managers for the Linux command line
|
||||
======
|
||||
|
||||
![](https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/password.jpg?itok=ec6z6YgZ)
|
||||
We all want our passwords to be safe and secure. To do that, many people turn to password management applications like [KeePassX][1] or [Bitwarden][2].
|
||||
|
||||
If you spend a lot of time in a terminal window and are looking for a simpler solution, you'll want to check out one of the many password managers for the Linux command line. They're quick, easy to use, and secure.
|
||||
|
||||
Let's take a look at three of them.
|
||||
|
||||
### Titan
|
||||
|
||||
[Titan][3] is a password manager that doubles as a file-encryption tool. I'm not sure how well Titan works at encrypting files; I only looked at it as a password manager. In that capacity, it does a solid job.
|
||||
|
||||
![](https://opensource.com/sites/default/files/styles/panopoly_image_original/public/u128651/titan.png?itok=5QoQ1aY7)
|
||||
|
||||
Titan stores your passwords in an encrypted [SQLite database][4], which you create and add a master passphrase to when you first fire up the application. Tell Titan to add a password and it asks for a name to identify it, a username, the password itself, a URL, and a comment about the password.
|
||||
|
||||
You can get Titan to generate a password for you, and you can search your database by an entry's name or numeric ID, by the name or comment, or using regular expressions. Viewing a specific password, however, can be a bit clunky. You either have to list all passwords and scroll through them to find the one you want to use, or you can view the password by listing the details of an entry using its numeric ID (if you know it).
|
||||
|
||||
### Gopass
|
||||
|
||||
[Gopass][5] is billed as "the team password manager." Don't let that put you off. It's also great for personal use.
|
||||
|
||||
|
||||
![](https://opensource.com/sites/default/files/styles/panopoly_image_original/public/u128651/gopass.png?itok=1Uodlute)
|
||||
|
||||
Gopass is an update of the venerable Unix and Linux [Pass][6] password manager written in the Go programming language. In true Linux fashion, you can either [compile the source code][7] or [use an installer][8] to get gopass on your computer.
|
||||
|
||||
Before you start using gopass, make sure you have [GNU Privacy Guard (GPG)][9] and [Git][10] on your system. The former encrypts and decrypts your password store, and the latter signs commits to a [Git repository][11]. If gopass is for personal use, you still need Git. You just don't need to worry about signing commits. If you're interested, you can learn about those dependencies [in the documentation][12].
|
||||
|
||||
When you first start gopass, you need to create a password store and generate a [secret key][13] to secure that store. When you want to add a password (which gopass refers to as a secret), gopass asks you for information such as a URL, a username, and a note about the secret. You can have gopass generate the password for the secret you're adding, or you can enter one yourself.
|
||||
|
||||
As you need to, you can edit, view, or delete passwords. You can also view a specific password or copy it to your clipboard to paste it into a login form or window.
|
||||
|
||||
### Kpcli
|
||||
|
||||
The open source password manager of choice for many people is either [KeePass][14] or [KeePassX][15]. [Kpcli][16] brings the features of KeePass and KeePassX to your nearest terminal window.
|
||||
![](https://opensource.com/sites/default/files/styles/panopoly_image_original/public/u128651/kpcli.png?itok=kMmOHTJz)
|
||||
Kpcli is a keyboard-driven shell that does most of what its graphical cousins can do. That includes opening a password database; adding and editing passwords and groups (which help you organize your passwords); or even renaming or deleting passwords and groups.
|
||||
|
||||
When you need to, you can copy a username and password to your clipboard to paste into a login form. To keep that information safe, kpcli also has a command to clear the clipboard. Not bad for a little terminal app.
|
||||
|
||||
Do you have a favorite command-line password manager? Why not share it by leaving a comment?
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: https://opensource.com/article/18/4/3-password-managers-linux-command-line
|
||||
|
||||
作者:[Scott Nesbitt][a]
|
||||
译者:[译者ID](https://github.com/译者ID)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
选题:[lujun9972](https://github.com/lujun9972)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:https://opensource.com/users/scottnesbitt
|
||||
[1]:https://www.keepassx.org/
|
||||
[2]:https://opensource.com/article/18/3/managing-passwords-bitwarden
|
||||
[3]:https://www.titanpasswordmanager.org/
|
||||
[4]:https://en.wikipedia.org/wiki/SQLite
|
||||
[5]:https://www.justwatch.com/gopass/
|
||||
[6]:https://www.passwordstore.org/
|
||||
[7]:https://github.com/justwatchcom/gopass
|
||||
[8]:https://justwatch.com/gopass/#install
|
||||
[9]:https://www.gnupg.org
|
||||
[10]:https://git-scm.com/
|
||||
[11]:https://git-scm.com/book/en/v2/Git-Basics-Getting-a-Git-Repository
|
||||
[12]:https://github.com/justwatchcom/gopass/blob/master/docs/setup.md
|
||||
[13]:http://searchsecurity.techtarget.com/definition/private-key
|
||||
[14]:https://keepass.info/
|
||||
[15]:https://www.keepassx.org
|
||||
[16]:http://kpcli.sourceforge.net/
|
@ -0,0 +1,73 @@
|
||||
3 个 Linux 命令行密码管理器
|
||||
=====
|
||||
|
||||
![](https://opensource.com/sites/default/files/styles/image-full-size/public/lead-images/password.jpg?itok=ec6z6YgZ)
|
||||
我们都希望我们的密码安全可靠。为此,许多人转向密码管理应用程序,如 [KeePassX][1] 和 [Bitwarden][2]。
|
||||
|
||||
如果你在终端中花费了大量时间而且正在寻找更简单的解决方案,那么你需要查看 Linux 命令行的许多密码管理器。它们快速,易于使用且安全。
|
||||
|
||||
让我们来看看其中的三个。
|
||||
|
||||
### Titan
|
||||
|
||||
[Titan][3] 是一个密码管理器,也可作为文件加密工具。我不确定 Titan 在加密文件方面效果有多好;我只是把它看作密码管理器,在这方面,它确实做的很好。
|
||||
|
||||
Titan 将你的密码存储在加密的 [SQLite 数据库][4]中,你可以在第一次启动应用程序时创建并添加主密码。告诉 Titan 增加一个密码,它要求一个名字来识别它,一个用户名,密码本身,一个 URL 和一个关于密码的注释。
|
||||
|
||||
你可以让 Titan 为你生成一个密码,你可以通过条目名称或数字 ID,名称,注释或使用正则表达式来搜索数据库,但是,查看特定的密码可能会有点笨拙,你要么必须列出所有密码滚动查找你想要使用的密码,要么你可以通过使用其数字 ID(如果你知道)列出条目的详细信息来查看密码。
|
||||
|
||||
### Gopass
|
||||
|
||||
[Gopass][5] 被称为“团队密码管理员”。不要让这让你感到失望,它对个人的使用也很好。
|
||||
|
||||
![](https://opensource.com/sites/default/files/styles/panopoly_image_original/public/u128651/gopass.png?itok=1Uodlute)
|
||||
|
||||
Gopass 是用 Go 语言编写的经典 Unix 和 Linux [Pass][6] 密码管理器的更新。在真正的 Linux 潮流中,你可以[编译源代码][7]或[使用安装程序][8]在你的计算机上使用 gopass。
|
||||
|
||||
在开始使用 gopass 之前,确保你的系统上有 [GNU Privacy Guard (GPG)][9] 和 [Git][10]。前者对你的密码存储进行加密和解密,后者将提交给一个 [Git 仓库][11]。如果 gopass 是给个人使用,你仍然需要 Git。你只需要担心签名提交。如果你感兴趣,你可以[在文档中][12]了解这些依赖关系。
|
||||
|
||||
当你第一次启动 gopass 时,你需要创建一个密码存储并生成一个[秘钥][13]以确保存储的安全。当你想添加一个密码( gopass 指的是一个秘密)时,gopass 会要求你提供一些信息,比如 URL,用户名和密码。你可以让 gopass 为你添加的密码生成密码,或者你可以自己输入密码。
|
||||
|
||||
根据需要,你可以编辑,查看或删除密码。你还可以查看特定的密码或将其复制到剪贴板以将其粘贴到登录表单或窗口中。
|
||||
|
||||
|
||||
### Kpcli
|
||||
|
||||
许多人选择的是开源密码管理器 [KeePass][14] 和 [KeePassX][15]。 [Kpcli][16] 将 KeePass 和 KeePassX 的功能带到离你最近的终端窗口。
|
||||
|
||||
![](https://opensource.com/sites/default/files/styles/panopoly_image_original/public/u128651/kpcli.png?itok=kMmOHTJz)
|
||||
|
||||
Kpcli 是一个键盘驱动的 shell,可以完成其图形化表亲的大部分功能。这包括打开密码数据库,添加和编辑密码和组(组帮助你组织密码),甚至重命名或删除密码和组。
|
||||
|
||||
当你需要时,你可以将用户名和密码复制到剪贴板以粘贴到登录表单中。为了保证这些信息的安全,kpcli 也有清除剪贴板的命令。对于一个小终端应用程序来说还不错。
|
||||
|
||||
你有最喜欢的命令行密码管理器吗?何不通过发表评论来分享它?
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
via: https://opensource.com/article/18/4/3-password-managers-linux-command-line
|
||||
|
||||
作者:[Scott Nesbitt][a]
|
||||
译者:[MjSeven](https://github.com/mjSeven)
|
||||
校对:[校对者ID](https://github.com/校对者ID)
|
||||
选题:[lujun9972](https://github.com/lujun9972)
|
||||
|
||||
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
|
||||
|
||||
[a]:https://opensource.com/users/scottnesbitt
|
||||
[1]:https://www.keepassx.org/
|
||||
[2]:https://opensource.com/article/18/3/managing-passwords-bitwarden
|
||||
[3]:https://www.titanpasswordmanager.org/
|
||||
[4]:https://en.wikipedia.org/wiki/SQLite
|
||||
[5]:https://www.justwatch.com/gopass/
|
||||
[6]:https://www.passwordstore.org/
|
||||
[7]:https://github.com/justwatchcom/gopass
|
||||
[8]:https://justwatch.com/gopass/#install
|
||||
[9]:https://www.gnupg.org
|
||||
[10]:https://git-scm.com/
|
||||
[11]:https://git-scm.com/book/en/v2/Git-Basics-Getting-a-Git-Repository
|
||||
[12]:https://github.com/justwatchcom/gopass/blob/master/docs/setup.md
|
||||
[13]:http://searchsecurity.techtarget.com/definition/private-key
|
||||
[14]:https://keepass.info/
|
||||
[15]:https://www.keepassx.org
|
||||
[16]:http://kpcli.sourceforge.net/
|
Loading…
Reference in New Issue
Block a user