poldi.git
14 years ago2004-11-29 Moritz Schulte <moritz@g10code.com> release-0.2
Moritz Schulte [Mon, 29 Nov 2004 18:41:53 +0000 (18:41 +0000)]
2004-11-29  Moritz Schulte  <moritz@g10code.com>

* THANKS: New file.
* configure.ac: Bumped version number up to 0.2; released.

14 years ago2004-11-29 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Mon, 29 Nov 2004 18:39:34 +0000 (18:39 +0000)]
2004-11-29  Moritz Schulte  <moritz@g10code.com>

* poldi-ctrl.c: Fix contact address.

14 years ago2004-11-27 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Sat, 27 Nov 2004 11:48:55 +0000 (11:48 +0000)]
2004-11-27  Moritz Schulte  <moritz@g10code.com>

* configure.ac: Bumped version up to 0.2-cvs2.

14 years ago2004-11-27 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Sat, 27 Nov 2004 11:48:42 +0000 (11:48 +0000)]
2004-11-27  Moritz Schulte  <moritz@g10code.com>

* poldi-ctrl.c (cmd_test): Adjust card_init caller.
(cmd_dump): Likewise.
(cmd_set_key): Likewise.
Implement require-card-switch option.
(cmd_test): Do not require that the uid of the current process is
equal to the one of the user to test authentication for.

14 years ago2004-11-27 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Sat, 27 Nov 2004 11:48:29 +0000 (11:48 +0000)]
2004-11-27  Moritz Schulte  <moritz@g10code.com>

* pam_poldi.c (wait_for_card): Adjust card_init caller.
Implement require_card_switch option.

14 years ago2004-11-27 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Sat, 27 Nov 2004 11:46:02 +0000 (11:46 +0000)]
2004-11-27  Moritz Schulte  <moritz@g10code.com>

* options.c (options_parse_conf): Do not fail if file does not
exist.

* card.c (wait_for_new_card): Renamed to ...
(wait_for_card): ... this; new argument: require_card_switch;
adjust function accordingly; adjust callers.
(card_init): Rename argument `wait_for_card' to `wait'; new
argument: require_card_switch; pass to wait_for_card.
* card.h (card_open): Update declaration.

14 years ago(no commit message)
Moritz Schulte [Tue, 23 Nov 2004 16:35:33 +0000 (16:35 +0000)]

14 years ago(no commit message)
Moritz Schulte [Tue, 23 Nov 2004 16:35:15 +0000 (16:35 +0000)]

14 years ago(no commit message)
Moritz Schulte [Tue, 23 Nov 2004 16:35:05 +0000 (16:35 +0000)]

14 years ago2004-11-13 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Tue, 23 Nov 2004 16:34:48 +0000 (16:34 +0000)]
2004-11-13  Moritz Schulte  <moritz@g10code.com>

* support.c (file_to_string): NUL-terminate string.
* card.c (wait_for_new_card): New function, merged from gscutils ...
(card_init): ... use it here.

14 years ago(no commit message)
Moritz Schulte [Tue, 9 Nov 2004 17:46:19 +0000 (17:46 +0000)]

14 years ago(no commit message)
Moritz Schulte [Tue, 9 Nov 2004 17:46:08 +0000 (17:46 +0000)]

14 years agoMinor fix.
Moritz Schulte [Wed, 3 Nov 2004 20:31:18 +0000 (20:31 +0000)]
Minor fix.

14 years agoBumped version number up to: 0.2-cvs.
Moritz Schulte [Mon, 1 Nov 2004 21:20:07 +0000 (21:20 +0000)]
Bumped version number up to: 0.2-cvs.

14 years ago(no commit message)
Moritz Schulte [Mon, 1 Nov 2004 21:17:15 +0000 (21:17 +0000)]

14 years agoMostly rewritten/reorganized.
Moritz Schulte [Mon, 1 Nov 2004 21:16:18 +0000 (21:16 +0000)]
Mostly rewritten/reorganized.

14 years ago2004-10-10 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Sun, 10 Oct 2004 19:19:57 +0000 (19:19 +0000)]
2004-10-10  Moritz Schulte  <moritz@g10code.com>

* poldi-key2sexp: Do not report error in case hte master key is
not RSA.

* poldi.c (pam_sm_authenticate): Use pam_get_item instead of
pam_get_user.
(pam_sm_authenticate): Use pam_set_item for username.

