summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2015-11-22 12:48:26 -0500
committerJason Woodward2015-11-22 12:48:26 -0500
commit17648796b5eac3a9d9f65c1cca644c0a280b90b3 (patch)
tree39a470676038425b1b544feb1cb86fc7ab8108ff
parent26d6a24bf8e501e5da300340b4ad8ca9ceb7b381 (diff)
downloadslapt-get-17648796b5eac3a9d9f65c1cca644c0a280b90b3.tar.gz
gpgme uses gnupg2 now
-rw-r--r--slack-required2
-rw-r--r--src/gpgme.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/slack-required b/slack-required
index a84fde1..e4369a3 100644
--- a/slack-required
+++ b/slack-required
@@ -5,7 +5,7 @@ binutils
openssl-solibs | openssl
pkgtools
zlib
-gnupg
+gnupg2
gpgme
libgpg-error
cyrus-sasl
diff --git a/src/gpgme.c b/src/gpgme.c
index c2dbbc4..5ed4120 100644
--- a/src/gpgme.c
+++ b/src/gpgme.c
@@ -323,6 +323,9 @@ slapt_code_t slapt_gpg_verify_checksums(FILE *checksums,
}
}
+ } else {
+ /* if gnupg|gnupg2 is missing: "GPGME: Invalid crypto engine" */
+ fprintf (stderr, "GPGME: %s\n", gpgme_strerror (e));
}
gpgme_data_release (chk_data);