Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pinentry-tty is broken #662

Closed
2 tasks done
tlaurion opened this issue Jan 25, 2020 · 10 comments
Closed
2 tasks done

Pinentry-tty is broken #662

tlaurion opened this issue Jan 25, 2020 · 10 comments
Assignees

Comments

@tlaurion
Copy link
Collaborator

tlaurion commented Jan 25, 2020

Since heads passed to musl-cross-make, it is impossible to sign /boot files under Heads.

  • linux doesn't provide a working tty so pinentry doesn't permit to enter passphrase to sign with USB security dongle notty
  • pinentry-tty is not built against the cross compiler
@tlaurion
Copy link
Collaborator Author

The pinentry.configure.log shows:

configure: WARNING: using cross tools not prefixed with host triplet
checking for x86_64-linux-musl-g++... no
checking for x86_64-linux-musl-c++... no
checking for x86_64-linux-musl-gpp... no
checking for x86_64-linux-musl-aCC... no
checking for x86_64-linux-musl-CC... no
checking for x86_64-linux-musl-cxx... no
checking for x86_64-linux-musl-cc++... no
checking for x86_64-linux-musl-cl.exe... no
checking for x86_64-linux-musl-FCC... no
checking for x86_64-linux-musl-KCC... no
checking for x86_64-linux-musl-RCC... no
checking for x86_64-linux-musl-xlC_r... no
checking for x86_64-linux-musl-xlC... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3

While gpg2.configure.log shows:

configure: WARNING: using cross tools not prefixed with host triplet
checking for x86_64-linux-musl-ar... /home/user/heads/crossgcc/bin/x86_64-linux-musl-ar

@tlaurion
Copy link
Collaborator Author

gpg2 has a patch to force crosscompiling.
I made a similar patches/pinentry-1.1.0.patch:

--- clean/pinentry-1.1.0/configure		2017-12-03 12:43:24.000000000 -0500
+++ pinentry-1.1.0/configure		2020-01-25 12:04:19.737000000 -0500
@@ -572,7 +572,7 @@
 ac_clean_files=
 ac_config_libobj_dir=.
 LIBOBJS=
-cross_compiling=no
+cross_compiling=yes
 subdirs=
 MFLAGS=
 MAKEFLAGS=

Result in pinentry.configure.log is still the same.

@tlaurion
Copy link
Collaborator Author

tlaurion commented Jan 25, 2020

Interesting fact, all Heads modules but GPG related ones declares:
--host i386-elf-linux (ex) instead of --host x86_64-linux-musl (ex) in their configure statements.

@tlaurion
Copy link
Collaborator Author

tlaurion commented Jan 25, 2020

https://dev.gnupg.org/tag/cross-compiler/

Solution seems to be fixed upstream into gpg-error-config and libassuan-config, while pinentry-tty 1.1.1 is still not released.

@tlaurion
Copy link
Collaborator Author

tlaurion commented Jan 25, 2020

The following configure errors are still present since declared under modules configure statements:

