intel / ehsm

An End-to-End Distributed and Scalable Cloud KMS (Key Management System) built on top of Intel SGX enclave-based HSM (Hardware Security Module), aka eHSM.

Home Page:https://community.intel.com/t5/Blogs/Tech-Innovation/open-intel/An-Intel-SGX-based-Hardware-Security-Module-backed-Key/post/1360130?wapkw=eHSM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: RSA key can't work

nntp4 opened this issue · comments

commented

Example:

# 1.
cd ehsm && ./run_with_single.sh

cd test/cli

# 2.  here return success
python3 createkey.py --url  https://127.0.0.1:9002 --keyspec EH_RSA_4096  --origin EH_INTERNAL_KEY --padding_mode EH_PAD_RSA_PKCS1

image

# 3.
python3 asymmetric_encrypt.py  --url https://127.0.0.1:9002 --keyid  0c96e815-6969-47f1-ac9b-03ba0c5fa888  --data MTIzNA==

image