pinentry - PIN or passphrase entry dialogs ChangeLog

HOWTO


# PIN Entry 1.3.0 (2024-03-18)
# ===============
# Slackware 14.0: pinentry 0.8.1
# Slackware 14.1: pinentry 0.8.3
# Slackware 14.2: pinentry 0.9.7
# Slackware 15.0: pinentry 1.2.0
#
# And always check 'patches' for updates

# Prerequisites:
# pkg-config >= 0.9.0
# GPG Error >= 1.16
# libassuan >= 2.1.0
# ncurses">ncurses
# glibc's iconv or libiconv
# Enlightenment (optional)
# GTK+ >= 2.12.0 (optional)
# Gnome (optional)
# - gcr-4 or gcr-base-3
# - libsecret
# X11: XFree86, X.Org, Wayland, etc. (optional)
# Qt >= 4.4.0, >= 5.0, >= 6.4.0 (optional)
# Fast Light Toolkit (optional)
# Trinity Desktop Environment (optional)

# dev.gnupg.org: T7046 Release Pinentry 1.3.x
# gnupg-announce mailing list archives
# gnupg-users mailing list archives
# GitHub repository mirror
# GnuPG Development Hub

# Alternative download options:
# GnuPG FTP Mirrors
# https://www.mirrorservice.org/sites/ftp.gnupg.org/gcrypt/pinentry/ (one specific mirror)

# Get the source tarball
cd
test -f installed/pinentry-1.3.0.tar.bz2 &&
mv installed/pinentry-1.3.0.tar.bz2 .
test ! -f pinentry-1.3.0.tar.bz2 &&
wget https://www.gnupg.org/ftp/gcrypt/pinentry/pinentry-1.3.0.tar.bz2

# Verify tarball w/ sha256sum:
# (this came from my gpg-verified tarball)
echo "9b3cd5226e7597f2fded399a3bc659923351536559e9db0826981bca316494\
de  pinentry-1.3.0.tar.bz2" | sha256sum -c

# Verify tarball w/ gpg:
( gpg --list-keys 6DAA6E64A76D2840571B4902528897B826403ADA > /dev/null \
2>&1 || gpg --recv-keys 6DAA6E64A76D2840571B4902528897B826403ADA ) &&
wget -nc https://www.gnupg.org/ftp/gcrypt/pinentry/\
pinentry-1.3.0.tar.bz2.sig &&
  gpg --verify pinentry-1.3.0.tar.bz2.sig && rm pinentry-1.3.0.tar.bz2.sig

# Extract the source
mkdir -p -m 0700 ~/src
cd ~/src
find -maxdepth 1 -type d -name "pinentry-*" -exec rm -r {} \;
tar xjvf ~/pinentry-1.3.0.tar.bz2
cd pinentry-1.3.0
test $UID = 0 && chown -R root:root .

# Read through ./README
# If upgrading, also read through NEWS and/or ChangeLog

# If configure detects something and you don't want to use it, see
# ./configure --help

# Configure the build
./configure --prefix=/usr --disable-pinentry-emacs --disable-inside-emacs \
--disable-pinentry-qt4

# Build it
make

# Become root to install it
su

# Remove the Slackware package, if there is one
test -x /sbin/removepkg && /sbin/removepkg pinentry

# Install it
make install

# Make sure your non-root user can remove the source later
chown -R $(logname) .
chmod -R u+w .

# Become yourself again
exit

# Save the tarball for later
cd
mkdir -p -m 0700 installed
rm -f installed/pinentry-*.tar.*
mv pinentry-1.3.0.tar.bz2 installed/


# If you ever need to uninstall pinentry, this should do it:
test -d ~/src/pinentry-* && ( cd ~/src/pinentry-* ; make uninstall )
su
for pfx in /usr /usr/local;
do
  ( cd ${pfx}/bin
    find . -executable -name "pinentry-*" -exec rm {} \; )
  rm -f ${pfx}/bin/pinentry ${pfx}/info/pinentry.info*
done
exit
find ~/src -maxdepth 1 -type d -name "pinentry-*" -exec rm -r {} \;
rm -f ~/installed/pinentry-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2024-05-26 2:07am
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]