- 21 Apr, 2004 1 commit
-
-
Werner Koch authored
-
- 20 Apr, 2004 4 commits
-
-
Werner Koch authored
typedefs and protos. (secmem_free, secmem_term): Use wipememory2 instead of memset.
-
Werner Koch authored
-
Werner Koch authored
-
Werner Koch authored
* assuan-inquire.c, assuan-connect.c, assuan-client.c * assuan-socket-server.c, assuan-pipe-connect.c * assuan-socket-connect.c: Removed. * assuan-handler.c (assuan_get_data_fp): Removed.
-
- 19 Apr, 2004 1 commit
-
-
Marcus Brinkmann authored
* autogen.sh: Added ACLOCAL_FLAGS.
-
- 23 Feb, 2004 1 commit
-
-
Marcus Brinkmann authored
* qt/main.cpp: Include "pinentry.h", not <pinentry.h>.
-
- 27 Jan, 2004 1 commit
-
-
Moritz Schulte authored
* gtk/gtksecentry.c: (gtk_secure_entry_key_press): Treat GDK_KP_Enter just like GDK_Return.
-
- 18 Jan, 2004 1 commit
-
-
Marcus Brinkmann authored
* qt/secqstring.cpp: Do not include "private/qunicodetables_p.h". (isRightToLeft): De-optimize direction query. * qt/secqinternal_p.h, qt/secqinternal.cpp: New files. * qt/Makefile.am (pinentry_qt_SOURCES): Add secqinternal_p.h and secqinternal.cpp. (EXTRA_DIST): Add README.SecQ. * qt/secqlineedit.cpp: Include "secqinternal_p.h". (drawContents): Use SecQSharedDoubleBuffer.
-
- 02 Jan, 2004 1 commit
-
-
Werner Koch authored
-
- 23 Dec, 2003 3 commits
-
-
Werner Koch authored
-
Werner Koch authored
-
Werner Koch authored
-
- 22 Dec, 2003 6 commits
-
-
Werner Koch authored
(main): Translate the --display option to -display, so that the Qt init codes can grasp it. * pinentry/pinentry.c: Added comment.
-
Werner Koch authored
* doc/pinentry.texi: Cleaned up. * doc/fdl.texi: Removed. * pinentry/pinentry.c (pinentry_parse_opts): Make short options work. (pinentry_utf8_to_local): Pass nl_langinfo to iconv_open.
-
Werner Koch authored
-
Werner Koch authored
-
Werner Koch authored
* pinentry/pinentry.h (struct pinentry): Added LOCALE_ERR. * gtk/pinentry-gtk.c (button_clicked): Set the LOCAE_ERR flag. * pinentry/pinentry-curses.c (dialog_run): Ditto. * pinentry/pinentry.c (cmd_getpin, cms_confirm): Check this flag. (pinentry_local_to_utf8): Release the correct buffer in the error case. Print diagnostics. (pinentry_utf8_to_local): Print diagnostics. * gtk/pinentry-gtk.c (button_clicked): Use the right value as input for the conversion.
-
Werner Koch authored
(pinentry_init): Add arg PGMNAME and store it. Use it at all marked placed instead of the constant "pinentry". (usage): Use it here too. * curses/pinentry-curses.c (main): Call pinentry_init wity our name. * qt/main.cpp (main): Ditto. * gtk/pinentry-gtk.c (main): Ditto. * configure.ac: Check for mmap. * secmem/util.h (wipememory2,wipememory,wipe): New. * secmem/util.c (wipe): Removed. * secmem/util.c (lower_privs, raise_privs): Commented out. * pinentry/pinentry.c (pinentry_loop): Add paranoia check for dropped privs. * secmem/secmem.c (lock_pool): Cleanup syntax of cpp directives. * gtk/pinentry-gtk.c (main): Print package name in the version line. * curses/pinentry-curses.c (main): Ditto. * qt/main.cpp (main): Ditto. Fixed typo. * gtk/pinentry-gtk.c: Include memory.h.
-
- 19 Dec, 2003 1 commit
-
-
Marcus Brinkmann authored
* pinentry/pinentry.h (struct pinentry): New member PARENT_WID. * pinentry/pinentry.c (pinentry): Add new member here. (usage): Add --parent-wid. (pinentry_parse_opts): Add case for "parent-wid". (option_handler): Same here. 2003-12-19 Marcus Brinkmann <marcus@g10code.de> * pinentry/pinentry.c (cmd_setcancel): Use strcpy_escaped. (cmd_setok): Likewise. (cmd_setprompt): Likewise. (pinentry_utf8_to_local): Don't use nl_langinfo, but just lc_ctype directly. * pinentry/pinentry.c (cmd_getpin): Do not convert passphrase to UTF-8 here. * gtk/pinentry-gtk.c (button_clicked): Convert passphrase to UTF8 here. * pinentry/pinentry-curses.c (dialog_run): Likewise. 2003-12-14 Marcus Brinkmann <marcus@g10code.de> * pinentry/pinentry.c (pinentry_init): Register secmem_term as atexit function. Set assuan malloc hooks to secmem. (pinentry_parse_opts): Add break statement to silence gcc warning. * pinentry/pinentry.c (cmd_getpin): If canceled, release and clear PINENTRY->pin nevertheless. * acinclude.m4 (qt_incdirs): Add /usr/include/qt3. * qt/Makefile.am (pinentry_qt_SOURCES): Remove cppmemory.h, cppmemory.cpp, pinentrycontroller.h, pinentrycontroller.cpp. (nodist_pinentry_qt_SOURCES): Remove pinentrycontroller.moc.cpp. (libcurses): Move ../pinentry/libpinentry.a from here to ... (pinentry_qt_LDADD): ... here. Change order a bit to make it work. * qt/cppmemory.h, qt/cppmemory.cpp, qt/pinentrycontroller.h, qt/pinentrycontroller.cpp: Files removed. * qt/secqstring.h, qt/secqstring.cpp, secqlineedit.h, secqlineedit.cpp: New files. * qt/Makefile.am (pinentry_qt_SOURCES): Add secqstring.h, secqstring.cpp, secqlineedit.h, and secqlineedit.cpp. (nodist_pinentry_qt_SOURCES): Add secqlineedit.moc.cpp. * qt/main.cpp: Do not include "memory.h" or "secmem-util.h", nor <new> or "pinentrycontroller.h". Include <qapplication.h>, <qmessagebox.h>, <qwidget.h> and "secqstring.h". Always include <pinentry.h>. [USE_KDE]: Remove all instances. (curses_main): Function removed. (my_new_handler): Likewise. (qt_main): Likewise. (qt_cmd_handler): New function. (pinentry_cmd_handler): Define always (to qt_cmd_handler). (main): Rewritten. * qt/pinentrydialog.cpp: Do not include <qlineedit.h>, but "secqlineedit.h". (PinEntryDialog::PinEntryDialog): Make _edit a SecQLineEdit object. Connect accepted SIGNAL to accept SLOT, and rejected SIGNAL to reject SLOT. (PinEntryDialog::setText): Make argument SecQString rather than QString. (PinEntryDialog::text): Likewise for return value. * qt/pinentrydialog.h: Declare SecQString and SecQLineEdit classes. (class PinEntryDialog): Disable property text (for now). Adjust argument of setText and return value of text, as well as type of _edit.
-
- 16 Dec, 2003 1 commit
-
-
Werner Koch authored
-
- 09 Dec, 2003 4 commits
-
-
Werner Koch authored
-
Werner Koch authored
* Makefile.am (EXTRA_DIST): Add README.CVS (ACLOCAL_AMFLAGS): New.
-
Werner Koch authored
-
Werner Koch authored
* autogen.sh: Revamped.
-
- 22 Apr, 2003 2 commits
-
-
Steffen Hansen authored
-
Steffen Hansen authored
-
- 26 Mar, 2003 1 commit
-
-
Steffen Hansen authored
save locked memory by only overriding array allocation operators -- that should be enough, since QString only uses new[] for allocating string data
-
- 15 Feb, 2003 1 commit
-
-
Steffen Hansen authored
-
- 07 Feb, 2003 2 commits
-
-
Marcus Brinkmann authored
-
Marcus Brinkmann authored
Released 0.6.8.
-
- 04 Feb, 2003 1 commit
-
-
Steffen Hansen authored
-
- 24 Jan, 2003 1 commit
-
-
Werner Koch authored
-
- 21 Jan, 2003 1 commit
-
-
Steffen Hansen authored
-
- 24 Dec, 2002 2 commits
-
-
Marcus Brinkmann authored
-
Marcus Brinkmann authored
* pinentry/pinentry-curses.c (collect_line): New function. (COPY_OUT, MAKE_BUTTON): New macros. (dialog_create): Rewrite the initializing code and the description calculation routine with word wrapping.
-
- 20 Nov, 2002 2 commits
-
-
Werner Koch authored
-
Werner Koch authored
lines than to go into an infinite loop. We need to implement word wrap. (dialog_run): Add DIALOG_POS_NONE to switch so prevent a warning.
-
- 12 Nov, 2002 1 commit
-
-
Werner Koch authored
to version 2002-11-08.
-
- 09 Nov, 2002 1 commit
-
-
Werner Koch authored
-