Evidlo / remarkable_mouse

use your reMarkable as a graphics tablet
GNU General Public License v3.0
506 stars 48 forks source link

fix: password decryption of keys #89

Closed Skelebot closed 1 month ago

Skelebot commented 2 months 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.

Evidlo commented 1 month ago

Thanks. It's unfortunate that Paramiko doesn't make key handling a bit easier.

https://github.com/paramiko/paramiko/issues/387