diff --git a/sdk/dotNet/README.md b/sdk/dotNet/README.md index 107983ca..2110d71c 100644 --- a/sdk/dotNet/README.md +++ b/sdk/dotNet/README.md @@ -3,6 +3,10 @@ # Change Log +## 16.6.4 + +* KSM-466 - Fixed ExpiresOn conversion from UnixTimeMilliseconds. Closes [Issue #533] + ## 16.6.3 * KSM-462 - Fixed JSON serializer that replaces characters with accents. Closes [Issue #523](https://github.com/Keeper-Security/secrets-manager/issues/523) diff --git a/sdk/dotNet/SecretManagement.Keeper/SecretManagement.Keeper.Extension/SecretManagement.Keeper.Extension.psd1 b/sdk/dotNet/SecretManagement.Keeper/SecretManagement.Keeper.Extension/SecretManagement.Keeper.Extension.psd1 index b280139d..46074a60 100644 --- a/sdk/dotNet/SecretManagement.Keeper/SecretManagement.Keeper.Extension/SecretManagement.Keeper.Extension.psd1 +++ b/sdk/dotNet/SecretManagement.Keeper/SecretManagement.Keeper.Extension/SecretManagement.Keeper.Extension.psd1 @@ -1,5 +1,5 @@ @{ - ModuleVersion = '16.6.2' + ModuleVersion = '16.6.4' RootModule = 'SecretManagement.Keeper.Extension.psm1' RequiredAssemblies = '../SecretManagement.Keeper.dll' CompatiblePSEditions = @('Core') diff --git a/sdk/dotNet/SecretManagement.Keeper/SecretManagement.Keeper.csproj b/sdk/dotNet/SecretManagement.Keeper/SecretManagement.Keeper.csproj index c624a49a..6bdf4956 100644 --- a/sdk/dotNet/SecretManagement.Keeper/SecretManagement.Keeper.csproj +++ b/sdk/dotNet/SecretManagement.Keeper/SecretManagement.Keeper.csproj @@ -4,8 +4,8 @@ netstandard2.1 SecretManagement.Keeper true - 16.6.2 - 16.6.2 + 16.6.4 + 16.6.4 diff --git a/sdk/dotNet/SecretManagement.Keeper/SecretManagement.Keeper.psd1 b/sdk/dotNet/SecretManagement.Keeper/SecretManagement.Keeper.psd1 index a68da726..15685c93 100644 --- a/sdk/dotNet/SecretManagement.Keeper/SecretManagement.Keeper.psd1 +++ b/sdk/dotNet/SecretManagement.Keeper/SecretManagement.Keeper.psd1 @@ -1,5 +1,5 @@ @{ - ModuleVersion = '16.6.1' + ModuleVersion = '16.6.4' CompatiblePSEditions = @('Core') GUID = '20ab89cb-f0dd-4e8e-b276-f3a7708c1eb2' Author = 'Sergey Aldoukhov' diff --git a/sdk/dotNet/SecretsManager/SecretsManager.csproj b/sdk/dotNet/SecretsManager/SecretsManager.csproj index 26e7aac4..93d49b19 100644 --- a/sdk/dotNet/SecretsManager/SecretsManager.csproj +++ b/sdk/dotNet/SecretsManager/SecretsManager.csproj @@ -5,9 +5,9 @@ 9 Keeper Security Inc. SecretsManager .Net SDK - 16.6.3 - 16.6.3 - 16.6.3 + 16.6.4 + 16.6.4 + 16.6.4 en-US Keeper.SecretsManager Sergey Aldoukhov diff --git a/sdk/dotNet/SecretsManager/SecretsManagerClient.cs b/sdk/dotNet/SecretsManager/SecretsManagerClient.cs index 44b3facc..44202c7a 100644 --- a/sdk/dotNet/SecretsManager/SecretsManagerClient.cs +++ b/sdk/dotNet/SecretsManager/SecretsManagerClient.cs @@ -1085,7 +1085,7 @@ private static async Task> FetchAndDecryptSecrets(Sec var appData = response.appData == null ? null : JsonUtils.ParseJson(CryptoUtils.Decrypt(CryptoUtils.WebSafe64ToBytes(response.appData), appKey)); - var secrets = new KeeperSecrets(appData, response.expiresOn == 0 ? null : DateTimeOffset.FromUnixTimeSeconds(response.expiresOn), records.ToArray()); + var secrets = new KeeperSecrets(appData, response.expiresOn == 0 ? null : DateTimeOffset.FromUnixTimeMilliseconds(response.expiresOn), records.ToArray()); if (response.warnings is { Length: > 0 }) { secrets.Warnings = response.warnings;