ChangeLog:
authorMoritz Schulte <mo@g10code.com>
Sat, 3 Dec 2005 20:19:47 +0000 (20:19 +0000)
committerMoritz Schulte <mo@g10code.com>
Sat, 3 Dec 2005 20:19:47 +0000 (20:19 +0000)
commit545c932d911fc955e25d303968405f300f47ffd9
tree6289692c17e7d5510e0cc8cc73b57439dcf4091e
parentde69fe338705b89c06c93fa0f8a3c7c0a056c982
ChangeLog:

2005-12-03  Moritz Schulte  <moritz@g10code.com>

* configure.ac: Undo last version number bumb; Poldi is not at
v0.3 yet.

doc/ChangeLog:

2005-12-03  Moritz Schulte  <moritz@g10code.com>

* poldi.texi: Remove the paragraph saying that Poldi implements a
1:1 mapping between cards and accounts.

src/common/ChangeLog:

2005-12-03  Moritz Schulte  <moritz@g10code.com>

* support.c (key_lookup_by_username): Removed function.
(key_lookup_by_serialno): New function.
(wait_for_card): New parameter: type; pass to card_info.

* support.h: Include <card.h>.
(wait_for_card): New parameter: card_key_t type.
(key_lookup_by_username): Removed function.
(key_lookup_by_serialno): New function.

* card.c: Include <card.h>.
(key_identifier_codes): New array.
(card_info): Adjust API; read-out fingerprint depending on new
TYPE parameter.
(card_decrypt, card_auth): New functions.

* card.h (card_key_t): New enumeration list.
(card_info): New parameter: card_kye_t type.
(card_decrypt, card_auth): Declare new functions.

* support.c, support.h: Moved usersdb-related code ...
* usersdb.c, usersdb.h: ... into these new files.
* Makefile.am (libpoldo_common_a_SOURCES): Added new files.

2005-11-19  Moritz Schulte  <moritz@g10code.com>

* card.c (card_read_key): New parameter: *KEY_NBITS, fill with
size of RSA modulus in case it is non-NULL.
* card.h (card_read_key): Adjust API.

src/ctrl/ChangeLog:

2005-12-03  Moritz Schulte  <moritz@g10code.com>

* poldi-ctrl.c: Include <assert.h>, <common/usersdb.h>.
(ask_user): New function.
(cmd_test): Mostly rewritten.
(cmd_list): Removed function body; add call to usersdb_list.
(cmd_add, cmd_remove): Stripped.
Adjusted to new usersdb API.

* poldi-ctrl.c (cmd_add_user): Removed exit calls.
(cmd_remove_user): Likewise.

2005-11-19  Moritz Schulte  <moritz@g10code.com>

* poldi-ctrl.c (cmd_dump): Retrive key size information through
card_read_key, print key size.
(cmd_set_key): Adjust to card_read_key API.

2005-11-12  Moritz Schulte  <moritz@g10code.com>

* poldi-ctrl.c (cmd_test): Adjust to new wait_for_card() API.
(cmd_set_key, cmd_dump): Adjust to new card_info() API.

* Makefile.am (poldi_ctrl_CFLAGS): Added include path:
$(top_srcdir)/src/common.

src/pam/ChangeLog:

2005-12-03  Moritz Schulte  <moritz@g10code.com>

* pam_poldi.c (ask_user): New parameter: secret.
(pam_conversation): Pass SECRET argument.
(pam_sm_authenticate): Rewritten in parts, simplified.
Adjusted to new usersdb API.
18 files changed:
ChangeLog
NEWS
README
configure.ac
doc/ChangeLog
doc/poldi.texi
src/common/ChangeLog
src/common/Makefile.am
src/common/card.c
src/common/card.h
src/common/support.c
src/common/support.h
src/ctrl/ChangeLog
src/ctrl/Makefile.am
src/ctrl/poldi-ctrl.c
src/pam/ChangeLog
src/pam/Makefile.am
src/pam/pam_poldi.c