Gpg
gpg - gpg-preset-passphrase 安裝
問題: - 當我通過時重複請求密碼
show <name of credential>
。做一些Google搜尋,我發現你可以用 gpg-preset-passphrase 做到這一點,但是我不確定從哪裡得到它或者它是否包含在 gpg 發行版中。
這是我正在執行的 gpg 的目前版本。
有誰知道如何安裝 gpg-preset-passphrase?
gpg --version gpg (GnuPG) 2.0.22 libgcrypt 1.5.3 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Home: ~/.gnupg Supported algorithms: Pubkey: RSA, ?, ?, ELG, DSA Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, CAMELLIA128, CAMELLIA192, CAMELLIA256 Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224 Compression: Uncompressed, ZIP, ZLIB, BZIP2
看起來它已安裝但不能通過
gpg-preset-passphrase
命令直接訪問,而是/usr/libexec/gpg-preset-passphrase
:/usr/libexec/gpg-preset-passphrase --version gpg-preset-passphrase (GnuPG) 2.0.22 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
在我的 Ubuntu 16 安裝中,它位於
gnupg-agent
包中並放置在/usr/lib/gnupg2/gpg-preset-passphrase
.