Skip to content

Commit

Permalink
Fixed bug on Linux/Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
codyhosterman committed Apr 26, 2022
1 parent 3316c0d commit fc4112f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions PureStorage.Pure1.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
Created by: Cody Hosterman
Organization: Pure Storage, Inc.
Filename: Cody.PureStorage.Pure1.psd1
Version: 1.4.4.1
Copyright: 2021 Pure Storage, Inc.
Version: 1.4.4.2
Copyright: 2022 Pure Storage, Inc.
-------------------------------------------------------------------------
Module Name: PureStoragePure1PowerShell
Disclaimer
Expand All @@ -30,7 +30,7 @@
RootModule = 'PureStorage.Pure1.psm1'

# Version number of this module; major.minor[.build[.revision]]
ModuleVersion = '1.4.4.1'
ModuleVersion = '1.4.4.2'

# ID used to uniquely identify this module
GUID = '65867a33-8c09-4651-8043-96c2f7ca2893'
Expand All @@ -42,7 +42,7 @@
CompanyName = 'Pure Storage, Inc.'

# Copyright statement for this module
Copyright = '(c) 2021 Pure Storage, Inc. All rights reserved.'
Copyright = '(c) 2022 Pure Storage, Inc. All rights reserved.'

# Description of the functionality provided by this module
Description = 'Pure Storage Pure1 REST API integration with PowerShell.'
Expand Down
2 changes: 1 addition & 1 deletion PureStorage.Pure1.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ function New-PureOneCertificate {
{
throw "The entered private key password must be more than 4 characters and less than 1023 characters."
}
openssl genrsa -aes256 -passout pass:$DecryptedRsaPassword -out $keypath/PureOnePrivate.pem 2048 2>/dev/null
openssl genrsa -aes256 -passout pass:$DecryptedPassword -out $keypath/PureOnePrivate.pem 2048 2>/dev/null
openssl rsa -in $keypath/PureOnePrivate.pem -outform PEM -pubout -out $keypath/PureOnePublic.pem -passin pass:$DecryptedPassword 2>/dev/null
$keyPaths = [ordered]@{
PrivateKey = "$($keyPath)/PureOnePrivate.pem"
Expand Down

0 comments on commit fc4112f

Please sign in to comment.