Skip to content

Commit 58fdf34

Browse files
committed
python-paramiko: Add patch for ECDSA private keys.
This patch should be backwards-incompatible and is also submitted upstream as paramiko/paramiko#218. The main reason for this patch is that we need it for NixOS/nixops#124 in order to cope with NixOS/nixops@a2718b6, which makes ECDSA private key the default for new deployments. Signed-off-by: aszlig <[email protected]>
1 parent a5f8f6a commit 58fdf34

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

‎pkgs/top-level/python-packages.nix‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3988,6 +3988,14 @@ pythonPackages = modules // import ./python-packages-generated.nix {
39883988
md5 = "4187f77b1a5a313c899993930e30c321";
39893989
};
39903990

3991+
patches = pkgs.lib.singleton (fetchurl {
3992+
# See https://github.com/paramiko/paramiko/pull/218
3993+
name = "ecdsa-private-keys.patch";
3994+
url = "https://github.com/aszlig/paramiko/compare/"
3995+
+ "c73764a947...ad33bb186f.diff";
3996+
sha256 = "1f1dxnd2di7jh3knn4qfipa46f6f9rqdzmc1lncwb3sbd772r8fx";
3997+
});
3998+
39913999
propagatedBuildInputs = [ pycrypto ecdsa ];
39924000

39934001
checkPhase = "python test.py";

0 commit comments

Comments
 (0)