Skip to content

State of removing PyNaCl? #2527

Open
Open

Description

@bseidenberg

Hi!

We are very interested in removing the dependency on PyNaCl from Paramiko. This is currently limited to paramiko/ed25519key.py. I was working on preparing a patch when I discovered that there was existing work for this. Both #1806 and #2103 have been pending for some time. It looks like they were blocked waiting for a dependency version bump that happened with Paramiko 3.0.

What would it take to realize this? Given our interest, I am able to dedicate some bandwidth to working on this. Would refreshing PR 1806 be the best path forward?

Thanks!
Benjamin

Activity

  1. crlorentzen commented on Dec 4, 2025

    @crlorentzen

    Following up on this issue.

    We continue to be interested in removing PyNaCl from Paramiko. We believe this is worthwhile reducing dependencies and deployment size. We are looking for agreement on the path forward.

  2. crlorentzen commented on Jun 8, 2026

    @crlorentzen

    @bitprophet With paramiko 5.0 out, we wanted to check, is there appetite for removing PyNaCl in favor of the existing cryptography dependency?

    We see requests since 2019 (#1419) and working PRs since 2021 (#1806, #2103). In early 2023 there appeared to be appetite post-3.0, is anything still blocking this?

    We're happy to refresh PR(s) if you would be open to accepting PyNaCl's removal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions