Skip to content

Commit

Permalink
Merge pull request #303896 from risicle/ris-jwcrypto-CVE-2024-28102-r…
Browse files Browse the repository at this point in the history
…23.11

[23.11] python311Packages.jwcrypto: add patch for CVE-2024-28102
  • Loading branch information
LeSuisse committed Apr 14, 2024
2 parents d161d31 + c47e593 commit 6ec8515
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkgs/development/python-modules/jwcrypto/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchpatch
, cryptography
, deprecated
, pythonOlder
Expand All @@ -18,6 +19,14 @@ buildPythonPackage rec {
hash = "sha256-SLub9DN3cTYlNXnlK3X/4PmkpyHRM9AfRaC5HtX08a4=";
};

patches = [
(fetchpatch {
name = "CVE-2024-28102.patch";
url = "https://github.com/latchset/jwcrypto/commit/90477a3b6e73da69740e00b8161f53fea19b831f.patch";
hash = "sha256-0+zjHEXEcL1ZqRaxFi3lo9nAg+Ny/ERpNCclF+0SrYI=";
})
];

propagatedBuildInputs = [
cryptography
deprecated
Expand Down

0 comments on commit 6ec8515

Please sign in to comment.