53 releases (30 breaking)

0.39.2 Dec 20, 2024
0.39.0 Oct 18, 2024
0.38.2 Sep 30, 2024
0.37.0 Jul 23, 2024
0.2.0 Mar 4, 2021

#646 in Magic Beans

Download history 750/week @ 2024-09-20 574/week @ 2024-09-27 401/week @ 2024-10-04 167/week @ 2024-10-11 911/week @ 2024-10-18 1043/week @ 2024-10-25 723/week @ 2024-11-01 873/week @ 2024-11-08 1890/week @ 2024-11-15 1479/week @ 2024-11-22 1217/week @ 2024-11-29 729/week @ 2024-12-06 554/week @ 2024-12-13 210/week @ 2024-12-20 35/week @ 2024-12-27 318/week @ 2025-01-03

1,270 downloads per month
Used in 4 crates (via dfx-core)

Apache-2.0

330KB
7K SLoC

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.


lib.rs:

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();

Dependencies

~15–28MB
~419K SLoC