Skip to content

PEMEncrypt v0.2.0

Compare
Choose a tag to compare
@scrthq scrthq released this 10 Aug 07:06
ef8185d

Changelog

0.2.0 - 2019-08-10

  • Added New-RSAKeyPair to enable generation of RSA PEM and SSH keys directly from PowerShell
    • Supports password protection keys
    • Defaults to 4096 key length
    • Offers an Interactive mode using the -Interactive or -i switch to simulate ssh-keygen experience
  • Updated README with command comparisons between openssl, ssh-keygen and New-RSAKeyPair

Instructions

  1. Click here to download the PEMEncrypt.zip file attached to the release.
  2. If on Windows: Right-click the downloaded zip, select Properties, then unblock the file.

    This is to prevent having to unblock each file individually after unzipping.

  3. Unzip the archive.
  4. (Optional) Place the module folder somewhere in your PSModulePath.

    You can view the paths listed by running the environment variable $env:PSModulePath

  5. Import the module, using the full path to the PSD1 file in place of PEMEncrypt if the unzipped module folder is not in your PSModulePath:
    # In $env:PSModulePath
    Import-Module PEMEncrypt
    
    # Otherwise, provide the path to the manifest:
    Import-Module -Path C:\MyPSModules\PEMEncrypt\0.2.0\PEMEncrypt.psd1