mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
gnupg: option to include RSA support.
gnupg is compiled with --enable-minimal flag. This produces a binary that only supports ElGamal and DSA public key algorithms. RSA has been the default for `gpg --gen-key` since 2009, so it makes sense to be able to build a gnupg binary that supports it. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
300eb6b751
commit
b2fab93b16
@ -15,6 +15,11 @@ config BR2_PACKAGE_GNUPG
|
|||||||
|
|
||||||
if BR2_PACKAGE_GNUPG
|
if BR2_PACKAGE_GNUPG
|
||||||
|
|
||||||
|
config BR2_PACKAGE_GNUPG_RSA
|
||||||
|
bool "RSA support"
|
||||||
|
help
|
||||||
|
Support for RSA public key algorithm
|
||||||
|
|
||||||
config BR2_PACKAGE_GNUPG_GPGV
|
config BR2_PACKAGE_GNUPG_GPGV
|
||||||
bool "gpgv"
|
bool "gpgv"
|
||||||
help
|
help
|
||||||
|
@ -31,6 +31,12 @@ else
|
|||||||
GNUPG_CONF_OPT += --without-readline
|
GNUPG_CONF_OPT += --without-readline
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_GNUPG_RSA),y)
|
||||||
|
GNUPG_CONF_OPT += --enable-rsa
|
||||||
|
else
|
||||||
|
GNUPG_CONF_OPT += --disable-rsa
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq ($(BR2_PACKAGE_GNUPG_GPGV),y)
|
ifneq ($(BR2_PACKAGE_GNUPG_GPGV),y)
|
||||||
define GNUPG_REMOVE_GPGV
|
define GNUPG_REMOVE_GPGV
|
||||||
rm -f $(TARGET_DIR)/usr/bin/gpgv \
|
rm -f $(TARGET_DIR)/usr/bin/gpgv \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user