implementing-rsa-key-pair-management

implementing-rsa-key-pair-management is a skill for Claude Code, Codex from xalgorix/xalgorix. It costs 50 tokens per session (1,150 once invoked), scanned A, original, Apache-2.0.

A guide to creating, protecting, rotating, and storing RSA public–private key pairs. RSA is a cryptographic method used for encryption and digital signatures.

In plain words
What is it for?
Use it when building or reviewing systems that generate RSA keys, store them in PEM or DER files, protect them with passphrases, or check their strength.
Why use it?
It helps prevent weak key storage, unsafe encryption settings, and key-management mistakes that can expose protected data.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when building or reviewing systems that generate RSA keys, store them in PEM or DER files, protect them with passphrases, or check their strength.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xalgorix/xalgorix/implementing-rsa-key-pair-management
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add xalgorix/xalgorix --skill implementing-rsa-key-pair-management
Clone the repo
git clone --depth 1 https://github.com/xalgorix/xalgorix

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for implementing-rsa-key-pair-management

README.md
[![agentmods](https://agentmods.dev/badge/skills/xalgorix/xalgorix/implementing-rsa-key-pair-management/github.svg)](https://agentmods.dev/skills/xalgorix/xalgorix/implementing-rsa-key-pair-management)
Your own site
<a href="https://agentmods.dev/skills/xalgorix/xalgorix/implementing-rsa-key-pair-management"><img src="https://agentmods.dev/badge/skills/xalgorix/xalgorix/implementing-rsa-key-pair-management/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for implementing-rsa-key-pair-management

Your own site · 80×15
<a href="https://agentmods.dev/skills/xalgorix/xalgorix/implementing-rsa-key-pair-management"><img src="https://agentmods.dev/badge/skills/xalgorix/xalgorix/implementing-rsa-key-pair-management.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,150 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00050 $0.01150
Opus 5 $0.00025 $0.00575
Sonnet 5 $0.00010 $0.00230
Haiku 4.5 $0.00005 $0.00115

Measured 8d ago against content hash 5e1e5784704a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

implementing-rsa-key-pair-management scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

internal/tools/skills/data/cryptography/implementing-rsa-key-pair-management/SKILL.md · 104 lines

How it starts

The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Implementing RSA Key Pair Management

Overview

RSA (Rivest-Shamir-Adleman) is the most widely deployed asymmetric cryptographic algorithm, used for digital signatures, key exchange, and encryption. This skill covers generating, storing, rotating, and managing RSA key pairs following NIST SP 800-57 key management guidelines, including key serialization formats (PEM, DER, PKCS#8), passphrase protection, and key strength validation.

When to Use

  • When deploying or configuring implementing rsa key pair management capabilities in your environment
  • When establishing security controls aligned to compliance requirements
  • When building or improving security architecture for this domain
  • When conducting security assessments that require this implementation

Common Misconfigurations & Verification

  • PKCS#1 v1.5 encryption (padding oracle): RSA/PKCS1v15 decryption that reveals padding-validity (via errors or timing) enables a Bleichenbacher attack to recover plaintext. Use RSA-OAEP (padding.OAEP with SHA-256) for encryption, never PKCS1v15 for new systems.
  • PKCS#1 v1.5 signatures: prefer RSA-PSS for signing; if PKCS1v15 verification must stay for legacy, pin the exact hash and never mix.
  • Key too small / weak: reject keys <2048 bits (use ≥3072 for new deployments). Validate the modulus bit length and run a weak-key check (small factors, low public exponent like e=3 with no OAEP, shared primes / ROCA).
  • Unprotected private key: encrypt private keys with a strong passphrase (BestAvailableEncryption, AES-256) in PKCS#8, and store with 0600 permissions — never commit unencrypted PEMs.
  • No key rotation / versioning: rotate at least annually and retain old public keys for verifying historical signatures only.
  • Mandatory tests: an RSA-PSS signature over a tampered message is REJECTED; verification with the wrong public key is REJECTED; OAEP decryption of a corrupted ciphertext fails cleanly without leaking padding state; loading the private key with a wrong passphrase fails; key.key_size >= 3072 is asserted.

Read the full file on GitHub · 104 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 104 lines · 50 tokens per session scan A 5e1e5784704a

Subscribe to this mod's changes

implementing-rsa-key-pair-management is a skill published in the GitHub repository xalgorix/xalgorix (975 stars, last pushed 2d ago), licensed Apache-2.0. It adds 50 tokens to every session and 1,150 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

implementing-rsa-key-pair-management

RSA (Rivest-Shamir-Adleman) is the most widely deployed asymmetric cryptographic algorithm, used for digital signatures, key exchange, and encryption. This skill covers generating, storing, rotating.

Njones17/AI-agent-master-cyber-skills-list · 50 tokens

configuring-certificate-authority-with-openssl

A Certificate Authority (CA) is the trust anchor in a PKI hierarchy, responsible for issuing, signing, and revoking digital certificates. This skill covers building a two-tier CA hierarchy (Root CA +.

26zl/cybersec-toolkit · 52 tokens

configuring-hsm-for-key-storage

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.

26zl/cybersec-toolkit · 45 tokens

Cryptographic Analysis & Assessment

SSL/TLS auditing, cipher suite analysis, hash algorithm identification, encryption implementation review, and cryptographic weakness detection in code.

Masriyan/Claude-Code-CyberSecurity-Skill · 30 tokens

cryptography-expert

Expert in cryptographic algorithms, PKI, TLS/SSL, encryption standards, key management, and secure communication protocols. Use when the user mentions encryption, PKI, TLS, SSL, key management, or security, or when the task involves Cryptographic Fundamentals, Public Key Infrastructure, TLS/SSL Protocol, or Modern…

personamanagmentlayer/pcl · 72 tokens

configuring-tls-1-3-for-secure-communications

TLS 1.3 (RFC 8446) is the latest version of the Transport Layer Security protocol, providing significant improvements over TLS 1.2 in both security and performance. It reduces handshake latency to 1-R.

26zl/cybersec-toolkit · 59 tokens