Chuyển đến nội dung
Skillpedia
Kiểm thử35k · #8239

performing-hardware-security-module-integration

Skill này làm gì

Công cụ này giúp kết nối máy tính của bạn với một thiết bị bảo mật chuyên dụng (HSM) để bảo vệ các khóa bí mật. Nó có thể tạo khóa, ký tài liệu và kiểm tra xem mọi thứ có an toàn không.

Khi nào nên dùng

  • ✓Khi thiết lập thiết bị bảo mật mới để bảo vệ khóa của bạn.
  • ✓Khi cần kiểm tra xem thiết bị bảo mật có hoạt động đúng không.
  • ✓Khi cần kiểm tra cài đặt bảo mật có đáp ứng tiêu chuẩn chính thức không.

Liên kết skill

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-hardware-security-module-integration/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-hardware-security-module-integration/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tôi muốn kiểm tra tạo khóa trên HSM của mình và xem nó có hỗ trợ ký RSA không.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ dùng một chuẩn chung (PKCS#11) để giao tiếp với thiết bị bảo mật. Nó nạp các chỉ dẫn của thiết bị, tạo khóa bên trong nó và thực hiện các thao tác như ký dữ liệu.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Performing Hardware Security Module Integration

Overview

Hardware Security Modules (HSMs) provide tamper-resistant cryptographic key storage and operations. This skill covers integrating with HSMs via the PKCS#11 standard interface using python-pkcs11, performing key generation, signing, encryption, and verification operations, querying token and slot information, and validating HSM configuration for compliance with FIPS 140-2/3 requirements.

When to Use

  • When conducting security assessments that involve performing hardware security module integration
  • When following incident response procedures for related security events
  • When performing scheduled security testing or auditing activities
  • When validating security controls through hands-on testing

Prerequisites

  • HSM device or software HSM (SoftHSM2 for testing)
  • PKCS#11 shared library (.so/.dll) for the HSM vendor
  • Python 3.9+ with python-pkcs11
  • Token initialized with SO PIN and user PIN
  • For AWS CloudHSM: cloudhsm-pkcs11 provider configured

Steps

  1. Load PKCS#11 library and enumerate available slots and tokens
  2. Open session and authenticate with user PIN
  3. Generate RSA 2048-bit or EC P-256 key pairs on the HSM
  4. Perform signing and verification using on-device keys
  5. List all objects (keys, certificates) stored on the token
  6. Query mechanism list to verify supported algorithms
  7. Generate compliance report with key inventory and algorithm audit

Expected Output

  • JSON report listing HSM slots, tokens, stored keys, supported mechanisms, and compliance status
  • Signing test results with key metadata and algorithm details
Câu hỏi thường gặp

HSM là gì?

Đó là thiết bị hoặc phần mềm lưu trữ an toàn các khóa bí mật, bảo vệ chúng khỏi bị đánh cắp hoặc truy cập trái phép.

PKCS#11 là gì?

Đó là chuẩn cách thức để các chương trình giao tiếp với thiết bị bảo mật như HSM, đảm bảo chúng hoạt động với nhiều thương hiệu khác nhau.

Tôi có cần HSM vật lý không?

Không nhất thiết. Bạn có thể dùng HSM thử nghiệm dạng phần mềm (SoftHSM2) để học và kiểm tra trước khi dùng thiết bị thật.

Chi tiết

Mô tả gốc của tác giả

Integrates Hardware Security Modules (HSMs) via the PKCS#11 interface using python-pkcs11, performing key generation, signing, encryption, verification, and token/slot queries against SoftHSM2, AWS CloudHSM, or YubiHSM2. Use when implementing HSM-backed key management or validating HSM configuration for FIPS 140-2/3 compliance.

repo: mukul975/Anthropic-Cybersecurity-Skills

Độ phổ biến

Sao GitHub
35k
Vị trí xếp hạng
#8239
Giấy phép
Apache-2.0
Cập nhật
31/8/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự