
團隊的標準UNIX密碼管理器稍微稍微稍微稍微更棒。
輕鬆管理您的憑據。在全球分佈式的團隊中,在多個設備上或在空氣蓋機器上完全離線。
默認情況下,您的憑據使用GPG加密並在git中版本。可以輕鬆自定義。主要接口是命令行,是CLI風扇,CI/CD系統或您可以將其連接的任何內容的絕佳選擇。 Gopass也可以與您的瀏覽器集成,因此您可以在很大程度上避免命令行 - 如果需要。
gopass的必要前提條件gopass可以在沒有任何依賴項的情況下進行操作,但是大多數用戶將與gpg和git一起使用。需要外部編輯器使用gopass edit 。
brew install gopasssudo port install gopass警告:請勿為官方存儲庫安裝gopass包。這是一個與我們無關的完全不同的項目。
curl https://packages.gopass.pw/repos/gopass/gopass-archive-keyring.gpg | sudo tee /usr/share/keyrings/gopass-archive-keyring.gpg > /dev/null
cat << EOF | sudo tee /etc/apt/sources.list.d/gopass.sources
Types: deb
URIs: https://packages.gopass.pw/repos/gopass
Suites: stable
Architectures: all amd64 arm64 armhf
Components: main
Signed-By: /usr/share/keyrings/gopass-archive-keyring.gpg
EOF
sudo apt update
sudo apt install gopass gopass-archive-keyringdnf install gopass注意:您可能需要先運行dnf copr enable daftaupe/gopass 。
pacman -S gopass # WinGet
winget install Git.Git
winget install GnuPG.Gpg4win
winget install gopass.gopass
# Chocolatey
choco install gpg4win
choco install gopass
# Alternatively
scoop install gopass cd /usr/ports/security/gopass
make installapk add gopass有關其他選項,請參閱DOCS/SETUP.MD。
go install github.com/gopasspw/gopass@latest注意: latest不是穩定的版本。我們建議僅使用發布的版本。
下載最新版本,然後將二進制添加到您的路徑中。
初始化新的gopass配置:
gopass setup
__ _ _ _ _ _ ___ ___
/ ' _ ' / ' _ ' ( ' _ ' / ' _ ' )/ ' ,__)/ ' ,__)
( (_) | ( (_) ) | (_) )( (_ | | _ _, \ __,
' __ | ' _ __/ ' | ,__/ ' ' __,_)(____/(____/
( )_) | | |
___/ ' (_)
? Welcome to gopass !
? Initializing a new password store ...
? Configuring your password store ...
? Please select a private key for encrypting secrets:
[0] gpg - 0xFEEDBEEF - John Doe < [email protected] >
Please enter the number of a key (0-12, [q]uit) (q to abort) [0]: 0
❓ Do you want to add a git remote ? [y/N/q]: y
Configuring the git remote ...
Please enter the git remote for your shared store []: [email protected]:john/passwords.git
✅ Configured默認情況下, gopass setup將使用gpg加密和git存儲。這將在$HOME/.local/share/gopass/stores/root中創建一個新的密碼存儲,並在$HOME/.config/gopass/config中使用gpg加密和git進行gpg and git和git中的配置。用戶可以用例如--crypto=age使用age加密的年齡覆蓋它們,也可以選擇不使用版本的商店與--storage=fs 。
現有商店可以用例如gopass clone [email protected]:john/passwords.git 。
創建一個新的秘密:
gopass create列出所有現有秘密:
gopass ls將現有密碼複製到剪貼板:
gopass show -c foo刪除現有的秘密:
gopass rm foo其他示例:
# Command structure
gopass [ < command > ] [options] [args]
# Shortcut for gopass show [<key>]
gopass [ < key > ]
# Enter the gopass REPL
gopass
# Find all entries matching the search string
gopass find github
# List your store
gopass ls
# List all mounts
gopass mounts
# List all recipients
gopass recipients
# Sync with all remotes
gopass sync
# Setup a new store
gopass setup
請懈怠。
我們歡迎任何貢獻。有關更多信息,請參見dragting.md。
Gopass是根據MIT許可證的條款獲得許可的。您可以在LICENSE中找到完整的文本。
請參閱我們的貢獻者頁面以獲取我們的貢獻者的完整列表。