64 releases (36 breaking)

0.45.0 Dec 19, 2025
0.44.3 Oct 31, 2025
0.44.1 Sep 15, 2025
0.41.0 Jul 10, 2025
0.2.0 Mar 4, 2021

#13 in #internet-computer-icp

Download history 3022/week @ 2025-10-23 1133/week @ 2025-10-30 1170/week @ 2025-11-06 1114/week @ 2025-11-13 2142/week @ 2025-11-20 1874/week @ 2025-11-27 1229/week @ 2025-12-04 1642/week @ 2025-12-11 1124/week @ 2025-12-18 191/week @ 2025-12-25 915/week @ 2026-01-01 1540/week @ 2026-01-08 1268/week @ 2026-01-15 1988/week @ 2026-01-22 1845/week @ 2026-01-29 1526/week @ 2026-02-05

6,892 downloads per month
Used in 3 crates (2 directly)

Apache-2.0

370KB
7.5K 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

~18–35MB
~504K SLoC