spacewander / lua-resty-rsa

RSA encrypt/decrypt & sign/verify for OpenResty/LuaJIT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

私钥加密需求(private key encrypt demand)

LiuYawei2019 opened this issue · comments

私钥加密需求(private key encrypt demand)

lua-resty-rsa是一个遵循”公钥加密、私钥解密“的类库,公钥是对外部开放的Key,存在公钥被获后模拟加密请求的风险。为了业务的安全希望能够做到遵循”私钥加密、公钥解密“这种模式,目前lua-resty-rsa并没有支持该场景。希望升级该类库能够支持”私钥加密、公钥解密“这种模式。
(Lua-resty-rsa is a class library that follows the "public key encryption and private key decryption" principle. Public keys are open to the public, and there is a risk of simulating encryption requests after the public key is obtained. For the sake of business security, it is hoped that the "private key encryption and public key decryption" mode can be followed. Currently, lua-resty-rsa does not support this scenario. It is hoped that the class library can be upgraded to support the "private key encryption and public key decryption" mode.)