Skip to content

Commit

Permalink
python311Packages.jwcrypto: add patch for CVE-2024-28102
Browse files Browse the repository at this point in the history
  • Loading branch information
risicle committed Apr 13, 2024
1 parent 867e7f2 commit c47e593
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 c47e593

Please sign in to comment.