FS#56741 - [neomutt] Fails to find pgpewrap during encryption
Attached to Project:
Community Packages
Opened by Alexander Lehmann (afwlehmann) - Saturday, 16 December 2017, 12:16 GMT
Last edited by Jelle van der Waa (jelly) - Saturday, 15 December 2018, 15:00 GMT
Opened by Alexander Lehmann (afwlehmann) - Saturday, 16 December 2017, 12:16 GMT
Last edited by Jelle van der Waa (jelly) - Saturday, 15 December 2018, 15:00 GMT
|
Details
Description:
After upgrading to neomutt 20171208-1, encryption fails because `pgpewrap` cannot be found. Additional info: `pgpewrap` resides inside /usr/lib/neomutt. Steps to reproduce: * Compose mail * Before sending, set up mail to be encrypted and/or signed * Try to send * Encryption fails with "sh: pgpewrap: command not found" |
This task depends upon
Closed by Jelle van der Waa (jelly)
Saturday, 15 December 2018, 15:00 GMT
Reason for closing: Fixed
Additional comments about closing: 20180716-5
Saturday, 15 December 2018, 15:00 GMT
Reason for closing: Fixed
Additional comments about closing: 20180716-5
set pgp_encrypt_only_command="/usr/lib/neomutt/pgpewrap gpg --batch --quiet --no-verbose --output - --textmode --armor -- --recipient %r -- --encrypt %f"
"). That setup has been working for quite some time also for neomutt, but I see why your proposed configuration is better. Thanks for taking the time, I'll go ahead and adapt my config.
[1] https://dev.mutt.org/trac/wiki/MuttGuide/UseGPG
The following patch works :
--- /home/alex/Downloads/PKGBUILD 2018-09-23 15:39:11.512858781 +0200
+++ PKGBUILD 2018-09-23 15:38:28.864114028 +0200
@@ -19,6 +19,12 @@
'SKIP')
validpgpkeys=('86C2397270DD7A561263CA4E5FAF0A6EE7371805') # Richard Russon (flatcap) <rich@flatcap.org>
+# Wrong pgpewrap location in archlinux
+prepare() {
+ cd "$pkgname-$pkgname-$pkgver"
+ sed -i".bak" 's/libexec\/neomutt\/pgpewrap/lib\/neomutt\/pgpewrap/' contrib/gpg.rc
+}
+
build() {
cd "$pkgname-$pkgname-$pkgver"
./configure \
Thank you
Required patch https://github.com/neomutt/neomutt/commit/2249966410400273f1ae4f7b73ce3f33ac40ca57