Implementing rsa key pair management

From xalgord/xalgorix · View interactive version

Implementing rsa key pair management is an AI agent skill from the GitHub repository xalgord/xalgorix. 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,

How to use this skill

Skill file

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

Common Misconfigurations & Verification

Prerequisites

Objectives

Key Concepts

RSA Key Sizes and Security Strength

| Key Size (bits) | Security Strength (bits) | Recommended Until |

|-----------------|-------------------------|-------------------|

| 2048 | 112 | 2030 |

| 3072 | 128 | Beyond 2030 |

| 4096 | ~140 | Beyond 2030 |

RSA Padding Schemes

| Scheme | Use Case | Standard |

|--------|----------|----------|

| OAEP | Encryption | PKCS#1 v2.2 (RFC 8017) |

| PSS | Signatures | PKCS#1 v2.2 (RFC 8017) |

| PKCS#1 v1.5 | Legacy only | Deprecated for new systems |

Key Storage Formats

Security Considerations

Validation Criteria

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.