grep -Rni unrecognized build/log/*
build/log/gpg2.configure.log:2:configure: WARNING: unrecognized options: --with-libusb, --disable-asm, --disable-keyserver-helpers, --disable-hkp, --disable-finger, --disable-dns-srv, --disable-dns-cert, --disable-wks-server
build/log/gpg2.configure.log:384:configure: WARNING: unrecognized options: --with-libusb, --disable-asm, --disable-keyserver-helpers, --disable-hkp, --disable-finger, --disable-dns-srv, --disable-dns-cert, --disable-wks-server
build/log/libassuan.configure.log:2:configure: WARNING: unrecognized options: --disable-nls, --disable-asm
build/log/libassuan.configure.log:182:configure: WARNING: unrecognized options: --disable-nls, --disable-asm
build/log/libgpg-error.configure.log:2:configure: WARNING: unrecognized options: --disable-asm
build/log/libgpg-error.configure.log:218:configure: WARNING: unrecognized options: --disable-asm
build/log/libksba.configure.log:2:configure: WARNING: unrecognized options: --disable-nls, --disable-asm
build/log/libksba.configure.log:148:configure: WARNING: unrecognized options: --disable-nls, --disable-asm
build/log/libusb.configure.log:2:configure: WARNING: unrecognized options: --disable-tests
build/log/libusb.configure.log:157:configure: WARNING: unrecognized options: --disable-tests
build/log/npth.configure.log:2:configure: WARNING: unrecognized options: --disable-nls, --with-libgpg-error-prefix, --disable-asm
build/log/npth.configure.log:146:configure: WARNING: unrecognized options: --disable-nls, --with-libgpg-error-prefix, --disable-asm

@tlaurion
Copy link
Collaborator Author

tlaurion commented Jan 25, 2020

The following configure errors are still present since declared under modules configure statements:

grep -Rni unrecognized build/log/*
build/log/gpg2.configure.log:2:configure: WARNING: unrecognized options: --with-libusb, --disable-asm, --disable-keyserver-helpers, --disable-hkp, --disable-finger, --disable-dns-srv, --disable-dns-cert, --disable-wks-server
build/log/gpg2.configure.log:384:configure: WARNING: unrecognized options: --with-libusb, --disable-asm, --disable-keyserver-helpers, --disable-hkp, --disable-finger, --disable-dns-srv, --disable-dns-cert, --disable-wks-server
build/log/libassuan.configure.log:2:configure: WARNING: unrecognized options: --disable-nls, --disable-asm
build/log/libassuan.configure.log:182:configure: WARNING: unrecognized options: --disable-nls, --disable-asm
build/log/libgpg-error.configure.log:2:configure: WARNING: unrecognized options: --disable-asm
build/log/libgpg-error.configure.log:218:configure: WARNING: unrecognized options: --disable-asm
build/log/libksba.configure.log:2:configure: WARNING: unrecognized options: --disable-nls, --disable-asm
build/log/libksba.configure.log:148:configure: WARNING: unrecognized options: --disable-nls, --disable-asm
build/log/libusb.configure.log:2:configure: WARNING: unrecognized options: --disable-tests
build/log/libusb.configure.log:157:configure: WARNING: unrecognized options: --disable-tests
build/log/npth.configure.log:2:configure: WARNING: unrecognized options: --disable-nls, --with-libgpg-error-prefix, --disable-asm
build/log/npth.configure.log:146:configure: WARNING: unrecognized options: --disable-nls, --with-libgpg-error-prefix, --disable-asm

Passing the following doesn't do the expected:
--with-libgpg-error-prefix
--with-libusb

I didn't remove those.

Upgraded :
gpg2: 2.2.10 -> 2.2.19
libassuan: 2.5.1 -> 2.5.3
libgpg-error: 1.32 -> 1.36

Compiling.

@tlaurion
Copy link
Collaborator Author

tlaurion commented Jan 25, 2020

pinentry.configure.log:

./configure CC=/home/user/heads/crossgcc/bin/x86_64-linux-musl-gcc -fdebug-prefix-map=/home/user/heads=heads -gno-record-gcc-switches -D__MUSL__ -I/home/user/heads/install/include -L/home/user/heads/install/lib  AR=/home/user/heads/crossgcc/bin/x86_64-linux-musl-ar LD=/home/user/heads/crossgcc/bin/x86_64-linux-musl-ld STRIP=/home/user/heads/crossgcc/bin/x86_64-linux-musl-strip NM=/home/user/heads/crossgcc/bin/x86_64-linux-musl-nm OBJCOPY=/home/user/heads/crossgcc/bin/x86_64-linux-musl-objcopy OBJDUMP=/home/user/heads/crossgcc/bin/x86_64-linux-musl-objdump PKG_CONFIG_PATH=/home/user/heads/install/lib/pkgconfig PKG_CONFIG_SYSROOT_DIR=/home/user/heads/install   --build i386-elf-linux --host=x86_64-linux-musl --prefix / --libexecdir /bin --enable-pinentry-tty --disable-libsecret --disable-fallback-curses --disable-pinentry-curses --disable-pinentry-qt --disable-pinentry-gtk2 --disable-pinentry-gnome3 --disable-pinentry-fltk --disable-pinentry-emacs --disable-fallback-curses --with-libgpg-error-prefix=/home/user/heads/install --with-libassuan-prefix=/home/user/heads/install 
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-linux-musl-strip... /home/user/heads/crossgcc/bin/x86_64-linux-musl-strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for x86_64-linux-musl-gcc... /home/user/heads/crossgcc/bin/x86_64-linux-musl-gcc -fdebug-prefix-map=/home/user/heads=heads -gno-record-gcc-switches -D__MUSL__ -I/home/user/heads/install/include -L/home/user/heads/install/lib 
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /home/user/heads/crossgcc/bin/x86_64-linux-musl-gcc -fdebug-prefix-map=/home/user/heads=heads -gno-record-gcc-switches -D__MUSL__ -I/home/user/heads/install/include -L/home/user/heads/install/lib  accepts -g... yes
checking for /home/user/heads/crossgcc/bin/x86_64-linux-musl-gcc -fdebug-prefix-map=/home/user/heads=heads -gno-record-gcc-switches -D__MUSL__ -I/home/user/heads/install/include -L/home/user/heads/install/lib  option to accept ISO C89... none needed
checking whether /home/user/heads/crossgcc/bin/x86_64-linux-musl-gcc -fdebug-prefix-map=/home/user/heads=heads -gno-record-gcc-switches -D__MUSL__ -I/home/user/heads/install/include -L/home/user/heads/install/lib  understands -c and -o together... yes
checking dependency style of /home/user/heads/crossgcc/bin/x86_64-linux-musl-gcc -fdebug-prefix-map=/home/user/heads=heads -gno-record-gcc-switches -D__MUSL__ -I/home/user/heads/install/include -L/home/user/heads/install/lib ... gcc3
checking how to run the C preprocessor... /home/user/heads/crossgcc/bin/x86_64-linux-musl-gcc -fdebug-prefix-map=/home/user/heads=heads -gno-record-gcc-switches -D__MUSL__ -I/home/user/heads/install/include -L/home/user/heads/install/lib  -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i386-elf-linux-gnu
checking host system type... x86_64-pc-linux-musl
checking whether make sets $(MAKE)... (cached) yes
checking whether build environment is sane... yes
checking for x86_64-linux-musl-gcc... (cached) /home/user/heads/crossgcc/bin/x86_64-linux-musl-gcc -fdebug-prefix-map=/home/user/heads=heads -gno-record-gcc-switches -D__MUSL__ -I/home/user/heads/install/include -L/home/user/heads/install/lib 
checking whether we are using the GNU C compiler... (cached) yes
checking whether /home/user/heads/crossgcc/bin/x86_64-linux-musl-gcc -fdebug-prefix-map=/home/user/heads=heads -gno-record-gcc-switches -D__MUSL__ -I/home/user/heads/install/include -L/home/user/heads/install/lib  accepts -g... (cached) yes
checking for /home/user/heads/crossgcc/bin/x86_64-linux-musl-gcc -fdebug-prefix-map=/home/user/heads=heads -gno-record-gcc-switches -D__MUSL__ -I/home/user/heads/install/include -L/home/user/heads/install/lib  option to accept ISO C89... (cached) none needed
checking whether /home/user/heads/crossgcc/bin/x86_64-linux-musl-gcc -fdebug-prefix-map=/home/user/heads=heads -gno-record-gcc-switches -D__MUSL__ -I/home/user/heads/install/include -L/home/user/heads/install/lib  understands -c and -o together... (cached) yes
checking dependency style of /home/user/heads/crossgcc/bin/x86_64-linux-musl-gcc -fdebug-prefix-map=/home/user/heads=heads -gno-record-gcc-switches -D__MUSL__ -I/home/user/heads/install/include -L/home/user/heads/install/lib ... (cached) gcc3
checking how to run the C preprocessor... /home/user/heads/crossgcc/bin/x86_64-linux-musl-gcc -fdebug-prefix-map=/home/user/heads=heads -gno-record-gcc-switches -D__MUSL__ -I/home/user/heads/install/include -L/home/user/heads/install/lib  -E
checking for x86_64-linux-musl-ranlib... no
checking for ranlib... ranlib
configure: WARNING: using cross tools not prefixed with host triplet
checking for x86_64-linux-musl-g++... no
checking for x86_64-linux-musl-c++... no
checking for x86_64-linux-musl-gpp... no
checking for x86_64-linux-musl-aCC... no
checking for x86_64-linux-musl-CC... no
checking for x86_64-linux-musl-cxx... no
checking for x86_64-linux-musl-cc++... no
checking for x86_64-linux-musl-cl.exe... no
checking for x86_64-linux-musl-FCC... no
checking for x86_64-linux-musl-KCC... no
checking for x86_64-linux-musl-RCC... no
checking for x86_64-linux-musl-xlC_r... no
checking for x86_64-linux-musl-xlC... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether ln -s works... yes
checking for x86_64-linux-musl-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for x86_64-linux-musl-windres... no
checking for windres... no
checking for gitlog-to-changelog... no
checking if gcc ignores unknown -Wno-* options... yes
checking if gcc supports -Wpointer-arith... yes
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking termio.h usability... no
checking termio.h presence... no
checking for termio.h... no
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for seteuid... yes
checking for stpcpy... yes
checking for mmap... yes
checking for mlock... yes
checking whether mlock is broken... assuming no
checking for uint32_t... yes
checking for gpg-error-config... /home/user/heads/install/bin/gpg-error-config
checking for GPG Error - version >= 1.16... yes (1.36)
checking for x86_64-linux-musl-libassuan-config... /home/user/heads/install/bin/libassuan-config
checking for LIBASSUAN - version >= 2.1.0... yes (2.5.3)
checking LIBASSUAN API version... okay
checking for byte typedef... no
checking for ulong typedef... yes
checking for setcap... /usr/sbin/setcap
checking for cap_set_proc in -lcap... no
checking if Unix domain socket is supported... yes
checking that generated files are newer than configure... done
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating m4/Makefile
config.status: creating secmem/Makefile
config.status: creating pinentry/Makefile
config.status: creating curses/Makefile
config.status: creating tty/Makefile
config.status: creating emacs/Makefile
config.status: creating gtk+-2/Makefile
config.status: creating gnome3/Makefile
config.status: creating qt/Makefile
config.status: creating tqt/Makefile
config.status: creating w32/Makefile
config.status: creating fltk/Makefile
config.status: creating doc/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
configure:

	Pinentry v1.1.0 has been configured as follows:

	Revision:  02df3d2  (735)
	Platform:  x86_64-pc-linux-musl

	Curses Pinentry ..: no
	TTY Pinentry .....: yes
	Emacs Pinentry ...: no
	GTK+-2 Pinentry ..: no
	GNOME 3 Pinentry .: no
	Qt Pinentry ......: no 
	TQt Pinentry .....: no
	W32 Pinentry .....: no
	FLTK Pinentry ....: no

	Fallback to Curses: no
	Emacs integration : yes

	libsecret ........: no

	Default Pinentry .: pinentry-tty

pinentry.log:

make -C "/home/user/heads/build/pinentry-1.1.0"  && make -C /home/user/heads/build/pinentry-1.1.0 DESTDIR=/home/user/heads/install install && cp /home/user/heads/build/pinentry-1.1.0/tty/pinentry-tty /home/user/heads/build/pinentry-1.1.0/tty/pinentry
make[1]: Entering directory '/home/user/heads/build/pinentry-1.1.0'
make  all-recursive
make[2]: Entering directory '/home/user/heads/build/pinentry-1.1.0'
Making all in m4
make[3]: Entering directory '/home/user/heads/build/pinentry-1.1.0/m4'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/user/heads/build/pinentry-1.1.0/m4'
Making all in secmem
make[3]: Entering directory '/home/user/heads/build/pinentry-1.1.0/secmem'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/user/heads/build/pinentry-1.1.0/secmem'
Making all in pinentry
make[3]: Entering directory '/home/user/heads/build/pinentry-1.1.0/pinentry'
/home/user/heads/crossgcc/bin/x86_64-linux-musl-gcc -fdebug-prefix-map=/home/user/heads=heads -gno-record-gcc-switches -D__MUSL__ -I/home/user/heads/install/include -L/home/user/heads/install/lib  -DHAVE_CONFIG_H -I. -I..  -I//include   -I../secmem -Wall  -g -O2 -Wall -Wno-pointer-sign -Wpointer-arith -MT pinentry.o -MD -MP -MF .deps/pinentry.Tpo -c -o pinentry.o pinentry.c
mv -f .deps/pinentry.Tpo .deps/pinentry.Po
/home/user/heads/crossgcc/bin/x86_64-linux-musl-gcc -fdebug-prefix-map=/home/user/heads=heads -gno-record-gcc-switches -D__MUSL__ -I/home/user/heads/install/include -L/home/user/heads/install/lib  -DHAVE_CONFIG_H -I. -I..  -I//include   -I../secmem -Wall  -g -O2 -Wall -Wno-pointer-sign -Wpointer-arith -MT pinentry-emacs.o -MD -MP -MF .deps/pinentry-emacs.Tpo -c -o pinentry-emacs.o pinentry-emacs.c
mv -f .deps/pinentry-emacs.Tpo .deps/pinentry-emacs.Po
rm -f libpinentry.a
ar cru libpinentry.a pinentry.o argparse.o password-cache.o pinentry-emacs.o 
ranlib libpinentry.a
make[3]: Leaving directory '/home/user/heads/build/pinentry-1.1.0/pinentry'
Making all in tty
make[3]: Entering directory '/home/user/heads/build/pinentry-1.1.0/tty'
/home/user/heads/crossgcc/bin/x86_64-linux-musl-gcc -fdebug-prefix-map=/home/user/heads=heads -gno-record-gcc-switches -D__MUSL__ -I/home/user/heads/install/include -L/home/user/heads/install/lib  -DHAVE_CONFIG_H -I. -I..  -I//include   -I../secmem -I../pinentry -Wall  -g -O2 -Wall -Wno-pointer-sign -Wpointer-arith -MT pinentry-tty.o -MD -MP -MF .deps/pinentry-tty.Tpo -c -o pinentry-tty.o pinentry-tty.c
mv -f .deps/pinentry-tty.Tpo .deps/pinentry-tty.Po
/home/user/heads/crossgcc/bin/x86_64-linux-musl-gcc -fdebug-prefix-map=/home/user/heads=heads -gno-record-gcc-switches -D__MUSL__ -I/home/user/heads/install/include -L/home/user/heads/install/lib   -g -O2 -Wall -Wno-pointer-sign -Wpointer-arith   -o pinentry-tty pinentry-tty.o ../pinentry/libpinentry.a ../secmem/libsecmem.a -L//lib -lassuan -lgpg-error -lgpg-error    
/home/user/heads/crossgcc/bin/../lib/gcc/x86_64-linux-musl/8.3.0/../../../../x86_64-linux-musl/bin/ld: skipping incompatible //lib/libgcc_s.so.1 when searching for libgcc_s.so.1
/home/user/heads/crossgcc/bin/../lib/gcc/x86_64-linux-musl/8.3.0/../../../../x86_64-linux-musl/bin/ld: skipping incompatible //lib/libgcc_s.so.1 when searching for libgcc_s.so.1
make[3]: Leaving directory '/home/user/heads/build/pinentry-1.1.0/tty'
Making all in doc
make[3]: Entering directory '/home/user/heads/build/pinentry-1.1.0/doc'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/user/heads/build/pinentry-1.1.0/doc'
make[3]: Entering directory '/home/user/heads/build/pinentry-1.1.0'
make[3]: Leaving directory '/home/user/heads/build/pinentry-1.1.0'
make[2]: Leaving directory '/home/user/heads/build/pinentry-1.1.0'
make[1]: Leaving directory '/home/user/heads/build/pinentry-1.1.0'
make[1]: Entering directory '/home/user/heads/build/pinentry-1.1.0'
Making install in m4
make[2]: Entering directory '/home/user/heads/build/pinentry-1.1.0/m4'
make[3]: Entering directory '/home/user/heads/build/pinentry-1.1.0/m4'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/user/heads/build/pinentry-1.1.0/m4'
make[2]: Leaving directory '/home/user/heads/build/pinentry-1.1.0/m4'
Making install in secmem
make[2]: Entering directory '/home/user/heads/build/pinentry-1.1.0/secmem'
make[3]: Entering directory '/home/user/heads/build/pinentry-1.1.0/secmem'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/user/heads/build/pinentry-1.1.0/secmem'
make[2]: Leaving directory '/home/user/heads/build/pinentry-1.1.0/secmem'
Making install in pinentry
make[2]: Entering directory '/home/user/heads/build/pinentry-1.1.0/pinentry'
make[3]: Entering directory '/home/user/heads/build/pinentry-1.1.0/pinentry'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/user/heads/build/pinentry-1.1.0/pinentry'
make[2]: Leaving directory '/home/user/heads/build/pinentry-1.1.0/pinentry'
Making install in tty
make[2]: Entering directory '/home/user/heads/build/pinentry-1.1.0/tty'
make[3]: Entering directory '/home/user/heads/build/pinentry-1.1.0/tty'
 /usr/bin/mkdir -p '/home/user/heads/install//bin'
  /usr/bin/install -c pinentry-tty '/home/user/heads/install//bin'
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/user/heads/build/pinentry-1.1.0/tty'
make[2]: Leaving directory '/home/user/heads/build/pinentry-1.1.0/tty'
Making install in doc
make[2]: Entering directory '/home/user/heads/build/pinentry-1.1.0/doc'
make[3]: Entering directory '/home/user/heads/build/pinentry-1.1.0/doc'
make[3]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/home/user/heads/install//share/info'
 /usr/bin/install -c -m 644 ./pinentry.info '/home/user/heads/install//share/info'
make[3]: Leaving directory '/home/user/heads/build/pinentry-1.1.0/doc'
make[2]: Leaving directory '/home/user/heads/build/pinentry-1.1.0/doc'
make[2]: Entering directory '/home/user/heads/build/pinentry-1.1.0'
make[3]: Entering directory '/home/user/heads/build/pinentry-1.1.0'
(cd /home/user/heads/install//bin; \
rm -f pinentry; \
ln -s pinentry-tty pinentry)
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/user/heads/build/pinentry-1.1.0'
make[2]: Leaving directory '/home/user/heads/build/pinentry-1.1.0'
make[1]: Leaving directory '/home/user/heads/build/pinentry-1.1.0'

@tlaurion
Copy link
Collaborator Author

tlaurion commented Jan 26, 2020

The functional result is the same:
Kernel still doesn't offer a TTY. (even though what was missing before was added in kernel configs... What changed?)
pinentry-tty still fails, leaving a dmesg dying trace.

WiP
WIP gpg tools compiled with host i386 like all other modules

@tlaurion
Copy link
Collaborator Author

tlaurion commented Jan 26, 2020

@flammit fixed busybox failure to return good tty under #663 by hardcoding GPG_TTY=/dev/console

@osresearch @citypw @MrChromebox
Does that break support of x1ssh (#601) and other server boards?
Please validate.

@tlaurion
Copy link
Collaborator Author

tlaurion commented Aug 1, 2020

Doesnt seem to have broken anything (fix was to set tty in init)

@tlaurion tlaurion closed this as completed Aug 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants