PeculiarVentures / PKI.js

PKI.js is a pure JavaScript library implementing the formats that are used in PKI applications (signing, encryption, certificate requests, OCSP and TSP requests/responses). It is built on WebCrypto (Web Cryptography API) and requires no plug-ins.
http://pkijs.org
Other
1.25k stars 204 forks source link

can this library be used to read certs from Windows Certificate store? #270

Closed sumantfordev closed 4 years ago

sumantfordev commented 4 years ago

can this library be used to read certs from Windows Certificate store? Running an application from browser if teh application embedded with pki.js can be used to access certs from the device certificate store?

YuryStrozhevsky commented 4 years ago

@sumantfordev The library works with ArrayBuffer input data only. So, it is not important, from the library's perspective, where you would get the ArrayBuffer. Thus if you would find a way how to get certificate from Widnows Store, encode it into ArrayBuffer then PKIjs would parse the data. How to get certificate from Windows Store - out of scope for the PKIjs.

rmhrisk commented 4 years ago

@sumantfordev look at fortifyapp.com we built it to do just that.