Skip to content

Set-SecretStoreConfiguration failed under Linux #98

@stolaf

Description

@stolaf

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest released version
  • Search the existing issues.

Steps to reproduce

Register-SecretVault -Name SecretStore -ModuleName Microsoft.Powershell.SecretStore -DefaultVault -AllowClobber
Set-SecretStoreConfiguration -Scope CurrentUser -Authentication None -PasswordTimeout 0 -Confirm:$false

Module Microsoft.PowerShell.SecretStore Version: 1.0.6
Module Microsoft.PowerShell.SecretManagement Version: 1.1.2

Under Windows works fine!

Expected behavior

Vault Microsoft.PowerShell.SecretStore requires no password.

Actual behavior

Vault Microsoft.PowerShell.SecretStore requires a password.

Error details

If password entered:

Set-SecretStoreConfiguration: Store file integrity check failed.
The provided password may be invalid, or store files have become corrupted or have been tampered with.

Environment data

Name                           Value
----                           -----
PSVersion                      7.2.6
PSEdition                      Core
GitCommitId                    7.2.6
OS                             Linux 5.4.0-124-generic #140-Ubuntu SMP Thu Aug 4 02:23:37 UTC 2022
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Version

1.0

Visuals

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions