Closed Skelebot closed 1 month ago
Due to a bug, previously only RSA keys could be decrypted with a password - the use_key function did not check for other key types when decrypting. Adding another for loop over key types when handling encrypted keys fixes this.
use_key
Thanks. It's unfortunate that Paramiko doesn't make key handling a bit easier.
https://github.com/paramiko/paramiko/issues/387
Due to a bug, previously only RSA keys could be decrypted with a password - the
use_key
function did not check for other key types when decrypting. Adding another for loop over key types when handling encrypted keys fixes this.