performing-hardware-security-module-integration
यह क्या करती है
यह टूल आपके कंप्यूटर को एक ख़ास सुरक्षा डिवाइस (HSM) से जोड़ने में मदद करता है, ताकि आपकी गुप्त keys सुरक्षित रहें। यह keys बना सकता है, दस्तावेज़ों पर signing कर सकता है, और जांच सकता है कि सब कुछ सुरक्षित है या नहीं।
कब इस्तेमाल करें
- ✓किसी नए सुरक्षा डिवाइस को अपनी keys की सुरक्षा के लिए सेट करते समय।
- ✓यह जांचने के लिए कि सुरक्षा डिवाइस सही तरह काम कर रहा है या नहीं।
- ✓यह देखने के लिए कि सुरक्षा सेटिंग्स आधिकारिक मानकों पर खरी हैं या नहीं।
Skill का लिंक
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-hardware-security-module-integration/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मैं अपने HSM पर key generation का टेस्ट करना चाहता हूं और देखना चाहता हूं कि वह RSA signing को सपोर्ट करता है या नहीं।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
टूल सुरक्षा डिवाइस से बात करने के लिए एक मानक भाषा (PKCS#11) का इस्तेमाल करता है। वह डिवाइस के निर्देश लोड करता है, डिवाइस के अंदर keys बनाता है, और signing जैसे काम करता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
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-pkcs11provider configured
Steps
- Load PKCS#11 library and enumerate available slots and tokens
- Open session and authenticate with user PIN
- Generate RSA 2048-bit or EC P-256 key pairs on the HSM
- Perform signing and verification using on-device keys
- List all objects (keys, certificates) stored on the token
- Query mechanism list to verify supported algorithms
- 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
अक्सर पूछे जाने वाले सवाल
HSM क्या है?
यह एक भौतिक डिवाइस या सॉफ़्टवेयर है जो आपकी गुप्त keys को सुरक्षित रखता है, ताकि उन्हें कोई चुरा न सके या बिना अनुमति इस्तेमाल न कर सके।
PKCS#11 क्या है?
यह प्रोग्रामों के लिए सुरक्षा डिवाइस जैसे HSM से बात करने का एक मानक तरीका है। इससे अलग-अलग ब्रांड के डिवाइस के साथ काम करना आसान होता है।
क्या मुझे असली HSM चाहिए?
ज़रूरी नहीं। सीखने और टेस्ट करने के लिए आप सॉफ़्टवेयर पर आधारित टेस्ट HSM (SoftHSM2) इस्तेमाल कर सकते हैं, और फिर असली डिवाइस पर जा सकते हैं।
जानकारी
लेखक का मूल विवरण
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.
लोकप्रियता
- GitHub स्टार
- 35k
- रैंकिंग में स्थान
- #8239
- लाइसेंस
- Apache-2.0
- अपडेट की गई
- 31/8/2026
कमेंट
- …
इस repository की और skills
abusing-dpapi-for-credential-access
35kआपके AI एजेंट को किसी खास काम के लिए तैयार instructions देता है, ताकि वह उसे बेहतर और तेज़ी से कर सके।
abusing-shadow-credentials-for-privesc
35kआपके AI एजेंट को साफ़ और अच्छी तरह से व्यवस्थित लिखना सिखाता है।
achieving-cmmc-level-2-compliance
35kयह आपके एजेंट को CMMC Level 2 compliance के लिए environment तैयार करने में मदद करता है। यह security requirements लागू करता है और ज़रूरी documentation संभालता है।
acquiring-disk-image-with-dd-and-dcfldd
35kआपके एजेंट को hard drives की exact copies बनाने में मदद करता है। जाँच के दौरान किसी भी जानकारी के खोने या बदलने से बचाने के लिए यह उपयोगी है।
मिलती-जुलती skills
test-driven-development
311kयह आपके एजेंट को किसी भी फ़ीचर या सुधार से पहले पहले असफल होने वाला टेस्ट लिखना, उसे असफल होते देखना, फिर पास करने वाला सबसे छोटा कोड लिखना सिखाती है।
verification-before-completion
311kयह आपके एजेंट को किसी काम, सुधार या build के पूरा या पास होने का दावा करने से पहले असली जांच चलाकर उसका आउटपुट पढ़ना सिखाती है।
migrate-to-shoehorn
310kआपकी टेस्ट फ़ाइलों में जोखिम भरे type casts की जगह shoehorn लाइब्रेरी लगाती है, ताकि टेस्ट अधूरे डेटा से भी type checks पास कर सकें।