Steven Silvester
a0fe7c03af
PYTHON-3120 Set up flake8 linting ( #868 )
2022-02-17 06:44:08 -06:00
Steven Silvester
5578999a90
PYTHON-1834 Use a code formatter ( #852 )
2022-02-09 06:44:28 -06:00
Steven Silvester
dd6c140d43
PYTHON-3060 Add typings to pymongo package ( #831 )
2022-02-02 21:12:36 -06:00
Shane Harvey
c94a3ad1df
PYTHON-2585 Remove legacy multi-auth code ( #816 )
2021-12-09 18:00:41 -08:00
Shane Harvey
89f41cfbd2
PYTHON-2999 Remove unused and internal only CRAM-MD5 auth mechanism ( #777 )
2021-11-04 14:12:12 -07:00
Julius Park
42324c69cf
PYTHON-2973 Revert back to using quote_plus/unquote_plus ( #767 )
2021-10-29 16:30:55 -07:00
Julius Park
11e6f9860a
PYTHON-1579 Update URI parser to adhere to new connection string spec ( #755 )
2021-10-20 13:39:32 -07:00
Shane Harvey
11752ed594
PYTHON-2899 Remove code for MongoDB <= 3.4 ( #729 )
...
Remove unneeded memoryview to bytes conversion.
2021-09-16 16:53:50 -07:00
Bernie Hackett
ad4315134c
PYTHON-2803 Get rid of most uses of 'master'
...
This change also resolves PYTHON-2848 for MongoDB 4.0.
2021-09-13 12:50:49 -07:00
Shane Harvey
f64b563d9e
PYTHON-2629 Use hello command when API Version is declared ( #610 )
...
PYTHON-2697 Update CMAP runner to ignore extra events
2021-05-10 14:33:51 -07:00
Shane Harvey
95974617bd
PYTHON-1314 Remove Database.authenticate and Database.logout ( #568 )
2021-02-17 14:16:07 -08:00
Bernie Hackett
6c2d629006
PYTHON-2133 Remove Py2 compatibility from pymongo
2021-01-19 21:15:20 -08:00
Bernie Hackett
e608ff4166
PYTHON-2192 - Use krb5's canonicalization algorithm
2020-06-25 11:26:14 -07:00
Shane Harvey
903643b3d0
PYTHON-2138 Use pymongo-auth-aws for MONGODB-AWS support
2020-06-05 15:50:26 -07:00
Shane Harvey
0eace78cf4
PYTHON-2158 Support speculative authentication attempts in connection handshake
2020-05-19 11:20:23 -07:00
Shane Harvey
4c727fd9c0
PYTHON-2158 Support mechanism negotiation on the connection handshake
2020-04-28 16:43:48 -07:00
Shane Harvey
e26dc96e31
PYTHON-2034 Support MONGODB-AWS authentication mechanism
...
Use botocore to perform the manual Signature Version 4 Signing Process.
Test MONGODB-AWS in Evergreen.
Properly unquote URI option values in authMechanismProperties and
readPreferenceTags.
2020-03-03 09:43:48 -08:00
Shane Harvey
d481363fd5
PYTHON-2029 Support shorter SCRAM conversation
2020-02-10 16:24:43 -08:00
Shane Harvey
87793a9058
Saner random byte generation
2019-04-29 12:12:25 -07:00
Shane Harvey
a913d34380
PYTHON-1706 Fix issues found by coverity pt. 2
...
Remove unused code.
2018-12-14 14:52:18 -08:00
Bernie Hackett
a22719853e
PYTHON-1613 Invalidate cache on changed salt or iterations
2018-07-14 12:38:53 -07:00
Bernie Hackett
466fdde12a
PYTHON-1609 - Fix authing the same user more than once
2018-07-09 14:59:53 -07:00
Bernie Hackett
bb8130abd8
PYTHON-1273 - Cache SCRAM ClientKey and ServerKey
2018-06-08 14:24:05 -07:00
Bernie Hackett
3fd6fd9784
PYTHON-1572 - Don't import hash functions until needed
2018-06-01 07:53:25 -07:00
Bernie Hackett
984977ba9e
PYTHON-1425 - Implement the auth spec and tests
2018-04-25 10:25:00 -07:00
Bernie Hackett
82c6bdbac1
PYTHON-1526 - Update SCRAM-SHA-256 for spec change
2018-04-16 21:05:10 -07:00
Bernie Hackett
5b9257644f
PYTHON-1464 - Implement SCRAM-SHA-256
2018-03-06 17:54:40 -08:00
Bernie Hackett
507f954ed4
Update copyright dates
2017-12-01 17:23:39 -08:00
Bernie Hackett
dbd39d9ac8
PYTHON-1354 - Work around WinKerberos deprecations
...
The user, domain, and password arguments to authGSSClientInit
are deprecated. The principal argument works as of 0.5.0. Use
it instead.
2017-08-17 16:48:11 -07:00
Bernie Hackett
1600059015
PYTHON-1184 - Don't require X.509 user with MongoDB 3.4
2016-11-16 14:31:14 -08:00
Bernie Hackett
0abfba6155
PYTHON-750 - Kerberos SSPI support for Windows
2016-05-26 16:23:53 -07:00
Bernie Hackett
8ed682b48f
PYTHON-974 - Use appropriate hash comparators for sensitive functions
2015-08-14 12:21:33 -07:00
A. Jesse Jiryu Davis
baa6cf0fd8
PYTHON-932 - Attribute err in GSSAPI / Kerberos
2015-05-19 13:34:50 -04:00
Bernie Hackett
5df17c2c63
PYTHON-818 - Remove unicode_literals future imports.
2015-03-27 10:08:11 -07:00
Bernie Hackett
aec685b374
Fix up copyright dates.
2015-03-25 11:55:02 -07:00
Bernie Hackett
a2551b96f2
PYTHON-818 - Work around issues with unicode_literals and pbkdf2_hmac.
2015-01-12 12:09:19 -08:00
Bernie Hackett
be570a1888
Raise if nonce or server signature don't match.
2014-12-02 12:18:23 -08:00
Bernie Hackett
630f9245e3
PYTHON-795 - Fix password handling for None and the empty string.
2014-12-02 09:10:55 -08:00
Bernie Hackett
429aa9c582
PYTHON-768 - Support authMechanismProperties.
...
This change also removes the gssapiServiceName option (deprecated in
PyMongo 2.8), which is replaced by authMechanismProperties=SERVICE_NAME:<service name>.
2014-10-30 22:01:38 -07:00
behackett
d15a7ffbb5
PYTHON-706 - Optimize XOR in SCRAM HI.
2014-10-23 21:21:11 -04:00
A. Jesse Jiryu Davis
65900ad602
PYTHON-706 Use fastest SCRAM-SHA-1 implementation available.
2014-10-23 20:54:00 -04:00
A. Jesse Jiryu Davis
ee11436675
PYTHON-764 SCRAM-SHA-1 automatic upgrade / downgrade.
2014-10-23 16:30:55 -04:00
Bernie Hackett
71380ca65b
PYTHON-706 - Optimize our use of HMAC.
2014-09-05 06:44:21 -07:00
Bernie Hackett
9ad0cc6d0f
PYTHON-706 - Use SystemRandom for secure nonces.
2014-09-04 12:52:27 -07:00
A. Jesse Jiryu Davis
41c1a9afa6
PYTHON-525 Reimplement auth for new MongoClient.
...
The new MongoClient, based on Cluster and Server,
includes functionality that had been split between the
old MongoClient and MongoReplicaSetClient. A
previous commit introduced the new MongoClient
but broke authentication.
2014-09-03 17:39:52 -04:00
Bernie Hackett
bad4a109b4
PYTHON-706 - SCRAM-SHA-1
2014-08-13 15:02:28 -07:00
Bernie Hackett
6caa320d47
PYTHON-717 - Implement MongoCredential
2014-06-25 15:25:03 -07:00
Luke Lovett
d494105aa4
PYTHON-674 python 2/3 single-source for the pymongo module
2014-04-23 18:26:18 +00:00
A. Jesse Jiryu Davis
e2ef986447
Compatibility with the pykerberos package.
...
There are two Kerberos bindings on PyPI: kerberos and pykerberos.
PyMongo has been compatible with the kerberos package since PyMongo 2.5.0. But kerberos is not currently compatible with Python 3.
This change introduces compatibility with the new pykerberos package. Since pykerberos is compatible with Python 3, PyMongo can now use Kerberos in Python 3.
2014-03-24 18:06:33 -04:00
Bernie Hackett
5b55f14b49
CRAM-MD5 - for server testing only.
...
Undocumented, unsupported, could be removed at
any time. Don't use this. Consider yourself warned.
2014-02-20 08:37:40 -08:00