Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 5 days ago
JSON representation

🔐 Wrap PEM files using RSAES-OAEP with SHA-256 + AES-KWP

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
```