-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
出于相同需求,也“被迫”实现了这么一个模块,看到作者博客中文末的信息,特意上来留个言。
有几个建议:
- 当前默认没有实现针对有密码私钥的处理,可以参考原文中参考的 lua 模块实现,也可以参考我 issue 文末提到的文章中的解决方式。
- 当前模块参考老外的实现,只是 demo,缺少对于外部引用变量的清理操作,建议添加。
- 可以考虑区别对待公钥和私钥对象的创建。
- 可以考虑参考文章进一步实现一个 nginx 模块,在资源利用率上会有更大的提升。
完整记录: https://soulteary.com/2021/08/16/write-nginx-module-for-rsa-encryption-and-decryption.html
Metadata
Metadata
Assignees
Labels
No labels