test code working
diff --git a/stubs/paramiko.pyi b/stubs/paramiko.pyi
index 45010f0..98ee7ae 100644
--- a/stubs/paramiko.pyi
+++ b/stubs/paramiko.pyi
@@ -15,7 +15,10 @@
 
 class RSAKey:
     @classmethod
-    def from_private_key(cls, data: BytesIO) -> 'RSAKey': ...
+    def from_private_key(cls, data: BytesIO, password: str = None) -> 'RSAKey': ...
+
+    @classmethod
+    def from_private_key_file(cls, fname: str, password: str = None) -> 'RSAKey': ...