diff --git a/Cargo.lock b/Cargo.lock
index 6ce222b..5c8f39a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -835,7 +835,7 @@ checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d"
 dependencies = [
  "curve25519-dalek",
  "ed25519",
- "rand 0.7.3",
+ "rand 0.7.4",
  "sha2",
  "zeroize",
 ]
@@ -1120,22 +1120,9 @@ dependencies = [
 
 [[package]]
 name = "getrandom"
-version = "0.1.16"
+version = "0.2.10"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce"
-dependencies = [
- "cfg-if 1.0.0",
- "js-sys",
- "libc",
- "wasi 0.9.0+wasi-snapshot-preview1",
- "wasm-bindgen",
-]
-
-[[package]]
-name = "getrandom"
-version = "0.2.8"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31"
+checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427"
 dependencies = [
  "cfg-if 1.0.0",
  "js-sys",
@@ -1524,9 +1511,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
 
 [[package]]
 name = "libc"
-version = "0.2.138"
+version = "0.2.147"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "db6d7e329c562c5dfab7a46a2afabc8b987ab9a4834c9d1ca04dc54c1546cef8"
+checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3"
 
 [[package]]
 name = "libloading"
@@ -1687,7 +1674,7 @@ version = "7.2.2"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "91ff5d538c014cb58ab701db16e28aa66fbbb8b472bf65821d0e84f72aae6d4f"
 dependencies = [
- "getrandom 0.2.8",
+ "getrandom",
  "libc",
  "nettle-sys",
  "thiserror",
@@ -2079,11 +2066,10 @@ dependencies = [
 
 [[package]]
 name = "rand"
-version = "0.7.3"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
+version = "0.7.4"
+source = "git+https://github.com/nekopsykose/rand?rev=0dc97a89afa9237baa6c421c9517030cb391921c#0dc97a89afa9237baa6c421c9517030cb391921c"
 dependencies = [
- "getrandom 0.1.16",
+ "getrandom",
  "libc",
  "rand_chacha 0.2.2",
  "rand_core 0.5.1",
@@ -2104,8 +2090,7 @@ dependencies = [
 [[package]]
 name = "rand_chacha"
 version = "0.2.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402"
+source = "git+https://github.com/nekopsykose/rand?rev=0dc97a89afa9237baa6c421c9517030cb391921c#0dc97a89afa9237baa6c421c9517030cb391921c"
 dependencies = [
  "ppv-lite86",
  "rand_core 0.5.1",
@@ -2124,10 +2109,9 @@ dependencies = [
 [[package]]
 name = "rand_core"
 version = "0.5.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"
+source = "git+https://github.com/nekopsykose/rand?rev=0dc97a89afa9237baa6c421c9517030cb391921c#0dc97a89afa9237baa6c421c9517030cb391921c"
 dependencies = [
- "getrandom 0.1.16",
+ "getrandom",
 ]
 
 [[package]]
@@ -2136,7 +2120,7 @@ version = "0.6.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
 dependencies = [
- "getrandom 0.2.8",
+ "getrandom",
 ]
 
 [[package]]
@@ -2152,8 +2136,7 @@ dependencies = [
 [[package]]
 name = "rand_hc"
 version = "0.2.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c"
+source = "git+https://github.com/nekopsykose/rand?rev=0dc97a89afa9237baa6c421c9517030cb391921c#0dc97a89afa9237baa6c421c9517030cb391921c"
 dependencies = [
  "rand_core 0.5.1",
 ]
@@ -2195,7 +2178,7 @@ version = "0.4.3"
 source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b"
 dependencies = [
- "getrandom 0.2.8",
+ "getrandom",
  "redox_syscall",
  "thiserror",
 ]
@@ -2529,7 +2512,7 @@ dependencies = [
  "eax",
  "ed25519-dalek",
  "flate2",
- "getrandom 0.2.8",
+ "getrandom",
  "idna 0.3.0",
  "lalrpop",
  "lalrpop-util",
@@ -2541,7 +2524,7 @@ dependencies = [
  "once_cell",
  "openssl",
  "openssl-sys",
- "rand 0.7.3",
+ "rand 0.7.4",
  "regex",
  "regex-syntax",
  "sha1collisiondetection",
@@ -3219,12 +3202,6 @@ dependencies = [
  "try-lock",
 ]
 
-[[package]]
-name = "wasi"
-version = "0.9.0+wasi-snapshot-preview1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
-
 [[package]]
 name = "wasi"
 version = "0.10.0+wasi-snapshot-preview1"
diff --git a/Cargo.toml b/Cargo.toml
index 381e633..112e305 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -78,3 +78,7 @@ crypto-openssl = ["sequoia-openpgp/crypto-openssl"]
 crypto-botan = ["sequoia-openpgp/crypto-botan"]
 crypto-botan2 = ["sequoia-openpgp/crypto-botan2"]
 crypto-cng = ["sequoia-openpgp/crypto-cng"]
+
+ [patch.crates-io]
+"rand_core" = { git = 'https://github.com/nekopsykose/rand', rev = '0dc97a89afa9237baa6c421c9517030cb391921c' }
+"rand" = { git = 'https://github.com/nekopsykose/rand', rev = '0dc97a89afa9237baa6c421c9517030cb391921c' }
