1. 11 Sep, 2015 1 commit
  2. 10 Sep, 2015 1 commit
  3. 24 Aug, 2015 2 commits
  4. 18 Aug, 2015 4 commits
    • Andre Heinecke's avatar
      Clarify comment about fds in pinentry_loop2 · 13e09800
      Andre Heinecke authored
      * pinentry/pinentry.h (pinetry_loop2): Clarify comment.
      13e09800
    • Andre Heinecke's avatar
      Qt: Make it possible to build qt5 variant static · 11886c53
      Andre Heinecke authored
      * qt/main.cpp: Import static platform plugins when necessary.
      
      --
      As pkg-config does not expose all libraries needed to link
      qt5 statically with this patch it is possible to get a
      static build by setting the LIBS variable correctly.
      11886c53
    • Andre Heinecke's avatar
      Respect SYSROOT variable when looking for assuan · 8d73d2a5
      Andre Heinecke authored
      * m4/libassuan.m4: Respect SYSROOT Variable.
      
      --
      This change makes the libassuan lookup work similar
      to the libgpg-error lookup simplifying cross-compiling
      a bit.
      8d73d2a5
    • Andre Heinecke's avatar
      Fix pinentry for Windows · 78afb80e
      Andre Heinecke authored
      * pinentry/pinentry.c (pinentry_loop2): Use assuan_fdopen for pipe fds.
      * pinentry/pinentry.h (pinentry_loop2): Mention this in the comment.
      
      --
      For Windows calling assuan_fdopen is neccessary as this does
      some internal platform specific stuff (get_osfilehandle).
      
      This issue was introduced by using the real libassuan instead
      of the built in variant.
      78afb80e
  5. 11 Aug, 2015 2 commits
  6. 28 Jul, 2015 3 commits
    • Andre Heinecke's avatar
      Qt4: Rename to pinentry-qt and add Qt5 Support · abb59f50
      Andre Heinecke authored
      * qt4: Moved to qt.
      * Makefile.am: Change qt4 suffix to qt.
      * m4/qt.m4: Remove old qt lookup functions.
        (FIND_QT): New. Use pkg-config to find either Qt5 or Qt4
      * configure.ac: Change qt4 suffix to qt. Use new FIND_QT function.
      * qt/Makefile.am: Change qt4 suffix to qt. Use new FLAGS / LIBS.
      * qt/pinentrydialog.cpp, qt/qrc_pinentry.cpp: Fix whitespace.
      * .gitignore: Change qt4 paths to qt.
      * README: Update accordingly.
      * autogen.rc: Change qt4 to qt.
      * qt/main.cpp (qt_cmd_handler, main): Change qt4 to qt.
      --
      
      Now if Qt5 is found with pkg-config Qt5 is used. Qt4 is still
      supported as a fallback in case Qt5 is not found.
      
      GnuPG-bug-id: 1806
      abb59f50
    • Neal H. Walfield's avatar
      doc: Describe the frontends and their security implications. · 43f975bf
      Neal H. Walfield authored
      * doc/pinentry.texi: Describe the frontends and their security
      implications.
      
      GnuPG-bug-id: 2034
      43f975bf
    • Andre Heinecke's avatar
      qt4: Replace the custom, secure entry widget with the standard widget. · a4694dcd
      Andre Heinecke authored
      * configure.ac: Remove enable-pinentry-qt4-clipboard option.
      * qt4/qsecurelineedit.cpp, qt4/qsecurelineedit.h,
        qt4/qsecurelineedit_p.h, qt4/secstring.cpp,
        qt4/secstring.h: Removed.
      * qt4/Makefile.am: Update accordingly.
      * qt4/main.cpp (qt_cmd_handler): Use QString instead of secqstring.
      * qt4/pinentrydialog.cpp (PinentryDialog::PinentryDialog),
        (PinEntryDialog::error, PinEntryDialog::pin),
        (PinEntryDialog::updateQuality): Use QLineEdit and QString
        instead of secmem variants.
      * qt4/pinentrydialog.cpp (PinentryDialog::PinentryDialog):
        Set echo mode to password.
      * qt4/pinentrydialog.h: Update accordingly.
      a4694dcd
  7. 26 Jul, 2015 7 commits
  8. 02 Jul, 2015 1 commit
  9. 01 Jul, 2015 4 commits
  10. 24 Jun, 2015 1 commit
  11. 23 Jun, 2015 2 commits
  12. 17 Jun, 2015 1 commit
    • Daiki Ueno's avatar
      Add inside-Emacs mode to GUI pinentry programs · 3ef5d078
      Daiki Ueno authored
      * configure.ac: Add --enable-pinentry-emacs and
      --enable-inside-emacs option.
      (BUILD_LIBPINENTRY_EMACS): New conditional.
      (BUILD_PINENTRY_EMACS): New conditional.
      (INSIDE_EMACS): New conditional.
      * Makefile.am (pinentry_emacs): New.
      (SUBDIRS): Add "emacs" subdir if PINENTRY_EMACS is set.
      
      * pinentry/pinentry-emacs.h: New file.
      * pinentry/pinentry-emacs.c: New file.
      * pinentry/Makefile.am: New file.
      * pinentry/pinentry.c (option_handler): Handle the allow-emacs-prompt
      Assuan option.
      
      * emacs/pinentry-emacs.c: New file.
      * emacs/Makefile.am: New file.
      3ef5d078
  13. 16 Jun, 2015 5 commits
    • Neal H. Walfield's avatar
      If we fail to initialize gtk, fallback to the curses frontend. · 34f3cdbf
      Neal H. Walfield authored
      * gnome3/pinentry-gnome3.c (main): Use gtk_init_check instead of
      gtk_init.  If it fails, fallback to the curses frontend.
      34f3cdbf
    • Neal H. Walfield's avatar
      Fix comment for pinentry_cmd_handler_t. · 34539f97
      Neal H. Walfield authored
      * pinentry/pinentry.h (pinentry_cmd_handler_t): Fix comment.
      34539f97
    • Neal H. Walfield's avatar
      Describe default-prompt in the implementation section of the manual. · 56fe7ef4
      Neal H. Walfield authored
      * doc/pinentry.texi (Implementation Details): Describe default-prompt.
      56fe7ef4
    • Neal H. Walfield's avatar
      Remove internal mini-libassuan implementation and link to libassuan. · 302903f7
      Neal H. Walfield authored
      * assuan/ChangeLog-old: Remove file.
      * assuan/Makefile.am: Remove file.
      * assuan/README.1st: Remove file.
      * assuan/assuan-buffer.c: Remove file.
      * assuan/assuan-defs.h: Remove file.
      * assuan/assuan-handler.c: Remove file.
      * assuan/assuan-listen.c: Remove file.
      * assuan/assuan-pipe-server.c: Remove file.
      * assuan/assuan-util.c: Remove file.
      * assuan/assuan.h: Remove file.
      * assuan/mkerrors: Remove file.
      
      * configure.ac: Check for libgpg-error and libassuan.
      (COMMON_CFLAGS): Add $GPG_ERROR_CFLAGS and $LIBASSUAN_CFLAGS.
      (COMMAND_LIBS): Add $GPG_ERROR_LIBS and $LIBASSUAN_LIBS.
      (GPG_ERR_ENABLE_GETTEXT_MACROS): Define this macro.
      (GPG_ERR_ENABLE_ERRNO_MACROS): Likewise.
      (GNUPG_LIBASSUAN_VERSION): Likewise.
      (AC_CONFIG_FILES): Don't generate assuan/Makefile.
      (config.h): Define GPG_ERR_SOURCE_DEFAULT.
      * Makefile.am (SUBDIRS): Remove assuan.
      * curses/Makefile.am (LDADD): Remove ../assuan/libassuan.a.
      * gnome3/Makefile.am (AM_CPPFLAGS): Remove -I$(...
      302903f7
    • Andre Heinecke's avatar
      Qt4: Fix GCC compile warnings · 5026d0b9
      Andre Heinecke authored
      * qt4/qsecurelineedit.cpp (QSecureLineEdit::sizeHint),
      (QSecureLineEdit::minimumSizeHint): Remove unused Q_D macros.
      (QSecureLineEdit::setCursorPosition, QSecureLineEditPrivate::setText),
      (QSecureLineEditPrivate::hasAcceptableInput): Explicitly cast length to int.
      (QSecureLineEditPrivate::maskString): Use unsigned type for strIndex.
      (QSecureLineEditPrivate::maskString): Remove uneccesary casts.
      * qt4/secstring.cpp (toUtf8): Remove unused variable.
      5026d0b9
  14. 07 Jun, 2015 1 commit
  15. 05 Jun, 2015 4 commits
  16. 04 Jun, 2015 1 commit