diff options
| author | Jeffery To <jeffery.to@gmail.com> | 2023-09-13 12:33:51 +0800 |
|---|---|---|
| committer | Rosen Penev <rosenp@gmail.com> | 2023-09-27 16:40:55 -0700 |
| commit | 9fdff3ea94662653188c3902840e97c35e9f138f (patch) | |
| tree | f8c0a97f7addc1c757a0171736d0782f82e8bdfd /lang/python/python-cryptography/patches/001-Update-ouroboros.patch | |
| parent | 4d43be8549c8240f5039040fd1efd44aa2eb61fa (diff) | |
python-cryptography: Update to 41.0.4
This includes a patch to update the version of ouroboros (Rust crate)
used, to fix RUSTSEC-2023-0042[1]. Upstream has switch from ouroboros to
self_cell so this patch should only be necessary for cryptography 41.
[1]: https://rustsec.org/advisories/RUSTSEC-2023-0042.html
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/python-cryptography/patches/001-Update-ouroboros.patch')
| -rw-r--r-- | lang/python/python-cryptography/patches/001-Update-ouroboros.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/python/python-cryptography/patches/001-Update-ouroboros.patch b/lang/python/python-cryptography/patches/001-Update-ouroboros.patch new file mode 100644 index 000000000..93abe3a4f --- /dev/null +++ b/lang/python/python-cryptography/patches/001-Update-ouroboros.patch @@ -0,0 +1,13 @@ +Fixes https://rustsec.org/advisories/RUSTSEC-2023-0042.html + +--- a/src/rust/Cargo.toml ++++ b/src/rust/Cargo.toml +@@ -15,7 +15,7 @@ cryptography-cffi = { path = "cryptograp + cryptography-x509 = { path = "cryptography-x509" } + cryptography-openssl = { path = "cryptography-openssl" } + pem = "1.1" +-ouroboros = "0.15" ++ouroboros = "0.18" + openssl = "0.10.54" + openssl-sys = "0.9.88" + foreign-types-shared = "0.1" |
