PKISolutions / PSPKI

PowerShell PKI Module
Microsoft Public License
389 stars 59 forks source link

Installing In Controlled Environments #186

Closed dtklein closed 1 year ago

dtklein commented 1 year ago

If this is already documented and I missed it, apologies for the repeat, and a pointer to the existing doc would be appreciated.

For those working in controlled environments, where this would need to be brought into an internal repository (after being vetted, scanned, etc), are there direct URLs to the package and/or installer? I'm speaking with someone who cannot use "Install-Package" or NuGet, and would like to know if there is a releases page with direct links to retrieve the recent versions of this, for onboarding to the internal repository system.

Crypt32 commented 1 year ago

Hmm...it seems PowerShell gallery doesn't support ZIP package download. The only way I'm aware of is to install module on a computer where Nuget/PS gallery is enabled and then copy installed files to destination environment. All files that support signing are digitally signed, so you can check files integrity.

Alternatively, you can download raw Nuget package: https://www.powershellgallery.com/packages/PSPKI/: image and rename file extension from .nupkg to .zip. image stripped lines are irrelevant to module files which are safe to delete.

dtklein commented 1 year ago

Thank you very much. I'll see if I can spin up a Windows VM on a red-network, install via the nupkg, bundle it on removable media, and bring it for scanning, ingestion, etc, to place on internal repo on the black network.

@Crypt32, thank you for this awesome tool (this is not the first org I have been showing it to) and for being so wonderfully responsive to weird environments and questions.