Skip to content

Doesn't work with SHA1 RSA ssh keys anymore #174

@Gimzie

Description

@Gimzie

It seems the paramiko library got updated at some point, and rmview no longer allows connecting to ReMarkable devices authenticated this way. The error provided is "sha1 is not supported by this backend for RSA signing..". A console excerpt is provided below:

[WARNING] No key nor password given. System-wide SSH connection parameters are going to be used.
[INFO] Using known hosts file: /home/gimzie/.config/rmview_known_hosts
[INFO] Loaded known hosts from /home/gimzie/.config/rmview_known_hosts
[INFO] Connecting...
[ERROR] Unknown exception: sha1 is not supported by this backend for RSA signing.
[ERROR] Traceback (most recent call last):
[ERROR]   File "/home/gimzie/.local/lib/python3.13/site-packages/paramiko/transport.py", line 2262, in run
[ERROR]     handler(m)
[ERROR]     ~~~~~~~^^^
[ERROR]   File "/home/gimzie/.local/lib/python3.13/site-packages/paramiko/auth_handler.py", line 404, in _parse_service_accept
[ERROR]     sig = self.private_key.sign_ssh_data(blob, algorithm)
[ERROR]   File "/home/gimzie/.local/lib/python3.13/site-packages/paramiko/rsakey.py", line 125, in sign_ssh_data
[ERROR]     sig = self.key.sign(
[ERROR]         data,
[ERROR]     ...<3 lines>...
[ERROR]         algorithm=self.HASHES[algorithm](),
[ERROR]     )
[ERROR] cryptography.exceptions.UnsupportedAlgorithm: sha1 is not supported by this backend for RSA signing.
[ERROR] 
[ERROR] Could not connect to remarkable: sha1 is not supported by this backend for RSA signing.
[INFO] Please check your remarkable is connected and retry.
[ERROR] sha1 is not supported by this backend for RSA signing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions