Skip to content

Commit ab58f62

Browse files
committed
Fixed more issues related to encoding
1 parent a5f2810 commit ab58f62

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

vcert/ssh_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,8 @@ def generate(self, key_size=DEFAULT_SSH_KEY_SIZE, passphrase=None):
192192
encoding=serialization.Encoding.OpenSSH,
193193
format=serialization.PublicFormat.OpenSSH
194194
)
195-
self._private_key = private_key
196-
self._public_key = public_key
195+
self._private_key = private_key.decode()
196+
self._public_key = public_key.decode()
197197

198198
def private_key(self):
199199
return self._private_key

0 commit comments

Comments
 (0)