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

548 Commits

Author SHA1 Message Date
William West
96c1666248 bug in version check, now works with early model NEO 2013-02-14 01:48:34 -05:00
Pierre-Alain Dupont
21c4dd3fa3 A more precise handling of user-token match errors
Signed-off-by: Pierre-Alain Dupont <pad@melix.net>
2013-01-26 15:59:23 +00:00
Klas Lindfors
dc03f4b713 bump automake version to 1.11 2013-01-18 14:53:44 +01:00
Clemens Lang
bcd8c631a8 configure.ac: call AM_PROG_AR if available 2013-01-18 14:26:15 +01:00
Klas Lindfors
a535563ca0 add path option to man page 2013-01-17 08:24:25 +01:00
Tommaso Galassi De Orchi
1eff1ad71b New feature, create directory in the user home. 2012-11-14 14:14:06 +01:00
Tommaso Galassi De Orchi
ad27af3518 Added option to specify a path for ykpamcfg. 2012-11-14 10:43:47 +01:00
Klas Lindfors
8a262643eb update ppa location 2012-11-13 14:51:15 +01:00
Klas Lindfors
e92b57f388 add AM_PROG_AR workaround for automake 1.12. 2012-11-07 08:26:24 +01:00
Klas Lindfors
2d1facc83c Merge branch 'patch-1' of https://github.com/xorbyte/yubico-pam 2012-11-05 08:39:54 +01:00
Simon Josefsson
37e6a6a80f Ignore more. 2012-10-31 17:01:18 +01:00
alexandru totolici
93be189ae9 Distinguish 'characters' from 'digits' in README
The Yubikey token ID is 12 characters long, not 12 digits long. This 
can make it slightly confusing when first setting a key up, and in 
any case it's incorrect language.
2012-10-30 13:24:08 -07:00
Karl Goetz
e76e1d8203 Mention google code hosts downloads too
Per request on Issue 45 I've reworded this bit so it mentions google
code hosting the package downloads. I've had to reflow the text slightly
because it pushed it over 72 chars.
2012-10-10 12:41:30 +11:00
Karl Goetz
4388de12e8 Finish both files with a blank line
Helps to keep all text readable on broken terminals/screens.
2012-10-04 16:41:05 +10:00
Karl Goetz
9a5c8e6ef7 Correct wording for PPA
Its 'Personal' not 'Private' https://help.launchpad.net/Packaging/PPA
2012-10-04 16:40:02 +10:00
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