You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to get the vault information to get my secrets it give me multiple errors
Expected behavior
Should give me information an which secrets is in each vault
Actual behavior
I ♥ PS > Get-SecretInfoGet-SecretInfo : Exception calling "GetInstance" with "0" argument(s): "Padding is invalid and cannot be removed."At line:1 char:1+ Get-SecretInfo+ ~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Get-SecretInfo], MethodInvocationException + FullyQualifiedErrorId : CryptographicException,Microsoft.PowerShell.SecretManagement.GetSecretInfoCommandGet-SecretInfo : Exception calling "GetInstance" with "0" argument(s): "Padding is invalid and cannot be removed."At line:1 char:1+ Get-SecretInfo+ ~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Get-SecretInfo], MethodInvocationException + FullyQualifiedErrorId : CryptographicException,Microsoft.PowerShell.SecretManagement.GetSecretInfoCommandGet-SecretInfo : Exception calling "GetInstance" with "0" argument(s): "Padding is invalid and cannot be removed."At line:1 char:1+ Get-SecretInfo+ ~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Get-SecretInfo], MethodInvocationException + FullyQualifiedErrorId : CryptographicException,Microsoft.PowerShell.SecretManagement.GetSecretInfoCommandGet-SecretInfo : Exception calling "GetInstance" with "0" argument(s): "Padding is invalid and cannot be removed."At line:1 char:1+ Get-SecretInfo+ ~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Get-SecretInfo], MethodInvocationException + FullyQualifiedErrorId : CryptographicException,Microsoft.PowerShell.SecretManagement.GetSecretInfoCommandGet-SecretInfo : Exception calling "GetInstance" with "0" argument(s): "Padding is invalid and cannot be removed."At line:1 char:1+ Get-SecretInfo+ ~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Get-SecretInfo], MethodInvocationException + FullyQualifiedErrorId : CryptographicException,Microsoft.PowerShell.SecretManagement.GetSecretInfoCommandGet-SecretInfo : Exception calling "GetInstance" with "0" argument(s): "Padding is invalid and cannot be removed."At line:1 char:1+ Get-SecretInfo+ ~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Get-SecretInfo], MethodInvocationException + FullyQualifiedErrorId : CryptographicException,Microsoft.PowerShell.SecretManagement.GetSecretInfoCommand
Error details
I ♥ PS > $error[0] | fl * -ForcewriteErrorStream : TruePSMessageDetails :Exception : System.Management.Automation.MethodInvocationException: Exception calling "GetInstance" with "0" argument(s): "Padding is invalid and cannot be removed." ---> System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed. at System.Security.Cryptography.CapiSymmetricAlgorithm.DepadBlock(Byte[] block, Int32 offset, Int32 count) at System.Security.Cryptography.CapiSymmetricAlgorithm.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount) at System.Security.Cryptography.CryptoStream.FlushFinalBlock() at System.Security.Cryptography.CryptoStream.Dispose(Boolean disposing) at System.IO.Stream.Close() at Microsoft.PowerShell.SecretStore.CryptoUtils.DecryptWithKey(SecureString passWord, AesKey key, Byte[] data) at Microsoft.PowerShell.SecretStore.SecureStoreFile.ReadConfigFile(SecureStoreConfig& configData, String& errorMsg) at Microsoft.PowerShell.SecretStore.SecureStore.GetStore(SecureString password) at Microsoft.PowerShell.SecretStore.LocalSecretStore.GetInstance(SecureString password, PSCmdlet cmdlet) at CallSite.Target(Closure , CallSite , Type ) --- End of inner exception stack trace --- at System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception) at System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)TargetObject :CategoryInfo : NotSpecified: (:) [Get-SecretInfo], MethodInvocationExceptionFullyQualifiedErrorId : CryptographicException,Microsoft.PowerShell.SecretManagement.GetSecretInfoCommandErrorDetails :InvocationInfo : System.Management.Automation.InvocationInfoScriptStackTrace : at Get-SecretInfo, C:\Program Files\WindowsPowerShell\Modules\Microsoft.PowerShell.SecretStore\1.0.3\Microsoft.PowerShell.SecretStore.Extension\Microsoft.PowerShell.SecretStore.Extension.psm1: line 71 at <ScriptBlock>, <No file>: line 19PipelineIterationInfo : {0, 1}
Environment data
Name Value
---------
PSVersion 5.1.19041.2364
PSEdition Desktop
PSCompatibleVersions {1.0,2.0,3.0,4.0...}
BuildVersion 10.0.19041.2364
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Version
1.1.2
Visuals
No response
The text was updated successfully, but these errors were encountered:
Prerequisites
Steps to reproduce
When I try to get the vault information to get my secrets it give me multiple errors
Expected behavior
Should give me information an which secrets is in each vault
Actual behavior
Error details
Environment data
Version
1.1.2
Visuals
No response
The text was updated successfully, but these errors were encountered: