diff --git a/src/Cargo.lock b/src/Cargo.lock index 223271c5..e6e47f4a 100644 --- a/src/Cargo.lock +++ b/src/Cargo.lock @@ -575,6 +575,16 @@ dependencies = [ "zeroize", ] +[[package]] +name = "der" +version = "0.7.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f55bf8e7b65898637379c1b74eb1551107c8294ed26d855ceb9fd1a09cfc9bc0" +dependencies = [ + "const-oid", + "zeroize", +] + [[package]] name = "der-parser" version = "8.2.0" @@ -655,9 +665,9 @@ version = "0.14.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "413301934810f597c1d19ca71c8710e99a3f1ba28a0d2ebc01551a2daeea3c5c" dependencies = [ - "der", + "der 0.6.1", "elliptic-curve 0.12.3", - "rfc6979", + "rfc6979 0.3.1", "signature 1.6.4", ] @@ -667,12 +677,26 @@ version = "0.15.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "12844141594ad74185a926d030f3b605f6a903b4e3fec351f3ea338ac5b7637e" dependencies = [ - "der", + "der 0.6.1", "elliptic-curve 0.12.3", - "rfc6979", + "rfc6979 0.3.1", "signature 2.0.0", ] +[[package]] +name = "ecdsa" +version = "0.16.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" +dependencies = [ + "der 0.7.9", + "digest", + "elliptic-curve 0.13.8", + "rfc6979 0.4.0", + "signature 2.0.0", + "spki 0.7.3", +] + [[package]] name = "either" version = "1.13.0" @@ -687,16 +711,16 @@ checksum = "e7bb888ab5300a19b8e5bceef25ac745ad065f3c9f7efc6de1b91958110891d3" dependencies = [ "base16ct 0.1.1", "crypto-bigint 0.4.9", - "der", + "der 0.6.1", "digest", "ff 0.12.1", "generic-array 0.14.7", "group 0.12.1", "hkdf", "pem-rfc7468", - "pkcs8", + "pkcs8 0.9.0", "rand_core", - "sec1", + "sec1 0.3.0", "subtle", "zeroize", ] @@ -714,7 +738,9 @@ dependencies = [ "generic-array 0.14.7", "group 0.13.0", "hkdf", + "pkcs8 0.10.2", "rand_core", + "sec1 0.7.3", "subtle", "zeroize", ] @@ -1552,13 +1578,13 @@ dependencies = [ [[package]] name = "p256" -version = "0.12.0" +version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49c124b3cbce43bcbac68c58ec181d98ed6cc7e6d0aa7c3ba97b2563410b0e55" +checksum = "c9863ad85fa8f4460f9c48cb909d38a0d689dba1f6f6988a5e3e0d31071bcd4b" dependencies = [ - "ecdsa 0.15.1", - "elliptic-curve 0.12.3", - "primeorder", + "ecdsa 0.16.9", + "elliptic-curve 0.13.8", + "primeorder 0.13.6", "sha2", ] @@ -1581,7 +1607,7 @@ checksum = "630a4a9b2618348ececfae61a4905f564b817063bf2d66cdfc2ced523fe1d2d4" dependencies = [ "ecdsa 0.15.1", "elliptic-curve 0.12.3", - "primeorder", + "primeorder 0.12.1", "sha2", ] @@ -1695,9 +1721,9 @@ version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "eff33bdbdfc54cc98a2eca766ebdec3e1b8fb7387523d5c9c9a2891da856f719" dependencies = [ - "der", - "pkcs8", - "spki", + "der 0.6.1", + "pkcs8 0.9.0", + "spki 0.6.0", "zeroize", ] @@ -1707,8 +1733,18 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9eca2c590a5f85da82668fa685c09ce2888b9430e83299debf1f34b65fd4a4ba" dependencies = [ - "der", - "spki", + "der 0.6.1", + "spki 0.6.0", +] + +[[package]] +name = "pkcs8" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" +dependencies = [ + "der 0.7.9", + "spki 0.7.3", ] [[package]] @@ -1760,6 +1796,15 @@ dependencies = [ "elliptic-curve 0.12.3", ] +[[package]] +name = "primeorder" +version = "0.13.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "353e1ca18966c16d9deb1c69278edbc5f194139612772bd9537af60ac231e1e6" +dependencies = [ + "elliptic-curve 0.13.8", +] + [[package]] name = "proc-macro-crate" version = "3.1.0" @@ -1809,7 +1854,7 @@ dependencies = [ "aws-nitro-enclaves-nsm-api", "borsh", "lazy_static", - "p256 0.12.0", + "p256 0.13.2", "qos_core", "qos_crypto", "qos_hex", @@ -1919,7 +1964,7 @@ dependencies = [ "borsh", "hkdf", "hmac", - "p256 0.12.0", + "p256 0.13.2", "qos_hex", "qos_test_primitives", "rand_core", @@ -2022,6 +2067,16 @@ dependencies = [ "zeroize", ] +[[package]] +name = "rfc6979" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8dd2a808d456c4a54e300a23e9f5a67e122c3024119acbfd73e3bf664491cb2" +dependencies = [ + "hmac", + "subtle", +] + [[package]] name = "ring" version = "0.17.8" @@ -2061,7 +2116,7 @@ dependencies = [ "num-iter", "num-traits", "pkcs1", - "pkcs8", + "pkcs8 0.9.0", "rand_core", "signature 1.6.4", "smallvec", @@ -2171,9 +2226,23 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3be24c1842290c45df0a7bf069e0c268a747ad05a192f2fd7dcfdbc1cba40928" dependencies = [ "base16ct 0.1.1", - "der", + "der 0.6.1", "generic-array 0.14.7", - "pkcs8", + "pkcs8 0.9.0", + "subtle", + "zeroize", +] + +[[package]] +name = "sec1" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3e97a565f76233a6003f9f5c54be1d9c5bdfa3eccfb189469f11ec4901c47dc" +dependencies = [ + "base16ct 0.2.0", + "der 0.7.9", + "generic-array 0.14.7", + "pkcs8 0.10.2", "subtle", "zeroize", ] @@ -2385,7 +2454,17 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "67cf02bbac7a337dc36e4f5a693db6c21e7863f45070f7064577eb4367a3212b" dependencies = [ "base64ct", - "der", + "der 0.6.1", +] + +[[package]] +name = "spki" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" +dependencies = [ + "base64ct", + "der 0.7.9", ] [[package]] @@ -3026,9 +3105,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6bd27a832a85efcf56cad058e4e3256d1781b927e113a9e37d96916d639e4af7" dependencies = [ "const-oid", - "der", + "der 0.6.1", "flagset", - "spki", + "spki 0.6.0", ] [[package]] diff --git a/src/qos_client/Cargo.toml b/src/qos_client/Cargo.toml index 8b9674aa..84976129 100644 --- a/src/qos_client/Cargo.toml +++ b/src/qos_client/Cargo.toml @@ -15,7 +15,7 @@ qos_nsm = { path = "../qos_nsm", default-features = false } ureq = { version = "2.9", default-features = false } aws-nitro-enclaves-nsm-api = { version = "0.3", default-features = false } borsh = { version = "1.0", features = ["std", "derive"] , default-features = false} -p256 = { version = "0.12.0", default-features = false } +p256 = { version = "0.13.0", default-features = false } rand_core = { version = "0.6", default-features = false } zeroize = { version = "1.6", default-features = false } rpassword = { version = "7", default-features = false } diff --git a/src/qos_p256/Cargo.toml b/src/qos_p256/Cargo.toml index 1fd73b2d..1457a112 100644 --- a/src/qos_p256/Cargo.toml +++ b/src/qos_p256/Cargo.toml @@ -11,7 +11,7 @@ borsh = { version = "1.0", features = ["std", "derive"] , default-features = fal rand_core = { version = "0.6.4", default-features = false } sha2 = { version = "0.10", default-features = false } -p256 = { version = "0.12.0", features = ["ecdh", "ecdsa", "ecdsa-core", "std"], default-features = false } +p256 = { version = "0.13.0", features = ["ecdh", "ecdsa", "ecdsa-core", "std"], default-features = false } aes-gcm = { version = "0.10.3", features = ["aes", "alloc"], default-features = false } hmac = { version = "0.12", default-features = false } hkdf = { version = "0.12", default-features = false }