1. 13 May, 2015 10 commits
  2. 11 May, 2015 6 commits
  3. 07 May, 2015 6 commits
    • Neal H. Walfield's avatar
      Don't use asprintf. · 1a8af55b
      Neal H. Walfield authored
      * pinentry/password-cache.c (keygrip_to_label): Don't use asprintf.
      1a8af55b
    • Neal H. Walfield's avatar
      Improve documentation. · 09203147
      Neal H. Walfield authored
      * doc/pinentry.texi: Improve description of SETKEYINFO's format.
      09203147
    • Neal H. Walfield's avatar
      Minor documentation cleanups. · 3a8daef8
      Neal H. Walfield authored
      3a8daef8
    • Neal H. Walfield's avatar
      Add support for saving the passphrase with libsecret. · c6eaa7bf
      Neal H. Walfield authored
      * configure.ac (COMMON_CFLAGS): New variable.  AC_SUBST it.
      (COMMON_LIBS): Likewise.  AC_SUBST it.
      (LIBSECRET_CFLAGS): Likewise.
      (LIBSECRET_LIBS): Likewise.
      (--enable-libsecret): Add option to enable support for libsecret.  If
      enabled, check for its presense.
      * pinentry/password-cache.h: New field.
      * pinentry/password-cache.c: New field.
      * pinentry/pinentry.h (struct pinentry): Add fields pin_from_cache,
      allow_external_password_cache, tried_password_cache, keyinfo, and
      may_cache_password.
      * pinentry/pinentry.c: Include "password-cache.h".
      (pinentry): Initialize new fields.
      (option_handler): Handle the "allow-external-password-cache" option.
      (cmd_setkeyinfo): Implement it.
      (cmd_getpin): Read the password from the cache, if appropriate.  Save
      it to the cache, if appropriate.
      * pinentry/Makefile.am (AM_CPPFLAGS): Add $(COMMON_CFLAGS).
      (LDADD): Add $(COMMON_LIBS).
      (libpinentry_a_SOURCES): Add password-cache.h
      password-cache.c.
      * gtk+-2/pinentry-gtk-2.c (may_save_passphrase_toggled): New function.
      (create_window): Take additional parameter, the pinentry's context.
      Update callers.
      [HAVE_LIBSECRET]: Show a checkbox asking whether the passphrase should
      be saved.
      * gtk+-2/Makefile.am (AM_CPPFLAGS): Add $(COMMON_CFLAGS).
      (LDADD): Add $(COMMON_LIBS).
      * curses/Makefile.am (AM_CPPFLAGS): Add $(COMMON_CFLAGS).
      (LDADD): Add $(COMMON_LIBS).
      * tty/Makefile.am (AM_CPPFLAGS): Add $(COMMON_CFLAGS).
      (LDADD): Add $(COMMON_LIBS).
      * doc/pinentry.texi (Protocol): Update documentation.  Describe the
      protocol and provide some justification.
      c6eaa7bf
    • Werner Koch's avatar
      w32: Do not build gtk pinentry by default. · aa98f25d
      Werner Koch authored
      * autogen.rc: Remove obsolete options.
      aa98f25d
    • Neal H. Walfield's avatar
      Align secmem_realloc behavior with realloc's. · aaec7c7c
      Neal H. Walfield authored
      * secmem/secmem.c (secmem_realloc): If passed a NULL pointer, then
      call secmem_malloc instead of crashing.
      aaec7c7c
  4. 05 May, 2015 3 commits
    • Werner Koch's avatar
      w32: Minor changes to the dialog. · cbecc6d3
      Werner Koch authored
      * w32/main.c (set_bitmap): New.
      (dlg_proc): Show error prompt in red.
      * w32/pinentry-w32.rc: Add icons and chnage dialog.
      * w32/logo-128.bmp: New.
      * w32/logo-32.bmp: New.
      * w32/logo-48.bmp: New.
      * w32/logo-64.bmp: New.
      * w32/logo-96.bmp: New.
      
      --
      
      The logos need some manual tweaking.  Due to the scaling a gradient is
      used for the circle and Windows shows white ugly white spots.  This
      can be avoided by using a a palette with less colors but I found no
      easy way to do that in gimp.  When using less than 256 index the
      transparency feature does not work correctly.
      cbecc6d3
    • Werner Koch's avatar
      Remove the Manifest files · da9ec719
      Werner Koch authored
      --
      
      These files are not in use for more than a decade.  Their indented
      purpose was to sign source files.  With GIT we have a way better
      system to detect tampering of the source.
      da9ec719
    • Werner Koch's avatar
      pinentry-tty: Fix problem with zero length prompt. · a616bd9d
      Werner Koch authored
      * tty/pinentry-tty.c (read_password): Use default prompt also for an
      empty prompt argument.
      --
      
      strlen(prompt)-1 is used thus we need to make sure that
      the length is > 0.
      a616bd9d
  5. 01 May, 2015 8 commits
  6. 20 Apr, 2015 3 commits
  7. 16 Apr, 2015 1 commit
    • Yuri D'Elia's avatar
      gtk: Make Escape key work. · 9d2d8b6b
      Yuri D'Elia authored
      * gtk+-2/pinentry-gtk-2.c: Include gdk/gdkkeysyms.h.
      (enter_callback): Pass confirm_value_t to button_clicked.
      (confirm_button_clicked): Use confirm_value_t cast.
      (cancel_callback): New.
      (create_window): Add accelerator for the Escape key.
      --
      
      GnuPG-bug-id: 1453
      
      Original patch slighty modified by wk.
      9d2d8b6b
  8. 14 Apr, 2015 1 commit
  9. 13 Apr, 2015 2 commits