Skip to content

Commit

Permalink
Bump ic-utils + ic-agent
Browse files Browse the repository at this point in the history
  • Loading branch information
hpeebles committed Sep 17, 2023
1 parent 3ceb10d commit 0683b54
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 47 deletions.
63 changes: 34 additions & 29 deletions Cargo.lock

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

21 changes: 3 additions & 18 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ license = "Apache-2.0"

[workspace.dependencies]
candid = "0.9.0"
ic-agent = "0.25.0"
ic-agent = "0.27.0"
ic-asset = { path = "src/canisters/frontend/ic-asset" }
ic-cdk = "0.10.0"
ic-identity-hsm = "0.25.0"
ic-utils = "0.25.0"
ic-identity-hsm = "0.27.0"
ic-utils = "0.27.0"

aes-gcm = "0.9.4"
anyhow = "1.0.56"
Expand Down Expand Up @@ -67,21 +67,6 @@ tokio = "1.24.2"
url = "2.1.0"
walkdir = "2.3.2"

[patch.crates-io.ic-agent]
version = "0.25.0"
git = "https://github.com/dfinity/agent-rs.git"
rev = "6d923cbc918852ef5bfaeb08e63c86580aa80ffe"

[patch.crates-io.ic-identity-hsm]
version = "0.25.0"
git = "https://github.com/dfinity/agent-rs.git"
rev = "6d923cbc918852ef5bfaeb08e63c86580aa80ffe"

[patch.crates-io.ic-utils]
version = "0.25.0"
git = "https://github.com/dfinity/agent-rs.git"
rev = "6d923cbc918852ef5bfaeb08e63c86580aa80ffe"

[profile.release]
panic = 'abort'
lto = true
Expand Down
4 changes: 4 additions & 0 deletions src/dfx-core/src/identity/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,10 @@ impl ic_agent::Identity for Identity {
self.inner.sender()
}

fn public_key(&self) -> Option<Vec<u8>> {
self.inner.public_key()
}

fn sign(&self, content: &EnvelopeContent) -> Result<Signature, String> {
self.inner.sign(content)
}
Expand Down

0 comments on commit 0683b54

Please sign in to comment.