54 releases (30 breaking)

0.39.3 Jan 21, 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

#24 in #dfinity

Download history 702/week @ 2024-10-28 752/week @ 2024-11-04 1039/week @ 2024-11-11 2049/week @ 2024-11-18 1215/week @ 2024-11-25 1246/week @ 2024-12-02 571/week @ 2024-12-09 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 2770/week @ 2025-02-10

9,647 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–27MB
~423K SLoC