Re: Complete Ubuntu compile of GnuPG

2017-12-12 Thread Szczepan Zalega | Nitrokey
On 11/25/2017 01:40 PM, murphy wrote: > 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 inst

Complete Ubuntu compile of GnuPG

2017-11-25 Thread murphy
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

Complete Ubuntu compile of GnuPG

2017-11-23 Thread murphy
Thanks to all for suggestions.  For a complete compile on a fresh install of Ubuntu, I managed to get the bash file down to a minimum of: cd ~/Downloads version=gnupg-2.2.3 wget https://gnupg.org/ftp/gcrypt/gnupg/$version.tar.bz2 wget https://gnupg.org/ftp/gcrypt/gnupg/$version.tar.bz2.sig tar xf

Complete Ubuntu compile of GnuPG

2017-11-22 Thread murphy
Thanks Robert and Werner.  Goal accomplished :) OpenPGP:   yes S/MIME:    yes Agent: yes Smartcard: yes (without internal CCID driver) G13:   yes Dirmngr:   yes Gpgtar:    yes WKS tools: yes The deletion of adns-tools, libgmp-dev, nettle-dev and libgnutls28-dev from my bash file resulted

Re: Complete Ubuntu compile of GnuPG

2017-11-22 Thread Phil Pennock
On 2017-11-22 at 08:09 -0500, murphy wrote: > pinentry-program /usr/bin/pinentry-gtk-2 > > This is required since pinentry is not compiled from source but > installed as an Ubuntu package. GnuPG's configure takes --with-pinentry-pgm=... to override the default. (I build the https://public-packag

Re: Complete Ubuntu compile of GnuPG

2017-11-22 Thread murphy
Note that the last lines of the bash file in my previous post didn't print right (arrrgh, my attempt to clarify backfired).  It is probably best to leave it as Werner hinted anyway: sudo make -f build-aux/speedo.mk native INSTALL_PREFIX=/usr/local sudo ldconfig murphy signature.asc Descript

Re: Complete Ubuntu compile of GnuPG

2017-11-22 Thread murphy
On 11/22/2017 06:00 AM, Dmitry Gudkov wrote: > ...clear instructions to compile the latest version for Ubuntu 16.04.3? Hi Dmitry - I haven't finished testing Werner's suggestions but this will work on Ubuntu 16.04: 1.  create an empty file: gpg223.sh and cut, paste and save the following: cd ~/D

Re: Complete Ubuntu compile of GnuPG

2017-11-22 Thread Dmitry Gudkov
Dear Werner, Could you give me (a gnupg newbie) clear instructions to compile the latest version for Ubuntu 16.04.3? I’m running it as a VM in VirtualBox on my Mac. Also I need you advice on my keys. Now I have rsa2048 but want to switch to rsa4096. What’s the best way of doing? Migrate or dele

Re: Complete Ubuntu compile of GnuPG

2017-11-22 Thread murphy
Thanks to all for the suggested improvements!! One think I forgot to mention was to add the configuration: nano ~/.gnupg/gpg-agent.conf pinentry-program /usr/bin/pinentry-gtk-2 This is required since pinentry is not compiled from source but installed as an Ubuntu package. signature.asc Desc

Re: Complete Ubuntu compile of GnuPG

2017-11-22 Thread Werner Koch
On Wed, 22 Nov 2017 03:44, mac3...@gmail.com said: > sudo apt-get install -y libgmp-dev > sudo apt-get install -y nettle-dev > sudo apt-get install -y libgnutls28-dev These are also not needed because the speedo Makefile will download and use ntbtls instead. Shalom-Salam, Werner -- Die Ge

Re: Complete Ubuntu compile of GnuPG

2017-11-22 Thread Werner Koch
On Wed, 22 Nov 2017 03:44, mac3...@gmail.com said: > sudo apt-get install -y adns-tools You should not need this. > sudo apt-get install -y pcscd scdaemon I guess you install scdaemon to get some infrastructure provided by Ubuntu in their scdameon package. > Specifically G13 and WKS tools ar

Re: Complete Ubuntu compile of GnuPG

2017-11-21 Thread Robert J. Hansen
> The bash file works on a fresh install of Ubuntu 16.04, 17.10 and > Raspbian Stretch (for Raspberry Pi).  Any suggestions for improvements? Pass --enable-g13 --enable-wks-tools to your make invocation. make -f build-aux/speedo.mk INSTALL_PREFIX=/usr/local \ speedo_pkg_gnupg_configure='--enabl

Complete Ubuntu compile of GnuPG

2017-11-21 Thread murphy
My goal is to compile the latest version of GnuPG for Ubuntu.  The following bash file does pretty well: cd ~/Downloads version=gnupg-2.2.3 wget https://gnupg.org/ftp/gcrypt/gnupg/$version.tar.bz2 wget https://gnupg.org/ftp/gcrypt/gnupg/$version.tar.bz2.sig tar xf $version.tar.bz2 cd $version sudo