1
0
mirror of https://github.com/Yubico/yubico-pam.git synced 2024-12-12 21:08:49 +01:00
Commit Graph

354 Commits

Author SHA1 Message Date
Fredrik Thulin
3275b38d59 Fix debug-logging of chalresp_path. Oddity reported by clang. 2012-02-06 11:37:42 +01:00
Fredrik Thulin
dc9146ffcb snprintf returns an int, not a size_t. reported by clang. 2012-02-06 11:31:23 +01:00
Fredrik Thulin
5e7dd56c2f Describe recent changes. 2012-02-02 13:47:15 +01:00
Fredrik Thulin
65ae64277c Remove redundant explanation of 'capath'. 2012-02-02 13:17:19 +01:00
Fredrik Thulin
bfbcda54ad Merge branch 'master' of https://github.com/remim/yubico-pam 2012-02-02 13:16:05 +01:00
Remi Mollon
bf8ececae3 adding help about capath and yubi_attr_prefix parameters 2012-02-01 09:29:27 +01:00
Remi Mollon
3e1f5f6925 renaming yubi_prefix to yubi_Attr_prefix and changing debug 2012-02-01 09:29:05 +01:00
Clemens Lang
87d1c486b7 Make yubico-pam compile without -DDEBUG_PAM 2012-01-28 02:24:43 +01:00
Clemens Lang
d2c14efdd4 Add missing headers
fcntl.h in pam_yubico.c is needed on OS X with clang for the build to
succeed, while unistd.h in util.c is required so clang doesn't complain
about implicit declarations of ftruncate and fsync.
2012-01-28 00:30:34 +01:00
Clemens Lang
126146d0e3 Fix memset() with wrong size as reported by clang 2012-01-28 00:19:24 +01:00
Fredrik Thulin
73369beba9 Avoid double fclose() in some error cases.
Problem reported (and patched) by Lingzhu Xiang <xianglingzhu@gmail.com>
in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657524
2012-01-27 12:33:53 +01:00
Remi Mollon
fd465d1261 add comment 2012-01-24 17:42:49 +01:00
Simon Josefsson
0456249391 Update doc/. 2012-01-23 20:33:47 +01:00
Simon Josefsson
81994baa58 Fix automake warning. 2012-01-23 20:30:26 +01:00
Simon Josefsson
3828953374 Bump version. Use silent rules. Bump copyright years. 2012-01-23 20:25:06 +01:00
Remi Mollon
b42307d169 adding yubi_prefix parameter, when looking for token_id in ldap 2012-01-18 17:04:58 +01:00
Fredrik Thulin
d5978df794 Merge branch 'master' of github.com:Yubico/yubico-pam 2011-12-14 13:12:17 +01:00
Fredrik Thulin
6c23f47645 sync 2011-12-14 13:11:12 +01:00
Fredrik Thulin
41dddf3e62 check-doc-dist: restore submodule doc branch master 2011-12-14 13:06:41 +01:00
Fredrik Thulin
62662049fb New date for 2.10 release (today). 2011-12-14 12:51:14 +01:00
Simon Josefsson
2a28ad04d5 Shift blame. 2011-12-13 17:00:59 +01:00
Fredrik Thulin
263012f725 authorize_user_token: Don't drop privs for system-wide file. 2011-12-13 16:56:04 +01:00
Fredrik Thulin
29f8a00713 Bug fix dropping privileges using pam_modutil_drop_priv. 2011-12-13 16:15:25 +01:00
Fredrik Thulin
fc8adacd33 prepare 2.10 2011-12-13 13:39:38 +01:00
Fredrik Thulin
84c817909a update copyright for files changed 2011 2011-12-13 13:38:52 +01:00
Fredrik Thulin
ab0035e34e Document arguments token_id_length and mode. 2011-12-12 19:28:37 +01:00
Fredrik Thulin
a6e4c047f6 Compile list of authors from ChangeLog. 2011-12-12 10:56:00 +01:00
Fredrik Thulin
1c74b4849b update 2011-12-12 10:30:14 +01:00
Fredrik Thulin
a8e84a14d0 Prepare version 2.10. 2011-12-06 19:29:00 +01:00
Fredrik Thulin
505225fe19 Pedantically removing warnings. 2011-12-06 14:41:59 +01:00
Fredrik Thulin
afd4198de1 Fix implicit declaration warning. 2011-12-06 14:38:08 +01:00
Fredrik Thulin
c795e84bef challenge_response: reject bad slot 2011-12-06 14:37:57 +01:00
Fredrik Thulin
4ce59833ba Further pointer signedness fixes. 2011-12-06 13:46:30 +01:00
Fredrik Thulin
43134038a5 do_challenge_response: Remove 2 unused variables. 2011-12-06 13:45:58 +01:00
Fredrik Thulin
a7bd2efa95 Hyphen-fix. 2011-12-06 13:31:35 +01:00
Fredrik Thulin
b27599957c Fix implicit yubikey_* declarations. 2011-12-06 13:31:25 +01:00
Fredrik Thulin
bba72bfead Avoid asprintf.
To improve portability, we do malloc() + snprintf() instead.
2011-12-06 11:58:36 +01:00
Fredrik Thulin
fa8a9ff074 Fix pointer signedness warnings. 2011-12-06 11:56:52 +01:00
Fredrik Thulin
f03314e59c generate_random: Remove unused variable 'i'. 2011-12-06 11:54:09 +01:00
Fredrik Thulin
b671a6a350 fix lintian errors 2011-12-01 14:17:50 +01:00
Fredrik Thulin
2785c998be Update with new things in 2.10. 2011-11-23 15:05:19 +01:00
Fredrik Thulin
f24f333867 Drop privileges before writing new C-R file. 2011-11-23 13:56:01 +01:00
Fredrik Thulin
94885d2d48 Verify that challenge-response file is a normal file. 2011-11-23 13:55:44 +01:00
Fredrik Thulin
d4acd495f0 improve debug messages 2011-11-23 13:46:26 +01:00
Fredrik Thulin
fcde64a93e Use pam_modutil_drop_priv if it is available.
Utility functions for what was done in drop_priv.c appeared
in PAM 1.1.3. Use them when available.
2011-11-23 13:45:41 +01:00
Fredrik Thulin
b92902fd8f Restore challenge-response functionality.
HAVE_LIBYKPERS_1 did not seem to ever get defined, so use HAVE_CR instead.
2011-11-23 13:26:02 +01:00
Ricky Zhou
a9892dbb44 Drop privileges before opening user files.
This change also ensures that user tokens are regular files.  We may
want to add a similar check for user challenge files.
2011-11-23 10:16:00 +01:00
Fredrik Thulin
f92ee12aa9 Remove unused variable and extra undef. 2011-11-22 11:17:29 +01:00
Fredrik Thulin
47d883b600 pam_sm_authenticate: check strdup return value 2011-11-22 11:08:53 +01:00
Fredrik Thulin
57cf6ed5d6 authorize_user_token_ldap: check malloc return value 2011-11-22 11:08:28 +01:00