14 years ago(no commit message)
Moritz Schulte [Sat, 26 Jun 2004 22:43:49 +0000 (22:43 +0000)]

14 years ago(no commit message)
Moritz Schulte [Sat, 26 Jun 2004 22:42:24 +0000 (22:42 +0000)]

14 years ago(no commit message)
Moritz Schulte [Sat, 26 Jun 2004 22:27:23 +0000 (22:27 +0000)]

14 years ago(no commit message)
Moritz Schulte [Sat, 26 Jun 2004 22:26:04 +0000 (22:26 +0000)]

14 years ago2004-06-22 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Tue, 22 Jun 2004 18:31:02 +0000 (18:31 +0000)]
2004-06-22  Moritz Schulte  <moritz@g10code.com>

* configure.ac: Check for GnuPG types.

14 years agoUpdated
Moritz Schulte [Tue, 22 Jun 2004 18:30:10 +0000 (18:30 +0000)]
Updated

14 years ago2004-06-22 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Tue, 22 Jun 2004 18:20:37 +0000 (18:20 +0000)]
2004-06-22  Moritz Schulte  <moritz@g10code.com>

* poldi.c (pam_sm_authenticate): Ask for PIN only, when the
username retrieved through PAM matches the one associated with the
authentication key contained on the card.

* options.c, options.h: New files.
* Makefile.am (libpam_poldi_a_SOURCES): Added: options.c,
options.h.

* Added jnlib into directory "jnlib".
* Makefile.am (SUBDIRS): Added: jnlib.

* defs.h.in: Added symbol: POLDI_CONF_FILE.

* poldi.c: Added logging and stuff.

* support.c (challenge_verify_sexp): Declare static.
(key_get_sexp): Likewise.
(key_destroy_sexp): Likewise.

14 years agoNew.
Moritz Schulte [Tue, 22 Jun 2004 18:19:44 +0000 (18:19 +0000)]
New.

14 years ago2004-06-22 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Tue, 22 Jun 2004 18:19:01 +0000 (18:19 +0000)]
2004-06-22  Moritz Schulte  <moritz@g10code.com>

* Makefile.am (libscd_a_SOURCES): Removed: opt.c.
* opt.c: Removed file.

* scd.h: Include "../options.h", do not declare struct opt.

* Removed files from jnlib.

* Updated code from GnuPG.

14 years ago2004-05-13 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Thu, 13 May 2004 19:16:55 +0000 (19:16 +0000)]
2004-05-13  Moritz Schulte  <moritz@g10code.com>

* poldi.c (pam_sm_authenticate): Use pam_get_user instead of
pam_get_item.  D'oh.

14 years ago2004-05-13 Moritz Schulte <moritz@g10ode.com>
Moritz Schulte [Thu, 13 May 2004 14:45:10 +0000 (14:45 +0000)]
2004-05-13  Moritz Schulte  <moritz@g10ode.com>

* card.h (card_info): Change arguments.
* card.c (card_info): Likewise, don't return login data.

* defs.h.in (POLDI_USERS_DB_FILE): New symbol.

* support.c (keyid_to_username): New function.
* support.h (keyid_to_username): Declare.

* poldi.c (pam_sm_authenticate): Adjusted for keyid_to_username.
Initialize card after the PIN has been provided.
Don't forget to call card_close.

14 years ago2004-05-13 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Thu, 13 May 2004 13:03:57 +0000 (13:03 +0000)]
2004-05-13  Moritz Schulte  <moritz@g10code.com>

* configure.ac: Fix comment.

14 years ago2004-05-13 Moritz Schulte <moritz@g10code.com>
Moritz Schulte [Thu, 13 May 2004 13:03:36 +0000 (13:03 +0000)]
2004-05-13  Moritz Schulte  <moritz@g10code.com>

* support.h: Fix Copyright-line, fix license.
* poldi.c: Likewise.
* defs.h.in: Likewise.
* card.c: Likewise.
* card.h: Likewise.

* support.c (key_get_sexp): Use MMAP_FAILED.
(key_get_sexp) Use memset to zero-out struct.
(key_get_sexp): Use sizeof instead of strlen in order to fix an
off-by-one error.
Use gpg_err_code_from_errno wherever necesarry.
Fix Copyright-line, fix license.

14 years agoIntial checking from Moritz 0.1 tarball
Werner Koch [Fri, 30 Apr 2004 15:26:49 +0000 (15:26 +0000)]
Intial checking from Moritz 0.1 tarball