1. 04 Jan, 2016 4 commits
  2. 07 Dec, 2015 1 commit
  3. 01 Dec, 2015 2 commits
  4. 27 Nov, 2015 1 commit
  5. 18 Nov, 2015 1 commit
  6. 28 Oct, 2015 1 commit
  7. 22 Oct, 2015 1 commit
    • Dirk Mueller's avatar
      Qt: Do not use temporary reference to utf8 pin · f143d216
      Dirk Mueller authored
      * qt/main.cpp (qt_cmd_handler): Keep utf8 pin byte array.
      
      --
      The pin pointer was invalid after the UTF8 conversion
      as the converted byte array only was temporary in that
      call and the data pointer becomes invalid after it's
      destruction.
      
      Commit message amended by Andre Heinecke. The original
      commit message was:
      
      const char* does not keep the temporary string returned
      from toUtf8() active, since it doesn't keep the reference counter
      set. So you usually just copy out garbage instead of the
      pin that was entered. Just keep the QByteArray which keeps
      the reference active.
      
      GnuPG-bug-id: 2133
      f143d216
  8. 20 Oct, 2015 1 commit
  9. 05 Oct, 2015 1 commit
  10. 02 Oct, 2015 5 commits
  11. 25 Sep, 2015 1 commit
  12. 16 Sep, 2015 1 commit
    • Werner Koch's avatar
      Add option "invisible-char". · 9cc13bbd
      Werner Koch authored
      
      
      * pinentry/pinentry.h (struct pinentry): Add field invisible_char.
      * pinentry/pinentry.c (pinentry_reset): Restore that.
      (option_handler): Add option "invisible-char".
      * gtk+-2/pinentry-gtk-2.c (create_window): Set the invisible char if
      given.
      --
      
      The default GTK+ invisible character is pretty wide so that only ~16
      characters show up in the smalles pinentry.  This is a bit annoying if
      the passphrase is a longer due to the missing visual feedback.  By
      using #x2022 ("•") this allows for ~23 characters and a plain "*" even
      3 more characters.  Tastes are different so we allow to change that
      character at runtime.
      
      Signed-off-by: default avatarWerner Koch <wk@gnupg.org>
      9cc13bbd
  13. 14 Sep, 2015 2 commits
  14. 11 Sep, 2015 3 commits
  15. 10 Sep, 2015 2 commits
  16. 24 Aug, 2015 2 commits
  17. 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
  18. 11 Aug, 2015 3 commits
  19. 05 Aug, 2015 1 commit
  20. 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