- 01 Jun, 2015 1 commit
-
-
Werner Koch authored
-
- 31 May, 2015 1 commit
-
-
Stanislav Ochotnicky authored
This is probably just a workaround. Proper fix is being investigated. See: https://bugzilla.redhat.com/show_bug.cgi?id=589532 http://stackoverflow.com/questions/2788518/calling-activatewindow-on-qdia -- GnuPG-bug-id: 1981
-
- 20 May, 2015 5 commits
-
-
Werner Koch authored
* m4/pkg.m4: Print the moule name not the variable name. -- We now show checking for ncursesw... no checking for ncurses... yes instead of checking for ncurses... no checking for ncurses... yes
-
Werner Koch authored
-- qt/ was the QT3 version.
-
Werner Koch authored
--
-
Werner Koch authored
--
-
Werner Koch authored
* pinentry/password-cache.c (password_cache_clear): s/debug/g_debug/. * pinentry/pinentry-curses.c (dialog_input): Actually bail out. (dialog_run) [!HAVE_NCURSESW]: Define alt.
-
- 19 May, 2015 3 commits
-
-
Neal H. Walfield authored
* gtk+-2/pinentry-gtk-2.c (create_window): Make sure the check button to save the passphrase externally is not checked by default.
-
Neal H. Walfield authored
* pinentry/password-cache.c (password_cache_clear): New function. * pinentry/password-cache.h (password_cache_clear): New declaration. * pinentry/pinentry.c (cmd_getinfo): New function. (register_commands): Have the Assuan command "CLEARPASSPHRASE" call it.
-
Neal H. Walfield authored
* pinentry/pinentry.c (cmd_getpin): If PINENTRY.ERROR is not NULL, don't read the password from the cache.
-
- 18 May, 2015 5 commits
-
-
Neal H. Walfield authored
* pinentry/pinentry-curses.c (MAKE_BUTTON): When creating the button text, respect underscores.
-
Neal H. Walfield authored
* pinentry/pinentry-curses.c (dialog_input): Make control-l repaint the screen.
-
Neal H. Walfield authored
* pinentry/pinentry-curses.c (dialog_input): Add control-h an alias for backspace.
-
Neal H. Walfield authored
* m4/curses.m4: When checking for ncurses, first try using PKG_CHECK_MODULES. -- Patch-By: Alon Bar-Lev
-
Neal H. Walfield authored
-
- 16 May, 2015 14 commits
-
-
Neal H. Walfield authored
* gtk+-2/pinentry-gtk-2.c (main): Use gtk_init_check instead of gtk_init. If gtk_init_check fails, fallback to the curses backend. -- Reported-by: Daniel Kahn Gillmorr <dkg@fifthhorseman.net>. Closes issue #1982.
-
Neal H. Walfield authored
* pinentry/pinentry-curses.c (dialog_input): Take additional argument, alt. Update callers. If passed control-u, erase the whole line. If passed alt-backspace or control-w, erase any white space the the previous word. (dialog_run): Detect when alt is pressed.
-
Neal H. Walfield authored
* secmem/secmem.c (secmem_malloc): In case wipememory2 gets optimized away in secmem_free, clear the buffer before returning it.
-
Neal H. Walfield authored
* pinentry/pinentry-curses.c (dialog_run): NUL terminate the pin entry buffer.
-
Neal H. Walfield authored
* pinentry/pinentry-curses.c (dialog_input): Make sure the pin entry buffer is large enough.
-
Neal H. Walfield authored
* pinentry/pinentry-curses.c (struct dialog): Remove field pin. Add field pinentry. (dialog_create): Don't set DIALOG->PIN to PINENTRY->PIN. Set DIALOG->PINENTRY to PINENTRY and access PIN via DIALOG->PINENTRY->PIN. Update other users.
-
Neal H. Walfield authored
* gtk+-2/pinentry-gtk-2.c (timeout_source): New variable. (timeout_cb): Set it to 0. (create_window): When setting up the timeout, save the source identifier in TIMEOUT_SOURCE. (gtk_cmd_handler): If TIMEOUT_SOURCE is not 0, remove the timeout. -- Reported-by:Daniel Kahn Gillmorr <dkg@fifthhorseman.net>.>
-
Neal H. Walfield authored
* pinentry/pinentry-curses.c (dialog_run) [! HAVE_DOSISH_SYSTEM]: If an error occurs while reading input, cancel the operation. Patch-by: Julien Cristau and Daniel Kahn Gillmor.
-
Neal H. Walfield authored
* tty/pinentry-tty.c (confirm): When creating the ok button, pinentry->ok takes precedence over pinentry->default-ok. Likewise for pinentry->cancel and pinentry->default_cancel.
-
Neal H. Walfield authored
* pinentry/pinentry.c (pinentry): Don't use a static initializer. (pinentry_reset): Initialize PINENTRY here. (pinentry_parse_opts): Call pinentry_reset here. (pinentry_assuan_reset_handler): New function. (pinentry_loop2): Register it as the assuan reset handler.
-
Neal H. Walfield authored
* pinentry/pinentry.c (lc_ctype_unknown_warning): New variable. (pinentry_utf8_to_local): Only emit the LC_CTYPE warning if lc_ctype_unknown_warning is not set. After emitted such a warning, set lc_ctype_unknown_warning. (pinentry_local_to_utf8): Likewise.
-
Neal H. Walfield authored
* pinentry/pinentry-curses.c (default_notok): New macro. (MAKE_BUTTON): Also check if default variant is set.
-
Neal H. Walfield authored
* pinentry/pinentry-curses.c (dialog_create): Don't show the notok button in pin entry mode.
-
Daniel Kahn Gillmor authored
* pinentry/pinentry-curses.c [HAVE_NCURSESW]: Include <ncursesw/curses.h>. [! HAVE_NCURSESW]: Only include <curses.h> in this case. -- When built with libncursesw, we see this problem: pinentry-curses.c:440:8: warning: implicit declaration of function ‘addnwstr’ [-Wimplicit-function-declaration] ADDCH (start[i]); ^
-
- 13 May, 2015 8 commits
-
-
Neal H. Walfield authored
* tty/pinentry-tty.c: Include "memory.h". (read_password): Break into two functions: read_password and password. (read_password): Just read the password from the terminal and return it in secure memory (or NULL if the user canceled the entry or there was an error). (password): Improve output. Handle the repeat passphrase case (i.e., when pinentry->repeat_passphrase is set). * tty/Makefile.am (AM_CPPFLAGS): Add "-I$(top_srcdir)/secmem".
-
Neal H. Walfield authored
* pinentry/pinentry.c (pinentry_setbuffer_use): New function. * pinentry/pinentry.h (pinentry_setbuffer_use): New declaration.
-
Neal H. Walfield authored
* tty/pinentry-tty.c (tty_cmd_handler): Always call do_touch_file.
-
Neal H. Walfield authored
* tty/pinentry-tty.c: Include <ctype.h>. (UNDERLINE_START): Define. (ALERT_START): Define. (NORMAL_RESTORE): Define. (button): New function. (confirm): Rewrite to include all confirmation mode functionality. (tty_cmd_handler): Don't include any confirmation mode functionality. Just call confirm.
-
Neal H. Walfield authored
* curses/Makefile.am (LDADD): Add $(COMMON_LIBS) after all of the local objects and object archives. * gnome3/Makefile.am (LDADD): Likewise. * gtk+-2/Makefile.am (LDADD): Likewise. * qt4/Makefile.am (pinentry_qt4_LDADD): Likewise. * tty/Makefile.am (LDADD): Likewise. Reported-by:
Daniel Kahn Gillmor <dkg@fifthhorseman.net> -
Neal H. Walfield authored
* pinentry/pinentry.c (cmd_getpin): Don't interpret the return value as the passphrase length. Use strlen instead.
-
Neal H. Walfield authored
* pinentry/pinentry.c: Include <assert.h>. (pinentry): Set pin_len to 0. (pinentry_setbufferlen): If len is less than 2048, set it to 2048. Add an assertion. (pinentry_setbuffer_clear): New function that releases the pin buffer. (pinentry_setbuffer_init): New function that initializes the pin buffer. (cmd_getpin): Use pinentry_setbuffer_init and pinentry_setbuffer_clear instead of manual memory management. (cmd_confirm): Use pinentry_setbuffer_clear instead of manual memory management.
-
Neal H. Walfield authored
* pinentry/pinentry.h (struct pinentry): Better document the various fields.
-
- 12 May, 2015 3 commits
-
-
Neal H. Walfield authored
* doc/pinentry.texi: Fix some details.
-
Neal H. Walfield authored
* configure.ac (--enable-pinentry-gnome3): Option to enable the GNOME3 pinentry. (pinentry_gnome_3): Set to yes if enabled and gcr-3 and gcr-base-3 gcr is available. (GNOME3CFLAGS): Define and AC_SUBST. (GNOME3LIBS): Define and AC_SUBST. (GCR_API_SUBJECT_TO_CHANGE): Define. (BUILD_PINENTRY_GNOME_3): Define. * Makefile.am (pinentry_gnome_3): Define. (SUBDIRS): Add ${pinentry_gnome_3}. * gnome3/Makefile.am: New file. * gnome3/pinentry-gnome3.c: New file. -
Neal H. Walfield authored
* doc/pinentry.texi: Add new chapter describing some implementation details.
-