Skip to content

Commit ee9388c

Browse files
committed
chore: update dependencies
1 parent 73df49c commit ee9388c

File tree

3 files changed

+71
-96
lines changed

3 files changed

+71
-96
lines changed

Cargo.lock

Lines changed: 69 additions & 41 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ strip = true
1414
opt-level = 's'
1515

1616
[workspace.package]
17-
version = "0.8.11"
17+
version = "0.8.12"
1818
edition = "2021"
1919
repository = "https://github.com/ldclabs/ic-cose"
2020
keywords = ["config", "cbor", "canister", "icp", "encryption"]
@@ -46,7 +46,7 @@ ic-canister-sig-creation = "1.3"
4646
ic-agent = "0.41"
4747
ic_auth_types = "0.5"
4848
ic_auth_verifier = { version = "0.5" }
49-
ic-vetkeys = "0.2"
49+
ic-vetkeys = "0.3"
5050
rand = "0.9"
5151
coset = "0.3"
5252
aes-gcm = "0.10"

src/ic_cose_canister/src/vetkd.rs

Lines changed: 0 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -47,56 +47,3 @@ fn derivation_path_to_context(derivation_path: &[&[u8]]) -> Vec<u8> {
4747
let rt: [u8; 32] = hasher.finalize().into();
4848
rt.into()
4949
}
50-
51-
// // https://github.com/dfinity/examples/blob/master/rust/vetkd/README.md
52-
// const VETKD_SYSTEM_API_CANISTER_ID: &str = "s55qq-oqaaa-aaaaa-aaakq-cai";
53-
54-
// fn vetkd_system_api_canister_id() -> Principal {
55-
// Principal::from_text(VETKD_SYSTEM_API_CANISTER_ID).expect("failed to create canister ID")
56-
// }
57-
58-
// #[derive(CandidType, Deserialize, Serialize)]
59-
// pub enum VetKDCurve {
60-
// #[serde(rename = "bls12_381_g2")]
61-
// #[allow(non_camel_case_types)]
62-
// Bls12_381_G2,
63-
// }
64-
65-
// #[derive(CandidType, Deserialize, Serialize)]
66-
// pub struct VetKDKeyId {
67-
// pub curve: VetKDCurve,
68-
// pub name: String,
69-
// }
70-
71-
// #[serde_as]
72-
// #[derive(CandidType, Deserialize, Serialize)]
73-
// pub struct VetKDPublicKeyRequest {
74-
// pub canister_id: Option<Principal>,
75-
// #[serde_as(as = "Vec<serde_with::Bytes>")]
76-
// pub derivation_path: Vec<Vec<u8>>,
77-
// pub key_id: VetKDKeyId,
78-
// }
79-
80-
// #[derive(CandidType, Deserialize, Serialize)]
81-
// pub struct VetKDPublicKeyReply {
82-
// #[serde(with = "serde_bytes")]
83-
// pub public_key: Vec<u8>,
84-
// }
85-
86-
// #[serde_as]
87-
// #[derive(CandidType, Deserialize, Serialize)]
88-
// pub struct VetKDEncryptedKeyRequest {
89-
// #[serde_as(as = "Vec<serde_with::Bytes>")]
90-
// pub derivation_path: Vec<Vec<u8>>,
91-
// #[serde(with = "serde_bytes")]
92-
// pub derivation_id: Vec<u8>,
93-
// #[serde(with = "serde_bytes")]
94-
// pub encryption_public_key: Vec<u8>,
95-
// pub key_id: VetKDKeyId,
96-
// }
97-
98-
// #[derive(CandidType, Deserialize, Serialize)]
99-
// pub struct VetKDEncryptedKeyReply {
100-
// #[serde(with = "serde_bytes")]
101-
// pub encrypted_key: Vec<u8>,
102-
// }

0 commit comments

Comments
 (0)