summaryrefslogtreecommitdiff
path: root/ext/crypto
diff options
context:
space:
mode:
authorLuca Casonato <hello@lcas.dev>2024-07-05 10:10:22 +0200
committerGitHub <noreply@github.com>2024-07-05 10:10:22 +0200
commit08e5606c3400d3a993c0ce6748901c56fc3db35b (patch)
tree032d3a09c6d22763ceb703e7908ca159d3d7a809 /ext/crypto
parentb290fd01f3f5d32f9d010fc719ced0240759c049 (diff)
fix(ext/node): rewrite digest handling (#24392)
Previously we had many different code paths all handling digests in different places, all with wildly different digest support. This commit rewrites this to use a single digest handling mechanism for all digest operations. It adds various aliases for digest algorithms, like node does. For example `sha1WithRSAEncryption` is an alias for `sha1`. It also adds support for `md5-sha1` digests in various places.
Diffstat (limited to 'ext/crypto')
-rw-r--r--ext/crypto/Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/crypto/Cargo.toml b/ext/crypto/Cargo.toml
index e1fc16275..418394584 100644
--- a/ext/crypto/Cargo.toml
+++ b/ext/crypto/Cargo.toml
@@ -35,7 +35,7 @@ ring = { workspace = true, features = ["std"] }
rsa.workspace = true
serde.workspace = true
serde_bytes.workspace = true
-sha1 = { version = "0.10.6", features = ["oid"] }
+sha1.workspace = true
sha2.workspace = true
signature.workspace = true
spki.workspace = true