Comments (6)
That is an issue of pyca/cryptography, not paramiko. Instead, please search the same and report it to pyca/cryptography project.
from paramiko.
Thanks, I'll go to the cryptography issue to reflect
Also please do I need to delete this issue, it feels like it can also be put here as a temporary solution for this kind of error, I just used github and don't know much about the usage specs
from paramiko.
No, please don't delete it. It'll help others who might come with the same problem to understand the situation.
from paramiko.
okay i know ,thanks
i will report this but to the right place
from paramiko.
The same issue has been reported at pyca/cryptography#10300. Also, according to pyca/cryptography#10300 (comment), the issue is no longer appeared since Python 3.9.2.
I just tried with Python 3.9.0 and 3.9.13 in my environment. I confirmed it is reproduced with Python 3.9.0 and not reproduced with Python 3.9.13.
I think we could close this issue.
pip list
Package Version
------------ -------
bcrypt 4.1.2
cffi 1.16.0
cryptography 42.0.2
paramiko 3.4.0
pip 22.0.4
pycparser 2.21
PyNaCl 1.5.0
setuptools 58.1.0
Python 3.9.0
C> C:\usr\tmp\venv-py3.9.0\Scripts\python -c "import paramiko; print(paramiko.__version__)"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\usr\tmp\venv-py3.9.0\lib\site-packages\paramiko\__init__.py", line 22, in <module>
from paramiko.transport import (
File "C:\usr\tmp\venv-py3.9.0\lib\site-packages\paramiko\transport.py", line 33, in <module>
from cryptography.hazmat.primitives.ciphers import algorithms, Cipher, modes
File "C:\usr\tmp\venv-py3.9.0\lib\site-packages\cryptography\hazmat\primitives\ciphers\__init__.py", line 11, in <module>
from cryptography.hazmat.primitives.ciphers.base import (
File "C:\usr\tmp\venv-py3.9.0\lib\site-packages\cryptography\hazmat\primitives\ciphers\base.py", line 10, in <module>
from cryptography.exceptions import (
File "C:\usr\tmp\venv-py3.9.0\lib\site-packages\cryptography\exceptions.py", line 9, in <module>
from cryptography.hazmat.bindings._rust import exceptions as rust_exceptions
ImportError: DLL load failed while importing _rust: The specified procedure could not be found.
Python 3.9.13
C> C:\usr\tmp\venv-py3.9.13\Scripts\python -c "import paramiko; print(paramiko.__version__)"
3.4.0
from paramiko.
Agreed, it seems clear that this has been resolved by the cryptography
dependency.
from paramiko.
Related Issues (20)
- Fix typo in transport.py: "the the window" repeated
- [Question] - <Changing default use of SHA-1 for new standards>
- [BUG] - Keywords for "Match" in ssh_config are case-sensitive, so SSHConfig skips "Match" line and applies everything inside like Host *
- Update cryptography dependency to 42.0.0 or higher HOT 2
- Paramiko processing of SSH_MSG_CHANNEL_EXTENDED_DATA
- [SUPPORT] - Getting RSA key from Azure Vault into paramiko - Not working
- [BUG] - SSHClient.open_sftp().open(...) cause file downloaded being modified HOT 2
- invoke_shell Dynamically adjust window size HOT 2
- [BUG] - After establishing an SSH connection, when a List[SomeClass] exists, the interpreter does not perform memory recycling (execute __del__).
- [SUPPORT] - <title>resume transfer
- [BUG] - Key discovery fails on root
- [BUG] - paramiko recv() function not reading the psql prompt when ssh to a windows and psql command is sent HOT 18
- Locking remote ssh host with paramiko session/channel id HOT 5
- [BUG] - _parse_service_accept: Unexpected packet types are ignored (code suggests an exception was intended)
- Accept Path objects for remote file name in sftp.put HOT 2
- [SUPPORT] - Use Paramiko inside docker container
- [SUPPORT] - SSHClient.close() or SSHClient.exec_command("exit") doesn't close ssh session on macOS
- [BUG] - Paramiko doesnt work with OpenSSH 7.8 HOT 1
- [BUG] - Sends duplicate userauth-request - fails with AsyncSSH 2.14.1 and multiple SSH keys
- [BUG] - Transport::join_lingering_threads() not stopping all threads and join thread never get executed in Transport::stop_thread() HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paramiko.