[GH-ISSUE #2053] 有计划支持pkcs11接口吗 ? #1251

Open
opened 2026-02-27 00:02:49 +03:00 by kerem · 5 comments
Owner

Originally created by @jaychouwii on GitHub (Feb 9, 2021).
Original GitHub issue: https://github.com/electerm/electerm/issues/2053

Please check known issues first

https://github.com/electerm/electerm/wiki/Know-issues

Electerm version:

Operating system(linux, macos, or windows7/8/10?):

Expected Behavior

有计划对硬件PKI支持吗?如yubikey 飞天key,windows平台可以通过智能卡调用,通用平台可以通过pkcs11调用。
也可以通过其他开源软件如opensc去调用硬件pki

Can you reproduce the same behavior in other terminal:

Current Behavior

Possible Solution

Steps to Reproduce

Context (Environment)

Detailed Description

Suggestions?

Originally created by @jaychouwii on GitHub (Feb 9, 2021). Original GitHub issue: https://github.com/electerm/electerm/issues/2053 ## Please check known issues first https://github.com/electerm/electerm/wiki/Know-issues <!--- Provide some basic info --> ## Electerm version: ## Operating system(linux, macos, or windows7/8/10?): ## Expected Behavior <!--- Tell me what should happen --> 有计划对硬件PKI支持吗?如yubikey 飞天key,windows平台可以通过智能卡调用,通用平台可以通过pkcs11调用。 也可以通过其他开源软件如opensc去调用硬件pki ## Can you reproduce the same behavior in other terminal: <!--- If same bahavior happens in other terminal, maybe it is supposed to be like this or not a problem of terminal app --> ## Current Behavior <!--- Tell me what happens instead of the expected behavior --> ## Possible Solution <!--- Not obligatory, but suggest a fix/reason for the bug, --> ## Steps to Reproduce <!--- Provide a link to a live example, or an unambiguous set of steps to --> <!--- reproduce this bug. Include code to reproduce, if relevant --> 1. 2. 3. 4. ## Context (Environment) <!--- How has this issue affected you? What are you trying to accomplish? --> <!--- Providing context helps us come up with a solution that is most useful in the real world --> ## Detailed Description <!--- Provide a detailed description of the change or addition you are proposing --> ## Suggestions? <!--- Not a bug report, just some thoughts or suggestions? It is totally OK and welcome too -->
Author
Owner

@zxdong262 commented on GitHub (Feb 9, 2021):

请问是怎么样的工作流程呢

<!-- gh-comment-id:775638219 --> @zxdong262 commented on GitHub (Feb 9, 2021): 请问是怎么样的工作流程呢
Author
Owner

@jaychouwii commented on GitHub (Feb 9, 2021):

就是把public登录的私钥存储在usb硬件设备里面,秘钥不可导出。登录ssh的时候通过硬件pkcs11接口生成签名来登录ssh,下面是xshell的截图
image
微软智能卡接口,或者pkcs11接口也可以
image
macos yubikey的pkcs11接口
image

<!-- gh-comment-id:775697278 --> @jaychouwii commented on GitHub (Feb 9, 2021): 就是把public登录的私钥存储在usb硬件设备里面,秘钥不可导出。登录ssh的时候通过硬件pkcs11接口生成签名来登录ssh,下面是xshell的截图 ![image](https://user-images.githubusercontent.com/27796731/107323047-93cf7f80-6ae0-11eb-94a9-602ba05050af.png) 微软智能卡接口,或者pkcs11接口也可以 ![image](https://user-images.githubusercontent.com/27796731/107323120-b19ce480-6ae0-11eb-9ff4-40509199ccbc.png) macos yubikey的pkcs11接口 ![image](https://user-images.githubusercontent.com/27796731/107323255-e3ae4680-6ae0-11eb-9a1a-58b5dbcb5af2.png)
Author
Owner
<!-- gh-comment-id:775705625 --> @jaychouwii commented on GitHub (Feb 9, 2021): https://github.com/bserrang/fortify-projects/tree/a861c743f9dec776e7f410ba4e833acaaaddbcc3/webcrypto-local https://github.com/PeculiarVentures/node-webcrypto-p11
Author
Owner

@zxdong262 commented on GitHub (Feb 9, 2021):

@jaychouwii 感谢,我研究一下

<!-- gh-comment-id:775825656 --> @zxdong262 commented on GitHub (Feb 9, 2021): @jaychouwii 感谢,我研究一下
Author
Owner

@2096779623 commented on GitHub (Apr 12, 2024):

Any Progress?

<!-- gh-comment-id:2051759459 --> @2096779623 commented on GitHub (Apr 12, 2024): Any Progress?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#1251
No description provided.