Skip to content

Gss api delegate #22

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 30 commits into from
Aug 25, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions Changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@ Change Log
=============


0.6.0
+++++

Changes
--------

* Added function for setting GSS-API credentials delegation option to session.
* Updated error handling for all user authentication session functions to raise specific authentication errors.


0.5.0
+++++

Expand Down Expand Up @@ -36,6 +46,7 @@ Packaging
* Added OSX 10.14 and 10.15 binary wheels for Python 3.8
* Added Windows 64-bit binary wheels for Python 3.6/3.7/3.8


0.3.0
++++++++

Expand Down
91 changes: 47 additions & 44 deletions ssh/key.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ssh/key.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def generate(KeyType key_type, int bits):
return key


def import_privkey_base64(bytes b64_key, passphrase=None):
def import_privkey_base64(bytes b64_key, passphrase=b''):
cdef const_char *c_key = b64_key
cdef bytes b_passphrase
cdef const_char *c_passphrase = NULL
Expand All @@ -153,7 +153,7 @@ def import_privkey_base64(bytes b64_key, passphrase=None):
return key


def import_privkey_file(filepath, passphrase=None):
def import_privkey_file(filepath, passphrase=b''):
cdef bytes b_passphrase
cdef bytes b_filepath = to_bytes(filepath)
cdef const_char *c_passphrase = NULL
Expand Down
Loading