Skip to content

Commit

Permalink
fix: revert 'ecdh_cose_encrypted_key' alg for dMsg.net
Browse files Browse the repository at this point in the history
  • Loading branch information
zensh committed Dec 27, 2024
1 parent d8804db commit 3c7165f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ strip = true
opt-level = 's'

[workspace.package]
version = "0.5.2"
version = "0.5.3"
edition = "2021"
repository = "https://github.com/ldclabs/ic-cose"
keywords = ["config", "cbor", "canister", "icp", "encryption"]
Expand Down
4 changes: 2 additions & 2 deletions src/ic_cose_canister/src/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -883,9 +883,9 @@ pub mod ns {
pub fn inner_derive_kek(spk: &SettingPathKey, key_id: &[u8]) -> Result<[u8; 32], String> {
state::with(|s| {
let pk = s
.schnorr_ed25519_public_key
.schnorr_secp256k1_public_key
.as_ref()
.ok_or("no schnorr ed25519 public key")?;
.ok_or("no schnorr secp256k1 public key")?;

let derivation_path = vec![
b"COSE_Symmetric_Key".to_vec(),
Expand Down

0 comments on commit 3c7165f

Please sign in to comment.