我正在尝试更新我的GPG。
user@linuxmint ~/Downloads $ whereis gpg
gpg: /usr/bin/gpg /usr/share/man/man1/gpg.1.gz
user@linuxmint ~/Downloads $ gpg --version
gpg (GnuPG) 1.4.20
Copyright (C) 2015 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, RSA-E, RSA-S, ELG-E, 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
它告诉我我的版本是1.4.20
,很奇怪,好的。我们来更新。
user@linuxmint ~/Downloads $ sudo apt-get install gnupg2
Reading package lists... Done
Building dependency tree
Reading state information... Done
gnupg2 is already the newest version (2.1.11-6ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 58 not upgraded.
哇!所以我似乎更新了。但系统认为不然。 我需要获取密钥,旧版本不支持从https获取。
user@linuxmint ~/Downloads $ gpg --fetch-keys https://keys.qubes-os.org/keys/qubes-master-signing-key.asc
gpgkeys: protocol `https' not supported
gpg: no handler for keyserver scheme `https'
gpg: WARNING: unable to fetch URI https://keys.qubes-os.org/keys/qubes-master-signing-key.asc: keyserver error
非常感谢任何帮助
答案 0 :(得分:0)
GPG和GPG2作为单独的软件包发布。您可以通过gpg2
命令使用GPG2。
如果这是一个问题,您可以在~/.bashrc
:
alias gpg="gpg2"
但这可能会导致内部使用GPG的其他应用程序出现问题。