Accessing signing/encryption in a browser's Keystore using JavaScript - sample code? (WebCryptoAPI)

后端 未结 3 1691
北荒
北荒 2020-12-05 15:26

I have a web server that allows access only using X509 authentication. Works like a charm. Now I want to extend the use of the X509 certificates (which are stored in the use

3条回答
  •  被撕碎了的回忆
    2020-12-05 15:48

    It is not possible to access the "local keystore" within the browser. Browsers slowly removing access to things that break the Same Origin Policy enforced by browsers. This includes things like plug-ins, the keygen tag, etc.

    PKIjs was built with Same Origin Policy PKI in mind, here is a post I did on that topic - https://unmitigatedrisk.com/?p=503

提交回复
热议问题