Stefan Hagen wrote:
> Rudolf Sykora wrote:
>> On linux, I believe, there is a pinentry-tty program, but that one is
>> not available on OpenBSD.
>
> Have you tried pinentry-curses? I'm using it on my remote machines
> to decrypt passwords in my password-store. Works well so far.
>
> Well, the attached patch enables pinentry-tty in security/pinentry.
>
> @pea (Maintainer, CC): Was this forgotten or intentionally left out for a
> reason?
Sorry, forgot the attachment.
Here it is.
Bye,
Stefan
Index: security/pinentry//Makefile
===================================================================
RCS file: /cvs/ports/security/pinentry/Makefile,v
retrieving revision 1.26
diff -u -p -u -p -r1.26 Makefile
--- security/pinentry//Makefile 12 Jul 2019 21:15:36 -0000 1.26
+++ security/pinentry//Makefile 8 Dec 2019 16:12:25 -0000
@@ -5,7 +5,7 @@ COMMENT-gtk2 = PIN or passphrase entry
COMMENT-gnome3 =PIN or passphrase entry dialog (GNOME 3 interface)
VERSION = 1.1.0
-REVISION = 0
+REVISION = 1
DISTNAME = pinentry-${VERSION}
CATEGORIES = security
EXTRACT_SUFX = .tar.bz2
@@ -49,6 +49,7 @@ CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include
-D_XOPEN_SOURCE_EXTENDED" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS = --enable-pinentry-curses \
+ --enable-pinentry-tty \
--disable-pinentry-qt \
--disable-pinentry-fltk
Index: security/pinentry//pkg/PLIST-main
===================================================================
RCS file: /cvs/ports/security/pinentry/pkg/PLIST-main,v
retrieving revision 1.1
diff -u -p -u -p -r1.1 PLIST-main
--- security/pinentry//pkg/PLIST-main 4 Nov 2011 12:12:56 -0000 1.1
+++ security/pinentry//pkg/PLIST-main 8 Dec 2019 16:12:25 -0000
@@ -1,4 +1,5 @@
@comment $OpenBSD: PLIST-main,v 1.1 2011/11/04 12:12:56 stsp Exp $
bin/pinentry
@bin bin/pinentry-curses
+@bin bin/pinentry-tty
@info info/pinentry.info