Skip to content

Commit e2d4bca

Browse files
authored
Gss api delegate (#22)
Updated changelog. Added function for setting GSS API delegation option on session. Added GSSAPI authentication tests. Updated import privkey function signatures. Added agent authentication test. Updated import privkey functions to default to empty passphrase.
1 parent 919ab1a commit e2d4bca

File tree

6 files changed

+1078
-896
lines changed

6 files changed

+1078
-896
lines changed

Changelog.rst

+11
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@ Change Log
22
=============
33

44

5+
0.6.0
6+
+++++
7+
8+
Changes
9+
--------
10+
11+
* Added function for setting GSS-API credentials delegation option to session.
12+
* Updated error handling for all user authentication session functions to raise specific authentication errors.
13+
14+
515
0.5.0
616
+++++
717

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

49+
3950
0.3.0
4051
++++++++
4152

ssh/key.c

+47-44
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ssh/key.pyx

+2-2
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def generate(KeyType key_type, int bits):
134134
return key
135135

136136

137-
def import_privkey_base64(bytes b64_key, passphrase=None):
137+
def import_privkey_base64(bytes b64_key, passphrase=b''):
138138
cdef const_char *c_key = b64_key
139139
cdef bytes b_passphrase
140140
cdef const_char *c_passphrase = NULL
@@ -153,7 +153,7 @@ def import_privkey_base64(bytes b64_key, passphrase=None):
153153
return key
154154

155155

156-
def import_privkey_file(filepath, passphrase=None):
156+
def import_privkey_file(filepath, passphrase=b''):
157157
cdef bytes b_passphrase
158158
cdef bytes b_filepath = to_bytes(filepath)
159159
cdef const_char *c_passphrase = NULL

0 commit comments

Comments
 (0)