From 66ade864416bfc6605841341971d29648319207c Mon Sep 17 00:00:00 2001 From: SargoDevel Date: Sun, 28 Jan 2018 18:50:08 +0100 Subject: [PATCH] Added pinentry-qt5 support --- tomb | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/tomb b/tomb index 232ec1f..85686f5 100755 --- a/tomb +++ b/tomb @@ -377,7 +377,7 @@ ask_password() { # Distributions have broken wrappers for pinentry: they do # implement fallback, but they disrupt the output somehow. We are # better off relying on less intermediaries, so we implement our - # own fallback mechanisms. Pinentry supported: curses, gtk-2, qt4 + # own fallback mechanisms. Pinentry supported: curses, gtk-2, qt4, qt5 # and x11. # make sure LANG is set, default to C @@ -429,6 +429,19 @@ GETPIN EOF` [[ "$gtkrc" = "" ]] || export GTK2_RC_FILES="$gtkrc_old" + # TODO QT5 customization of dialog + elif _is_found "pinentry-qt5"; then + _verbose "using pinentry-qt5" + + output=`cat <