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

473 Commits

Author SHA1 Message Date
Klas Lindfors
4d79c69ec6 everything moved to github 2013-09-19 09:19:39 +02:00
Klas Lindfors
eb1ba8a52a update copyright years 2013-09-19 08:35:15 +02:00
Klas Lindfors
47cae946df allocate space for the grplist in the privs structure
as we want to save the privs structure longer than the
scope of def_privs we need to allocate the space for grplist.
2013-09-19 08:35:00 +02:00
Klas Lindfors
8cb3752293 correct debug message 2013-09-19 08:35:00 +02:00
Klas Lindfors
2f69fb99e5 move around to avoid warning 2013-09-18 15:37:24 +02:00
Klas Lindfors
16a4dc768b always set iterations and rewind before second fscanf() 2013-09-18 15:34:45 +02:00
Klas Lindfors
6448322e06 update urls to other projects 2013-09-18 14:48:41 +02:00
Klas Lindfors
d2cda4b115 use malloc() instead of alloca() and free after use 2013-09-18 14:33:54 +02:00
Eugene Crosser
2aaf0fdc23 Stop leaks of memory and of privileges
Fix several memory leaks and mishandling of the privilege status
where a function returned failure indication, and previously
allocated memory was not freed (and the referece was lost), or
previously droped privileges where not restored.
2013-09-18 14:22:41 +02:00
Klas Lindfors
ba4e56667b add -i switch for setting iterations with ykpamcfg 2013-09-18 14:10:35 +02:00
Klas Lindfors
3ae07ce8af ignore signed releases 2013-09-18 14:10:35 +02:00
Klas Lindfors
f1c30e3028 fix warnings 2013-09-18 14:10:35 +02:00
Klas Lindfors
f617829f10 fixup warnings 2013-09-18 14:10:35 +02:00
Klas Lindfors
307c88d76d fix warnings 2013-09-18 14:10:35 +02:00
Klas Lindfors
fb6b0911fd use pbkdf2 to process the exepected response
this bumps the version on the state file to 2
old files can still be read but new files will use the new format
2013-09-18 14:10:35 +02:00
Klas Lindfors
eb78d4882b refactor to use chalresp function from ykpers
so challenge_response() now calls yk_challenge_response() to
do the yubikey internal stuff.
2013-09-18 14:10:35 +02:00
Klas Lindfors
4faa544311 add the same warnings package as yubico-c 2013-09-18 14:10:35 +02:00
Simon Josefsson
042b1c2d63 Add. 2013-09-18 13:33:02 +02:00
Simon Josefsson
7a0fcf08ef Don't install internal header files. 2013-09-18 13:30:03 +02:00
Christian Hesse
7dc5c6a155 print information only if debug is specified
The pam module is very informative. I do not want it to print any
information unless debug is specified. An attacker should not get any
information.
2013-05-13 15:47:59 +02:00
Klas Lindfors
e5c7725fc1 bump version after release 2013-03-01 15:33:16 +01:00
Klas Lindfors
a07e6612ec add more docs 2013-03-01 15:31:00 +01:00
Klas Lindfors
4ded481074 update doc 2013-03-01 15:30:23 +01:00
Klas Lindfors
a604069adb release 2.13 2013-03-01 15:28:48 +01:00
Dain Nilsson
10f0bbcfeb Merge pull request #15 from wwest4/master
util.c version check fix
2013-02-14 00:38:59 -08:00
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