Commit Graph

124 Commits

Author SHA1 Message Date
Cory Benfield 38979f8899 Merge pull request #87 from aowi/master
add a note on delegation to the README
2017-02-01 15:35:50 +00:00
Anders Ossowicki a545b08c0c add a note on delegation to the README 2017-02-01 16:31:20 +01:00
Carson Lam 99c2428aaa
v0.11.0 2016-11-02 11:23:16 -07:00
Cory Benfield 815c857f58 Merge pull request #75 from rbcarson/winkerberos
Replace kerberos-sspi with WinKerberos. Fixes #67.
2016-11-02 10:22:13 +00:00
Carson Lam bc57f3ab80 Add WinKerberos-specific blurb for custom principal. 2016-11-01 17:12:54 -07:00
Carson Lam cd615536b7 Require at least WinKerberos 0.5.0. 2016-10-24 10:29:23 -07:00
Carson Lam fbe27c79fe Merge pull request #79 from waldyrious/patch-1
add license title
2016-07-05 15:39:37 -07:00
Waldir Pimenta 0976054c71 add license title
same rationale as https://github.com/requests/requests-oauthlib/pull/242
2016-07-05 23:36:18 +01:00
Carson Lam 14fe8875d8 Require at least WinKerberos 0.4.0. 2016-06-01 20:26:19 -07:00
Carson Lam dd66aa92d5 Swap kerberos-sspi with winkerberos. 2016-05-28 20:49:24 -07:00
Carson Lam 5f21904b31 Bring back reverted fixes. 2016-05-28 20:46:44 -07:00
Carson Lam 13c20d366e Revert "Merge pull request #73 from rbcarson/windows-principal-workaround-71"
This reverts commit b87f71b90e, reversing
changes made to b86ced24d1.
2016-05-28 20:26:11 -07:00
Cory Benfield 75d29584a0
v0.10.0 2016-05-18 13:20:36 +01:00
Cory Benfield 2bbc8def45 Merge pull request #74 from rbcarson/doc-syntax-highlight
Fix syntax highlighting in readme code blocks.
2016-05-17 22:44:40 +01:00
Cory Benfield b87f71b90e Merge pull request #73 from rbcarson/windows-principal-workaround-71
Block use of `principal` argument when using kerberos-sspi. Fixes #71.
2016-05-17 22:43:09 +01:00
Carson Lam 524e8579d0 Refactor kerberos-sspi and principal handling. 2016-05-17 14:08:50 -07:00
Carson Lam 470957ae25 Fix syntax highlighting in readme code blocks. 2016-05-17 00:41:07 -07:00
Carson Lam 3a533dd3b8 Use conditional keyword arguments with clientInit_complete.assert_called_with().
Necessary for tests to pass on Windows with kerberos-sspi.
2016-05-17 00:36:34 -07:00
Carson Lam 9fcb4be515 Fix the fix. Never pass `principal` when using kerberos-sspi, even when None. 2016-05-17 00:23:12 -07:00
Carson Lam d68716f40c Merge branch 'master' into windows-principal-workaround-71 2016-05-17 00:12:25 -07:00
Carson Lam b86ced24d1 Merge pull request #72 from nitzmahone/switchable_sanitize
make mutual auth error sanitization optional
2016-05-17 00:08:54 -07:00
Carson Lam cd68579dcf No context manager for assertRaises on py26... 2016-05-16 23:51:52 -07:00
Carson Lam 5ee7f9cb22 Fix unit tests when running with kerberos-sspi. 2016-05-16 23:37:57 -07:00
Carson Lam 5f7445dfc0 Block use of `principal` argument when using kerberos-sspi (i.e. Windows). 2016-05-16 23:14:54 -07:00
nitzmahone a312feb7c3 remove line continuation 2016-05-16 19:05:34 -07:00
nitzmahone 7b035a3fcb fix isinstance asserts to be py2.6 friendly 2016-05-16 14:55:15 -07:00
nitzmahone 4c66b13f9c make mutual auth error sanitization optional
added test coverage, doc update
2016-05-16 14:24:43 -07:00
Cory Benfield 69ed5ee2a2
v0.9.0 2016-05-06 09:12:36 +01:00
Cory Benfield d824b8c538 Merge pull request #70 from nitzmahone/principal_and_realm_override
add support for principal and realm override
2016-05-03 09:06:29 +01:00
nitzmahone c464cc0035 add support for principal and hostname override 2016-05-02 13:21:44 -07:00
Cory Benfield ee5c29154f Merge pull request #69 from nitzmahone/winrm_mutual_auth_fix
Fix for mutual auth on winrm
2016-04-20 08:33:05 +01:00
nitzmahone 47b178c184 working fix for mutual auth from winrm
fixes #65, fixes #68 - adds preemptive auth
updated tests for changed args and added tests for preemptive/not
updated readme for new arg
2016-04-19 12:36:14 -07:00
Cory Benfield e2c671733a v0.8.0 2016-01-07 18:15:47 +00:00
Ian Cordasco 27e5d006d9 Merge pull request #56 from rbcarson/platform-based-kerberos-dependency-51
Fix dependency for kerberos-sspi on Windows; else use pykerberos. (Fixes #51, #38)
2015-10-31 10:21:02 -05:00
Ian Cordasco 5e8ae5ce3a Merge pull request #32 from JoshuaWarburton/master
Brought rrig's implementation of kerberos delegation up to date with master
2015-10-31 09:47:12 -05:00
Ian Cordasco eecb004bd1 Merge pull request #55 from AnthonyTruchet/master
Uses kerberos_sspi on windows
2015-08-26 07:46:35 -05:00
Cory Benfield e535015247 Test 3.4 also. 2015-08-25 09:07:25 +01:00
Carson Lam 86bdf67ffd Require pykerberos >= 1.1.8.
It includes handling for krb5 version numbers with string suffixes, which happens to be the case on Travis CI.
2015-08-24 10:10:01 -07:00
Carson Lam e4ae8778c1 Specify conditional dependencies such that they're recognized by bdist_wheel.
On Windows, use kerberos-sspi because it's much easier to get installed.
On other platforms, use pykerberos instead of kerberos for Python 3 support.
2015-08-23 20:28:47 -07:00
Anthony Truchet 3479e271a4 Fix for Python 3 on Windows 2015-08-21 17:53:48 +02:00
Joshua Warburton e1a6f490ba Logged exceptions that occur in generate_request_header
Also fixed the potential for an uninitiated variable in one of the except blocks
2015-05-23 00:01:54 +01:00
Joshua Warburton 288a3d8748 Removed magic numbers 2015-05-22 23:53:09 +01:00
Joshua Warburton 60602cf07e added test for delegation 2015-05-22 23:53:09 +01:00
Joshua Warburton cf3d1e8c9c fixed tests broken by delegation support 2015-05-22 23:53:09 +01:00
rriggs c3918fc177 Update kerberos_.py
Add support for delegating credentials.  Pass GSS_C_DELEG_FLAG when delegation is requested.
2015-05-22 23:53:09 +01:00
Cory Benfield ac5e907a9b 0.7.0 2015-05-04 16:57:44 +01:00
Ian Cordasco 05bc753d7d Merge pull request #34 from gentoo90/sspi
Add Windows native authentication support
2015-05-04 09:07:49 -05:00
Ian Cordasco 52efdbdfda Merge pull request #42 from rbcarson/fix-infinite-401
Prevent infinite recursion when server responds with 401 to an authentication attempt.
2015-04-23 23:32:14 -05:00
Carson Lam e7940973d7 Return the 401 Unauthorized response if we've tried to handle it before, but still got a 401.
This means the user really isn't authorized to access the resource.
2015-04-14 23:00:27 -07:00
Ian Cordasco d23fc44271 Fix up the tests 2015-04-12 12:11:07 -05:00