Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release .Net SDK v16.6.8 #672

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@{
ModuleVersion = '16.6.6'
ModuleVersion = '16.6.8'
RootModule = 'SecretManagement.Keeper.Extension.psm1'
RequiredAssemblies = '../SecretManagement.Keeper.dll'
CompatiblePSEditions = @('Core')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ function Get-Config {
param (
[string] $LocalVaultName
)
if ($PSVersionTable.PSVersion.Major -lt 6) {
Write-Error "Keeper Secrets Manager requires PowerShell version 6 or greater - version ($($PSVersionTable.PSVersion.ToString())) is not supported."
return $null
}

$vaults = Microsoft.Powershell.SecretManagement\Get-SecretVault
$localVault = $vaults.Where( { $_.Name -eq $LocalVaultName } ) # SecretStore/LocalStore
if (!$localVault) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyName>SecretManagement.Keeper</AssemblyName>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<AssemblyVersion>16.6.7</AssemblyVersion>
<FileVersion>16.6.7</FileVersion>
<AssemblyVersion>16.6.8</AssemblyVersion>
<FileVersion>16.6.8</FileVersion>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@{
ModuleVersion = '16.6.7'
ModuleVersion = '16.6.8'
CompatiblePSEditions = @('Core')
GUID = '20ab89cb-f0dd-4e8e-b276-f3a7708c1eb2'
Author = 'Sergey Aldoukhov'
Expand All @@ -8,7 +8,7 @@
Description = 'SecretManagement extension vault for Keeper'
RootModule = './SecretManagement.Keeper.psm1'
NestedModules = @('./SecretManagement.Keeper.Extension')
PowerShellVersion = '5.1'
PowerShellVersion = '6.0'
FunctionsToExport = @('Register-KeeperVault')
CmdletsToExport = @()
VariablesToExport = @()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ function Register-KeeperVault {
[string] $Config,
[string] $LocalVaultName
)
if (($PSVersionTable.PSVersion.Major -lt 5) -or (($PSVersionTable.PSVersion.Major -eq 5) -and ($PSVersionTable.PSVersion.Minor -eq 0))) {
Write-Error "Keeper Secrets Manager: this version of Powershell ($($PSVersionTable.PSVersion.ToString())) is not supported"
if ($PSVersionTable.PSVersion.Major -lt 6) {
Write-Error "Keeper Secrets Manager requires PowerShell version 6 or greater - version ($($PSVersionTable.PSVersion.ToString())) is not supported."
return
}
$vaults = Microsoft.Powershell.SecretManagement\Get-SecretVault
Expand Down Expand Up @@ -51,4 +51,4 @@ function Register-KeeperVault {
Microsoft.Powershell.SecretManagement\Register-SecretVault -Name $Name -ModuleName SecretManagement.Keeper -VaultParameters $vaultParameters
# for local testing
# Microsoft.Powershell.SecretManagement\Register-SecretVault -Name $Name -ModuleName ./SecretManagement.Keeper.psd1 -VaultParameters $vaultParameters
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="NUnit" Version="4.1.0" />
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" />
<PackageReference Include="NUnit" Version="4.2.2" />
<PackageReference Include="NUnit3TestAdapter" Version="4.6.0" />
<PackageReference Include="coverlet.collector" Version="6.0.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
Expand Down
8 changes: 4 additions & 4 deletions sdk/dotNet/SecretsManager/SecretsManager.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<LangVersion>9</LangVersion>
<Company>Keeper Security Inc.</Company>
<Product>SecretsManager .Net SDK</Product>
<AssemblyVersion>16.6.7</AssemblyVersion>
<FileVersion>16.6.7</FileVersion>
<PackageVersion>16.6.7</PackageVersion>
<AssemblyVersion>16.6.8</AssemblyVersion>
<FileVersion>16.6.8</FileVersion>
<PackageVersion>16.6.8</PackageVersion>
<NeutralLanguage>en-US</NeutralLanguage>
<PackageId>Keeper.SecretsManager</PackageId>
<Authors>Sergey Aldoukhov</Authors>
Expand All @@ -23,7 +23,7 @@

<ItemGroup>
<PackageReference Include="BouncyCastle.Cryptography" Version="2.4.0" />
<PackageReference Include="System.Text.Json" Version="8.0.4" />
<PackageReference Include="System.Text.Json" Version="8.0.5" />
<PackageReference Include="System.Text.Encodings.Web" Version="8.0.0" />
</ItemGroup>

Expand Down
Loading