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

#17 in #internet-computer

Download history 35/week @ 2024-12-27 358/week @ 2025-01-03 805/week @ 2025-01-10 401/week @ 2025-01-17 1574/week @ 2025-01-24 4016/week @ 2025-01-31 3035/week @ 2025-02-07 2952/week @ 2025-02-14 2961/week @ 2025-02-21 3370/week @ 2025-02-28 2704/week @ 2025-03-07 2202/week @ 2025-03-14 2518/week @ 2025-03-21 2061/week @ 2025-03-28 2920/week @ 2025-04-04 1835/week @ 2025-04-11

9,741 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
~433K SLoC