[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ET476A1T8Y69FASH5NANQK":3,"skill-same:01M6ET476A1T8Y69FASH5NANQK":120},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":63,"commitSha":64,"skillDirectory":65,"forksCount":14,"repositoryHtmlUrl":66,"repositoryHomepageUrl":67,"ownerHtmlUrl":68,"ownerBlogUrl":6,"ownerDescription":69,"updatedAt":70,"install":71,"resources":84},"01M6ET476A1T8Y69FASH5NANQK","configuring-hsm-for-key-storage",null,"Hardware Security Modules (HSMs) are tamper-resistant physical devices that safeguard cryptographic keys and perform cryptographic operations in a hardened environment. Keys stored in an HSM never lea","henriquescastilho\u002Fmy-claude","henriquescastilho","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F153296945?v=4","01M6ESH7EXPXTH9CVQ4K16SRG8","Henrique Scheer","01M6ESH7JHEK2PTNNH4HEH787Z",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fconfiguring-hsm-for-key-storage\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"storage","hsm","configuring hsm for key storage","t1078","physical","map","manage","modules","never","operations","environment","aml","devices","hardware security","hardware-security","pkcs11","key-management","cryptography","pr","cybersecurity","2026-11-10 10:12:30",false,"---\nname: configuring-hsm-for-key-storage\ndescription: Hardware Security Modules (HSMs) are tamper-resistant physical devices\n  that safeguard cryptographic keys and perform cryptographic operations in a hardened\n  environment. Keys stored in an HSM never lea\ndomain: cybersecurity\nsubdomain: cryptography\ntags:\n- cryptography\n- hsm\n- key-management\n- pkcs11\n- hardware-security\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_ai_rmf:\n- MEASURE-2.7\n- MAP-5.1\n- MANAGE-2.4\natlas_techniques:\n- AML.T0070\n- AML.T0066\n- AML.T0082\nnist_csf:\n- PR.DS-01\n- PR.DS-02\n- PR.DS-10\nmitre_attack:\n- T1552.004\n- T1555\n- T1078\n---\n# Configuring HSM for Key Storage\n\n## Overview\n\nHardware Security Modules (HSMs) are tamper-resistant physical devices that safeguard cryptographic keys and perform cryptographic operations in a hardened environment. Keys stored in an HSM never leave the device boundary, providing the highest level of key protection. This skill covers configuring HSMs using the PKCS#11 standard interface, including key generation, signing, encryption, and key management using both physical HSMs and SoftHSM2 for development.\n\n\n## When to Use\n\n- When deploying or configuring configuring hsm for key storage capabilities in your environment\n- When establishing security controls aligned to compliance requirements\n- When building or improving security architecture for this domain\n- When conducting security assessments that require this implementation\n\n## Prerequisites\n\n- Familiarity with cryptography concepts and tools\n- Access to a test or lab environment for safe execution\n- Python 3.8+ with required dependencies installed\n- Appropriate authorization for any testing activities\n\n## Objectives\n\n- Configure SoftHSM2 as a development PKCS#11 provider\n- Generate and manage keys inside the HSM via PKCS#11\n- Perform cryptographic operations (sign, verify, encrypt, decrypt) using HSM-resident keys\n- Implement HSM-backed certificate authority operations\n- Configure key access policies and user authentication\n- Interface with cloud HSM services (AWS CloudHSM, Azure)\n\n## Key Concepts\n\n### HSM Compliance Levels\n\n| FIPS Level | Protection | Use Case |\n|-----------|-----------|----------|\n| FIPS 140-2 Level 1 | Software only | Development |\n| FIPS 140-2 Level 2 | Tamper-evident, role-based auth | General production |\n| FIPS 140-2 Level 3 | Tamper-resistant, identity-based auth | Financial, government |\n| FIPS 140-2 Level 4 | Physical tamper response | Military, classified |\n\n### PKCS#11 Architecture\n\n```\nApplication --> PKCS#11 API --> HSM Provider --> Hardware HSM\n                                    |\n                              (SoftHSM2 for dev)\n```\n\n### Key Objects in PKCS#11\n\n| Object Type | Description | Operations |\n|-------------|-------------|-----------|\n| CKO_SECRET_KEY | Symmetric keys (AES) | Encrypt, Decrypt, Wrap |\n| CKO_PUBLIC_KEY | Public keys (RSA, EC) | Verify, Encrypt, Wrap |\n| CKO_PRIVATE_KEY | Private keys (RSA, EC) | Sign, Decrypt, Unwrap |\n| CKO_CERTIFICATE | X.509 certificates | Storage, retrieval |\n\n## Security Considerations\n\n- Never export private keys from HSM (use CKA_EXTRACTABLE=False)\n- Use separate slots\u002Fpartitions for different applications\n- Implement multi-person key ceremony for CA root keys\n- Enable audit logging for all HSM operations\n- Implement HSM backup and disaster recovery\n- Use strong PINs and enable SO (Security Officer) PIN\n\n## Validation Criteria\n\n- [ ] SoftHSM2 initializes with token and user PIN\n- [ ] AES key generates inside HSM\n- [ ] RSA key pair generates inside HSM\n- [ ] Encryption\u002Fdecryption uses HSM-resident keys\n- [ ] Signing\u002Fverification uses HSM-resident keys\n- [ ] Keys cannot be exported (non-extractable)\n- [ ] Key listing shows all HSM-stored objects\n","# Configuring HSM for Key Storage\n\n## Overview\n\nHardware Security Modules (HSMs) are tamper-resistant physical devices that safeguard cryptographic keys and perform cryptographic operations in a hardened environment. Keys stored in an HSM never leave the device boundary, providing the highest level of key protection. This skill covers configuring HSMs using the PKCS#11 standard interface, including key generation, signing, encryption, and key management using both physical HSMs and SoftHSM2 for development.\n\n\n## When to Use\n\n- When deploying or configuring configuring hsm for key storage capabilities in your environment\n- When establishing security controls aligned to compliance requirements\n- When building or improving security architecture for this domain\n- When conducting security assessments that require this implementation\n\n## Prerequisites\n\n- Familiarity with cryptography concepts and tools\n- Access to a test or lab environment for safe execution\n- Python 3.8+ with required dependencies installed\n- Appropriate authorization for any testing activities\n\n## Objectives\n\n- Configure SoftHSM2 as a development PKCS#11 provider\n- Generate and manage keys inside the HSM via PKCS#11\n- Perform cryptographic operations (sign, verify, encrypt, decrypt) using HSM-resident keys\n- Implement HSM-backed certificate authority operations\n- Configure key access policies and user authentication\n- Interface with cloud HSM services (AWS CloudHSM, Azure)\n\n## Key Concepts\n\n### HSM Compliance Levels\n\n| FIPS Level | Protection | Use Case |\n|-----------|-----------|----------|\n| FIPS 140-2 Level 1 | Software only | Development |\n| FIPS 140-2 Level 2 | Tamper-evident, role-based auth | General production |\n| FIPS 140-2 Level 3 | Tamper-resistant, identity-based auth | Financial, government |\n| FIPS 140-2 Level 4 | Physical tamper response | Military, classified |\n\n### PKCS#11 Architecture\n\n```\nApplication --> PKCS#11 API --> HSM Provider --> Hardware HSM\n                                    |\n                              (SoftHSM2 for dev)\n```\n\n### Key Objects in PKCS#11\n\n| Object Type | Description | Operations |\n|-------------|-------------|-----------|\n| CKO_SECRET_KEY | Symmetric keys (AES) | Encrypt, Decrypt, Wrap |\n| CKO_PUBLIC_KEY | Public keys (RSA, EC) | Verify, Encrypt, Wrap |\n| CKO_PRIVATE_KEY | Private keys (RSA, EC) | Sign, Decrypt, Unwrap |\n| CKO_CERTIFICATE | X.509 certificates | Storage, retrieval |\n\n## Security Considerations\n\n- Never export private keys from HSM (use CKA_EXTRACTABLE=False)\n- Use separate slots\u002Fpartitions for different applications\n- Implement multi-person key ceremony for CA root keys\n- Enable audit logging for all HSM operations\n- Implement HSM backup and disaster recovery\n- Use strong PINs and enable SO (Security Officer) PIN\n\n## Validation Criteria\n\n- [ ] SoftHSM2 initializes with token and user PIN\n- [ ] AES key generates inside HSM\n- [ ] RSA key pair generates inside HSM\n- [ ] Encryption\u002Fdecryption uses HSM-resident keys\n- [ ] Signing\u002Fverification uses HSM-resident keys\n- [ ] Keys cannot be exported (non-extractable)\n- [ ] Key listing shows all HSM-stored objects\n",{"name":5,"tags":44,"author":45,"domain":38,"license":15,"version":46,"nist_csf":47,"subdomain":36,"description":7,"nist_ai_rmf":51,"mitre_attack":55,"atlas_techniques":59},[36,20,35,34,33],"mahipal","1.0",[48,49,50],"PR.DS-01","PR.DS-02","PR.DS-10",[52,53,54],"MEASURE-2.7","MAP-5.1","MANAGE-2.4",[56,57,58],"T1552.004","T1555","T1078",[60,61,62],"AML.T0070","AML.T0066","AML.T0082","main","7925716f065257435fdb12e97f7e52842147d5ad",".claude\u002Fskills\u002Fconfiguring-hsm-for-key-storage","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude","https:\u002F\u002Fclaude.com\u002Fclaude-code","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho","Software · Applied AI · Quantitative Modeling · Building with Claude.","2026-06-10 12:24:46",{"source":8,"skillName":5,"commands":72,"prompt":82,"zipAvailable":83},[73,76,79],{"tool":74,"command":75},"npx","npx skills add henriquescastilho\u002Fmy-claude --skill configuring-hsm-for-key-storage",{"tool":77,"command":78},"bunx","bunx skills add henriquescastilho\u002Fmy-claude --skill configuring-hsm-for-key-storage",{"tool":80,"command":81},"pnpm","pnpm dlx skills add henriquescastilho\u002Fmy-claude --skill configuring-hsm-for-key-storage","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fconfiguring-hsm-for-key-storage\u002FSKILL.md",true,[85,91,96,102,106,110,116],{"path":86,"resourceType":87,"resourceTypeDesc":88,"sizeBytes":89,"sourceHtmlUrl":90},"assets\u002Ftemplate.md","ASSET","资产文件",1254,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fconfiguring-hsm-for-key-storage\u002Fassets\u002Ftemplate.md",{"path":92,"resourceType":92,"resourceTypeDesc":93,"sizeBytes":94,"sourceHtmlUrl":95},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fconfiguring-hsm-for-key-storage\u002FLICENSE",{"path":97,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":100,"sourceHtmlUrl":101},"references\u002Fapi-reference.md","REFERENCE","参考文档",1807,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fconfiguring-hsm-for-key-storage\u002Freferences\u002Fapi-reference.md",{"path":103,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":104,"sourceHtmlUrl":105},"references\u002Fstandards.md",1611,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fconfiguring-hsm-for-key-storage\u002Freferences\u002Fstandards.md",{"path":107,"resourceType":98,"resourceTypeDesc":99,"sizeBytes":108,"sourceHtmlUrl":109},"references\u002Fworkflows.md",1586,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fconfiguring-hsm-for-key-storage\u002Freferences\u002Fworkflows.md",{"path":111,"resourceType":112,"resourceTypeDesc":113,"sizeBytes":114,"sourceHtmlUrl":115},"scripts\u002Fagent.py","SCRIPT","脚本",4940,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fconfiguring-hsm-for-key-storage\u002Fscripts\u002Fagent.py",{"path":117,"resourceType":112,"resourceTypeDesc":113,"sizeBytes":118,"sourceHtmlUrl":119},"scripts\u002Fprocess.py",13002,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fconfiguring-hsm-for-key-storage\u002Fscripts\u002Fprocess.py",[121,164,173,182,203,231],{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":125,"licenseFileUrl":6,"sourceHtmlUrl":126,"categories":127,"keywords":144,"publishedAt":39},"01M6F0B6XPQ65AX2X0DWK8KT3E","markitdown","Convert files and office documents to Markdown. Supports PDF, DOCX, PPTX, XLSX, images (with OCR), audio (with transcription), HTML, CSV, JSON, XML, ZIP, YouTube URLs, EPubs and more.","MIT","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[128,133,136,139],{"categoryNo":129,"categoryName":130,"taxonomyType":131,"taxonomyTypeDesc":132},"01JBSEEDCAT000000000000002","文档处理","SCENARIO","使用场景",{"categoryNo":134,"categoryName":135,"taxonomyType":131,"taxonomyTypeDesc":132},"01JBSEEDCAT000000000000003","演示文稿",{"categoryNo":137,"categoryName":138,"taxonomyType":131,"taxonomyTypeDesc":132},"01JBSEEDCAT000000000000004","电子表格",{"categoryNo":140,"categoryName":141,"taxonomyType":142,"taxonomyTypeDesc":143},"01JBSEEDCAT000000000000034","行政与办公人员","PROFESSION","适用职业",[123,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163],"docx","PDF","pptx","xlsx","documents","csv","ocr","Audio","Bash","markdown","convert","read","write","edit","html","images","files","youtube","with",{"skillNo":165,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":125,"licenseFileUrl":6,"sourceHtmlUrl":166,"categories":167,"keywords":172,"publishedAt":39},"01M6F06SBHR9F0SDWE282Y8075","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002Fscientific_writer\u002F.claude\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[168,169,170,171],{"categoryNo":129,"categoryName":130,"taxonomyType":131,"taxonomyTypeDesc":132},{"categoryNo":134,"categoryName":135,"taxonomyType":131,"taxonomyTypeDesc":132},{"categoryNo":137,"categoryName":138,"taxonomyType":131,"taxonomyTypeDesc":132},{"categoryNo":140,"categoryName":141,"taxonomyType":142,"taxonomyTypeDesc":143},[123,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163],{"skillNo":174,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":125,"licenseFileUrl":6,"sourceHtmlUrl":175,"categories":176,"keywords":181,"publishedAt":39},"01M6F02D4R14EJAPBWVDF9J9VQ","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002F.claude\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[177,178,179,180],{"categoryNo":129,"categoryName":130,"taxonomyType":131,"taxonomyTypeDesc":132},{"categoryNo":134,"categoryName":135,"taxonomyType":131,"taxonomyTypeDesc":132},{"categoryNo":137,"categoryName":138,"taxonomyType":131,"taxonomyTypeDesc":132},{"categoryNo":140,"categoryName":141,"taxonomyType":142,"taxonomyTypeDesc":143},[123,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163],{"skillNo":183,"name":184,"nameZh":6,"description":185,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":125,"licenseFileUrl":6,"sourceHtmlUrl":186,"categories":187,"keywords":188,"publishedAt":39},"01M6F000KS6YB4MKS774G4R8ND","zarr-python","Chunked N-D arrays for cloud storage. Compressed arrays, parallel I\u002FO, S3\u002FGCS integration, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fzarr-python\u002FSKILL.md",[],[189,190,19,191,192,193,194,195,196,197,198,199,200,201,202],"python","zarr python","integration","s3","gcs","cloud","dask","parallel","pipelines","arrays","numpy","scientific computing","scale","scientific",{"skillNo":204,"name":205,"nameZh":6,"description":206,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":125,"licenseFileUrl":6,"sourceHtmlUrl":207,"categories":208,"keywords":212,"publishedAt":39},"01M6EZZJWFXM1GR78KTW6J0DN8","what-if-oracle","Run structured What-If scenario analysis with multi-branch possibility exploration. Use this skill when the user asks speculative questions like \"what if...\", \"what would happen if...\", \"what are the possibilities\", \"explore scenarios\", \"scenario analysis\", \"possibility space\", \"what could go wrong\", \"best case \u002F worst case\", \"risk analysis\", \"contingency planning\", \"strategic options\", or any question about uncertain futures. Also trigger when the user faces a fork-in-the-road decision, wants to stress-test an idea, or needs to think through consequences before committing.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fwhat-if-oracle\u002FSKILL.md",[209],{"categoryNo":210,"categoryName":211,"taxonomyType":131,"taxonomyTypeDesc":132},"01JBSEEDCAT000000000000023","Skill与智能体开发",[213,214,215,216,217,218,219,220,221,222,223,156,157,224,225,226,227,228,229,230],"oracle","what if oracle","go","run","ux","futures","analysis","explore","decision","branch","question","idea","exploration","options","stress-test","strategies","scenario","stress",{"skillNo":232,"name":233,"nameZh":6,"description":234,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":125,"licenseFileUrl":6,"sourceHtmlUrl":235,"categories":236,"keywords":247,"publishedAt":39},"01M6EZZCXAEB49RXGQCJX5E8GB","venue-templates","Access comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fvenue-templates\u002FSKILL.md",[237,240,243,244],{"categoryNo":238,"categoryName":239,"taxonomyType":131,"taxonomyTypeDesc":132},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":241,"categoryName":242,"taxonomyType":131,"taxonomyTypeDesc":132},"01JBSEEDCAT000000000000021","资料检索与研究",{"categoryNo":210,"categoryName":211,"taxonomyType":131,"taxonomyTypeDesc":132},{"categoryNo":245,"categoryName":246,"taxonomyType":142,"taxonomyTypeDesc":143},"01JBSEEDCAT000000000000036","内容创作者",[248,249,250,251,252,253,254,255,153,256,156,157,158,257,258,259,260,261,202,262],"templates","venue templates","research","guidelines","NeurIPS","ICML","LaTeX","science","access","proposals","Academic","requirements","formatting","journal","chi"]