<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Yes, the permissions and gpg-agent.conf creation is a problem I
would like to find an easy way around. As it turns out a fresh
install of ubuntu 16.04.3 already has /usr/bin/pinentry-gnome3
installed. That, plus the fact that libgnutls28-dev also installs
a bunch of stuff on my bash file means I can reduce it to:</p>
<p><br>
</p>
<p>cd ~/Downloads<br>
version=gnupg-2.2.3<br>
wget <a class="moz-txt-link-freetext" href="https://gnupg.org/ftp/gcrypt/gnupg/$version.tar.bz2">https://gnupg.org/ftp/gcrypt/gnupg/$version.tar.bz2</a><br>
wget <a class="moz-txt-link-freetext" href="https://gnupg.org/ftp/gcrypt/gnupg/$version.tar.bz2.sig">https://gnupg.org/ftp/gcrypt/gnupg/$version.tar.bz2.sig</a><br>
tar xf $version.tar.bz2<br>
cd $version<br>
sudo apt-get update<br>
sudo apt-get install -y libldap2-dev<br>
sudo apt-get install -y gtk+-2<br>
sudo apt-get install -y rng-tools<br>
sudo apt-get install -y libbz2-dev<br>
sudo apt-get install -y libgnutls28-dev<br>
sudo apt-get install -y libsqlite3-dev<br>
sudo apt-get install -y libreadline-dev<br>
sudo apt-get install -y pcscd scdaemon<br>
sudo make -f build-aux/speedo.mk INSTALL_PREFIX=/usr/local
speedo_pkg_gnupg_configure='--enable-g13 --enable-wks-tools
--with-pinentry-pgm=/usr/bin/pinentry-gnome3' native<br>
sudo ldconfig</p>
<p><br>
</p>
<p>Of course the line "sudo make -f ... native" is all one line.
This enables pinentry-gnome3 without having to do a separate
creation of gpg-agent.conf and the whole issue of permissions is
avoided. I would like to thank Werner, Robert, and Phil for the
very helpful suggestions.</p>
<p><br>
</p>
<p>murphy<br>
</p>
<br>
<div class="moz-cite-prefix">On 11/25/2017 04:02 AM, Dmitry Gudkov
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:DM5PR01MB223640E2BE2E726E16F29799A6270@DM5PR01MB2236.prod.exchangelabs.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper"
style="font-size:10pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;"
dir="ltr">
<p style="margin-top:0;margin-bottom:0">hi murphy,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">i dare suggest adding
this command after creating gpg-agent.conf file:</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"><b>chmod 600
agp-agent.conf</b></p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">i came across an old
thread on gnupg 2.xxx where its said that .gnupg
directory must have 700 and all files inside this directory
600 permissions</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">cheers</p>
<p style="margin-top:0;margin-bottom:0">Dmitry</p>
<br>
</div>
</blockquote>
<br>
</body>
</html>