55 releases (31 breaking)

0.40.0 Mar 17, 2025
0.39.2 Dec 20, 2024
0.39.0 Oct 18, 2024
0.37.0 Jul 23, 2024
0.2.0 Mar 4, 2021

#16 in #internet-computer

Download history 676/week @ 2024-12-16 6/week @ 2024-12-23 40/week @ 2024-12-30 582/week @ 2025-01-06 590/week @ 2025-01-13 615/week @ 2025-01-20 1937/week @ 2025-01-27 4323/week @ 2025-02-03 2800/week @ 2025-02-10 2902/week @ 2025-02-17 3259/week @ 2025-02-24 2926/week @ 2025-03-03 2593/week @ 2025-03-10 2244/week @ 2025-03-17 2671/week @ 2025-03-24 2026/week @ 2025-03-31

9,559 downloads per month
Used in 4 crates (via dfx-core)

Apache-2.0

340KB
7K SLoC

A crate to manage identities related to HSM (Hardware Security Module), allowing users to sign Internet Computer messages with their hardware key. Also supports SoftHSM.

Example

use ic_agent::agent::Agent;
use ic_identity_hsm::HardwareIdentity;
let agent = Agent::builder()
    .with_url(replica_url)
    .with_identity(HardwareIdentity::new(lib_path, slot_index, key_id, || Ok("hunter2".to_string()))?)
    .build();

ic-identity-hsm is a crate to manage identities related to HSM (Hardware Security Module), allowing users to sign Internet Computer messages with their hardware key. Also supports SoftHSM.

Dependencies

~15–28MB
~426K SLoC