Parece que el actual gpg
instalado en Big Sur es un poco anticuado comparado con el embotellado de homebrew
.
gpg --version
gpg (GnuPG/MacGPG2) 2.0.30
libgcrypt 1.7.0
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, 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
Similar si pruebo con gpg2
gpg (GnuPG/MacGPG2) 2.0.30
libgcrypt 1.7.0
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, 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
Si no me equivoco con la versión actual parece que no hay soporte para algos de curva elíptica, por ejemplo. ed25519
.
Brew dice que la última versión de gpg
es 2.3.4
brew info gpg
gnupg: stable 2.3.4 (bottled)
GNU Pretty Good Privacy (PGP) package
https://gnupg.org/
Not installed
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/gnupg.rb
License: GPL-3.0-or-later
==> Dependencies
Build: pkg-config
Required: gettext , gnutls , libassuan , libgcrypt , libgpg-error , libksba , libusb , npth , pinentry
Las ubicaciones de las versiones de gpg instaladas son las siguientes:
which gpg
/usr/local/bin/gpg
which gpg2
/usr/local/MacGPG2/bin/gpg2
Mi pregunta es si desinstalo gpg
y gpg2
y luego instalar usando brew
¿tendré algún problema?
O dicho de otro modo, ¿cuál es el método adecuado para actualizar el gpg
versión 2.0.30
a 2.3.4
.