Page 1 of 1

Running sftp-server on the Push 3 S

Posted: Wed Dec 31, 2025 8:10 pm
by t#
I tried to run https://pypi.org/project/sftpserver/ on the Push 3 but it seems I'm stuck. I was able run the server by adding a few missing dependencies manually, but it seems that encryption isn't included in the python distro.

Code: Select all

/data/setup/sftp/paramiko/transport.py:32: CryptographyDeprecationWarning: Python 3.7 is no longer supported by the Python core team and support for it is deprecated in cryptography. The next release of cryptography will remove support for Python 3.7.
  from cryptography.hazmat.backends import default_backend
Traceback (most recent call last):
  File "sftpserver/__init__.py", line 33, in <module>
    import paramiko
  File "/data/setup/sftp/paramiko/__init__.py", line 22, in <module>
    from paramiko.transport import (
  File "/data/setup/sftp/paramiko/transport.py", line 33, in <module>
    from cryptography.hazmat.primitives.ciphers import (
  File "/data/setup/sftp/cryptography/hazmat/primitives/ciphers/__init__.py", line 11, in <module>
    from cryptography.hazmat.primitives.ciphers.base import (
  File "/data/setup/sftp/cryptography/hazmat/primitives/ciphers/base.py", line 12, in <module>
    from cryptography.hazmat.primitives.ciphers import modes
  File "/data/setup/sftp/cryptography/hazmat/primitives/ciphers/modes.py", line 10, in <module>
    from cryptography.exceptions import UnsupportedAlgorithm, _Reasons
  File "/data/setup/sftp/cryptography/exceptions.py", line 9, in <module>
    from cryptography.hazmat.bindings._rust import exceptions as rust_exceptions


It seems the rust bindings aren't present. Anyone else looked into this?

Happy new year!


Tim Cools

Re: Running python on the Push 3

Posted: Wed Dec 31, 2025 8:22 pm
by t#
Never mind, copying files with Live is sufficient for now ;-) 🙏