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: 14 days 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 (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-12T01:06:32.000Z (10 months ago)
- Last Synced: 2024-12-12T02:19:38.014Z (10 months ago)
- Topics: cryptography, kms, pem, wrap
- Language: Go
- Homepage:
- Size: 16.6 KB
- Stars: 0
- Watchers: 9
- Forks: 0
- Open Issues: 0
-
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
```