Skip to content

fix loading of password secured private key#268

Open
mortbauer wants to merge 1 commit intopahaz:masterfrom
mortbauer:master
Open

fix loading of password secured private key#268
mortbauer wants to merge 1 commit intopahaz:masterfrom
mortbauer:master

Conversation

@mortbauer
Copy link

I had the problem that sshtunnel would not use the provided password to load the private key.
This pulll request fixed it.

Copy link

@sasa821 sasa821 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have the same problem loading private keys with a password; this PR will solve the problem. Thank you! I hope it gets merged soon.

if logger:
logger.error('Password is required for key {0}'
.format(pkey_file))
raise
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this line necessary?

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.

2 participants