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

802 Commits

Author SHA1 Message Date
Klas Lindfors
0a1051f6df check that file doesn't exist before we try to write it 2016-03-31 10:13:00 +02:00
Klas Lindfors
7639f4684a set file permissions when creating a new challenge file 2016-03-31 10:12:03 +02:00
Klas Lindfors
051dd2a5b2 switch pam_modutils_getpwnam()/getpwnam() to always use getpwnam_r() 2016-03-31 09:51:22 +02:00
Klas Lindfors
155b485ba7 copy ownership and modes of old challenge file when creating a new one
fixes #92
2016-03-30 08:59:06 +02:00
Klas Lindfors
b7e7da494a verbose_otp can not be used with OpenSSH
fixes #25
2016-03-29 11:09:58 +02:00
Klas Lindfors
a4a5078a77 typo. 2016-02-26 09:35:16 +01:00
Klas Lindfors
f7b529fa94 document how to use ykpamcfg with path instead of moving file 2016-02-26 09:31:17 +01:00
Klas Lindfors
44c45d1b80 Merge pull request #89 from AmShaegar13/improve_cr_auth_docu
Changed /etc/yubico to /var/yubico
2016-02-26 09:27:53 +01:00
Finn Glöe
9ad8c71069 Changed /etc/yubico to /var/yubico 2016-02-25 20:41:29 +01:00
Klas Lindfors
cd67ab76b6 ignore pkg files 2016-02-19 12:22:52 +01:00
Klas Lindfors
846bed3c01 bump versions after release 2016-02-19 12:21:22 +01:00
Klas Lindfors
eb9c6834a0 NEWS for 2.21 2016-02-19 12:17:56 +01:00
Klas Lindfors
49173c7101 add first stab at makefile for mac installer
fixes #76
2016-02-19 11:03:52 +01:00
Klas Lindfors
a6ea0e7053 pass cfg->debug to check_firmware_version() and let it use D macro 2016-02-19 11:03:52 +01:00
Klas Lindfors
27d6a286d7 Merge pull request #88 from shankerwangmiao/bug-fix-for-null-conv
add check for NULL conv
2016-02-16 13:55:08 +01:00
王邈
2b33aafdb9 add check for NULL conv 2016-02-16 20:05:50 +08:00
Klas Lindfors
19631c2efc Merge branch 'mikemn-master' 2015-11-16 09:09:04 +01:00
mikemn
e231b8217c Update Readme with proxy parameter description 2015-11-16 09:07:49 +01:00
mikemn
6b46103dbc Add proxy support via Curl 2015-11-16 09:07:49 +01:00
Klas Lindfors
b2ea37b284 set -e later for travis and hope for the best 2015-11-13 10:59:29 +01:00
Klas Lindfors
1968a1ea32 add brew update for travis 2015-11-13 10:53:24 +01:00
Klas Lindfors
2f5e903922 with more thought: remove valgrind for tests
since curl+gnutls seems to leave gnutls inited data around
2015-10-08 12:04:20 +02:00
Klas Lindfors
beef2d9bd5 add valgrind-tests 2015-10-08 10:58:12 +02:00
Klas Lindfors
0bd785cf3a use correct modifier for size_t print 2015-10-08 10:29:08 +02:00
Klas Lindfors
9c8553f297 setup travis to do multi-os builds 2015-10-08 10:24:07 +02:00
Klas Lindfors
7aa75e0af8 drop the non-portable test test
it linked with the module and didn't really do anything, making the test
suite more fragile than necessary
2015-10-08 10:24:07 +02:00
Klas Lindfors
c97dac4bd9 remove forgotten references to wiki
There is no wiki for this project, that information is either in the doc
folder or in the project manpages. Both of which accessible from
https://developers.yubico.com/yubico-pam/

fixes #81
2015-10-05 10:07:56 +02:00
Klas Lindfors
8d61533c62 bump versions 2015-09-22 08:16:00 +02:00
Klas Lindfors
9b09b8d576 NEWS for 2.20 2015-09-22 08:14:06 +02:00
Klas Lindfors
0b0be7e5c1 add information about files used
thanks to @madrat- for original suggestions
fixes #78
2015-09-15 15:01:40 +02:00
Klas Lindfors
83cccf3e12 reset yk_errno when we're happy with the result 2015-09-14 13:14:51 +02:00
Klas Lindfors
056dac4794 correct fchmod() return check 2015-09-14 13:14:30 +02:00
Klas Lindfors
dd96aa71dc switch i to size_t to match usage 2015-09-14 10:34:06 +02:00
Klas Lindfors
344d1b4384 fix initialization of msg to not warn
apparently this is gcc bug 53119
2015-09-14 10:30:01 +02:00
Klas Lindfors
ec84a78453 make yubi_attr_prefix_len a size_t 2015-09-14 10:29:49 +02:00
Klas Lindfors
0eb2f8cec3 mark unused parameter with __attribute__((unused)) 2015-09-14 10:27:14 +02:00
Klas Lindfors
bc93b62489 use mkstemp() to get the tempfile instead
unfortunately means we have to fchmod() it afterwards to be sure
2015-09-14 10:24:05 +02:00
Klas Lindfors
ecafc6af84 Merge pull request #79 from madrat-/master
do_challenge_response change privileges twice at reading and writing
2015-09-14 09:17:10 +02:00
madRat
3d22ed0c15 do_chalendge needs drop privs twice at reading and writing 2015-09-11 16:50:51 +03:00
Klas Lindfors
1036873b95 in the challenge-response case only drop privileges for user dir
This allows the module to work in a case where the directory is only
writable to root.

fixes #77
2015-09-11 13:56:14 +02:00
Klas Lindfors
6f6a7b20fc don't warn about to long strings 2015-09-11 13:56:03 +02:00
Klas Lindfors
70f27b98a2 include pwd.h in util.h 2015-09-09 08:24:57 +02:00
Klas Lindfors
37f8788073 disable xmllint for a2x since it seems to cause problems 2015-09-08 09:25:58 +02:00
Klas Lindfors
237ed18b9f use pam_modutil_getpwnam() if it's available
also refactor to pass in a passwd struct to the util functions
2015-09-08 09:15:07 +02:00
Klas Lindfors
15cab00173 add a test for a user showing up twice in the file 2015-08-18 14:22:00 +02:00
Klas Lindfors
ab25973d1e add documentation for chalresp_path parameter 2015-08-11 08:25:57 +02:00
Klas Lindfors
4e13a474ff Merge pull request #71 from afeinberg/comments
Support comments in authfile
2015-08-11 08:22:53 +02:00
Alex Feinberg
362ca9cb92 Support comments in authfile
Adds support for comments (indicated by lines starting with '#') in
authfiles.
2015-08-10 14:37:02 -07:00
Klas Lindfors
50ce40bbb1 free message at end of function
it was possible message was never freed if the sprintf() call failed
2015-07-08 16:11:42 +02:00
Klas Lindfors
9a132bcd07 add cainfo option to allow usage of a cabundle instead of path
path submitted by github user @Mrten
reportedly this is needed if curl is linked with gnutls
fixes #6
2015-06-15 10:25:56 +02:00