https://github.com/smallstep/pem-key-wrap
🔐 Wrap PEM files using RSAES-OAEP with SHA-256 + AES-KWP
https://github.com/smallstep/pem-key-wrap
cryptography kms pem wrap
Last synced: 3 months ago
JSON representation
🔐 Wrap PEM files using RSAES-OAEP with SHA-256 + AES-KWP
- Host: GitHub
- URL: https://github.com/smallstep/pem-key-wrap
- Owner: smallstep
- License: apache-2.0
- Created: 2023-12-18T23:09:28.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-14T18:54:19.000Z (about 1 year ago)
- Last Synced: 2025-09-22T06:43:45.379Z (8 months ago)
- Topics: cryptography, kms, pem, wrap
- Language: Go
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 9
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🔐 pem-key-wrap
Wrap keys from a PEM file using RSAES-OAEP with SHA-256 + AES-KWP, the same as
the PKCS #11 key wrapping algorithm CKM_RSA_AES_KEY_WRAP.
This tool can be used for example for importing to Google's KMS or Microsoft
Azure's Key Vault.
## Install
```console
go install github.com/smallstep/pem-key-wrap@latest
```
## Usage
```console
pem-key-wrap --out wrapped.key priv.pem wrapping.pub
```