1
0
mirror of https://github.com/Yubico/yubico-pam.git synced 2024-11-29 09:24:22 +01:00
Commit Graph

383 Commits

Author SHA1 Message Date
Karl Goetz
6b90cf10ad Refer to Github as well as G.Code.
This attempts to help explain where to look for various things (eg
bugs, code, doco).
2012-10-04 16:38:28 +10:00
Klas Lindfors
d0cc748ec0 break line so we keep document width consistent 2012-10-03 07:44:52 +02:00
Karl Goetz
9377b14ef2 Attempt to clarify format of mapping files
I didn't realise from the original version that it was a series of
different token IDs - i thought it was different parts of the OTP.
Hopefully this change clarifys whats really going on here.

Part of the patch/doco for Issue 44.
http://code.google.com/p/yubico-pam/issues/detail?id=44
2012-10-03 12:30:38 +10:00
Karl Goetz
bb91c37b05 Explain how to generate an OTP.
This wasn't obvious to me and so I suspect others may be confused too.
This commit provides the documentation to close Issue 44, but is NOT
identical to the patch provided on that report.

http://code.google.com/p/yubico-pam/issues/detail?id=44
2012-10-03 12:28:30 +10:00
Karl Goetz
d259f94dec Explain what an OTP is 2012-10-03 12:25:31 +10:00
Karl Goetz
9fb46ce691 adding a new line for consistancy with spacing on other headings 2012-10-03 12:24:30 +10:00
Karl Goetz
13eb1b9c9f Add information about SELinux to README
Because SELinux in enforcing mode will cause yubikey authentication to
fail I'm including some references to discussion around this problem.
The RH bugzilla link also includes a policy snippet which can be used
for this."

This commit should resolve Issue #43.
http://code.google.com/p/yubico-pam/issues/detail?id=43
2012-10-03 12:17:01 +10:00
Vincent Brillault
96252b6f2b Verify the otp_length given by the configuration
Avoid out of bound writing at ligne -920,1 +927,1:
strncpy (otp_id, password + skip_bytes, cfg->token_id_length);
2012-08-07 19:18:43 +02:00
Klas Lindfors
2e9adfaa1c bump versions post-release 2012-06-15 14:58:37 +02:00
Klas Lindfors
a101069e98 copy changes about dependencies from wiki. 2012-06-15 14:52:45 +02:00
Klas Lindfors
5c20a9df9f NEWS for 2.12 2012-06-15 14:43:58 +02:00
Klas Lindfors
20862d0f35 remove -Wno-extra-portability, it breaks on automake before 1.11.2 2012-06-15 13:40:07 +02:00
Klas Lindfors
2ffd54a24c use errstr to communicate with the user 2012-06-14 09:25:38 +02:00
Klas Lindfors
f1f6d54311 bump versions as 2.11 is released 2012-06-14 08:48:21 +02:00
Klas Lindfors
a5f2e9e333 check for same response in pam module, output debug for the user 2012-06-08 13:20:07 +02:00
Klas Lindfors
6db8c640ef add check that two challenges get different responses 2012-06-08 13:19:24 +02:00
Klas Lindfors
41c576e0cf replace fopen with open+fdopen to set more restrictive bits 2012-06-08 10:45:59 +02:00
Clemens Lang
dfd1d3f769 Silence warning: missing AM_PROG_AR on non-POSIX
Automake 1.12 complains: "linking libraries using a non-POSIX archiver
requires 'AM_PROG_AR' in 'configure.ac'". This patch silences this
warning, allowing automake 1.12 to process configure.ac with -Werror
2012-06-05 02:57:06 +02:00
James Dingwall
940149ca98 Modify the PAM headers test in configure.ac to #include <sys/types.h>.
This is required to compile conftest.c for pam_modutil.h on Gentoo with
  sys-libs/pam-1.1.5
  sys-libs/glibc-2.13-r4
  sys-devel/gcc-4.5.3-r2
2012-03-27 13:40:40 +01:00
Fredrik Thulin
439133350d Correct libyubikey requirement 2012-03-05 18:47:08 +01:00
Fredrik Thulin
ef069efef6 libyubikey is really only required --with-cr 2012-03-05 18:45:51 +01:00
Fredrik Thulin
da246e240c load_chalresp_state: Debug message was always shown. 2012-02-13 14:24:31 +01:00
Fredrik Thulin
5627bba2ba Prepare version 2.11 2012-02-10 15:28:01 +01:00
Fredrik Thulin
82296f4632 do_challenge_response: Clear errno when done. 2012-02-10 15:13:42 +01:00
Fredrik Thulin
f1df3a83c3 Fix project name. 2012-02-10 15:02:48 +01:00
Fredrik Thulin
e9c6c97d88 Avoid warnings for fscanf() by passing pointer to first element of array. 2012-02-10 14:14:58 +01:00
Fredrik Thulin
bcdfbfa128 include stdlib, for malloc() 2012-02-10 14:13:55 +01:00
Fredrik Thulin
2c077fba4e DBG format fix 2012-02-10 14:13:24 +01:00
Fredrik Thulin
fb6281fa3f Fix clang indicated printf format warnings. 2012-02-08 15:53:18 +01:00
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