wintersteiger / vscode-x509

MIT License
2 stars 0 forks source link

Remove OpenSSL requirement? #2

Open webprofusion-chrisc opened 1 year ago

webprofusion-chrisc commented 1 year ago

Hi, I found your project while looking for a quick VS Code integrated pem viewer. It's a great idea!

I happened to be trying it on a machine with no openssl in the path, so it failed to spawn openssl to do it's work. I wondered if perhaps this could use one of the many JS/Typescript based cert libraries from to achieve the same thing, and also offer a preview automatically when opening .pem, .cer, .key etc

https://github.com/PeculiarVentures/pv-certificates-viewer

Here is an example: https://peculiarventures.github.io/PVCertViewer/

I'd be interested in helping if this sounds useful.

wintersteiger commented 1 year ago

Sure, that sounds like a good idea! Personally, I mainly use OpenSSL, but I agree that a standalone solution would be nice.

I haven't worked with previews in VSCode yet, so I don't know whether there's an easy way to integrate this into the file editor without opening a new window for the preview. If that's easy enough then I'm all for it!