Skip to content

Conversation

@jmoldow
Copy link
Contributor

@jmoldow jmoldow commented May 26, 2016

Open the PEM private key file in 'rb' mode so that .read() returns bytes in Python 3. Otherwise, the default openssl backend of cryptography fails to use the key.

Set the _user_id attribute to None when authenticating an enterprise instance.

Fixes #136.

cc @makiten

@boxcla
Copy link

boxcla commented May 26, 2016

Verified that @jmoldow has signed the CLA. Thanks for the pull request!

@Jeff-Meadows
Copy link
Contributor

👍

Open the PEM private key file in 'rb' mode so that `.read()`
returns `bytes` in Python 3. Otherwise, the default openssl
backend of cryptography fails to use the key.

Set the `_user_id` attribute to `None` when authenticating an
enterprise instance.

Fixes #136.
@jmoldow jmoldow merged commit a1dba2d into master May 26, 2016
@jmoldow jmoldow deleted the jwt_fixes branch May 26, 2016 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants