Skip to content
Merged
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
16 changes: 15 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# CHANGELOG

## 1.0.0 - 2021-3-25

### Fixes

- `Set-SecretStoreConfiguration` will throw an error when setting a password if a password has already been set. In this case `Set-SecretStorePassword` must be used to reset an existing password.

- Fixed license Url in module manifest.

### Changes

- Minor changes to architecture document.

### New Features

## 0.9.2 - 2021-3-15

### Fixes
Expand All @@ -12,7 +26,7 @@

### New Features

- `Set-SecretStoreConfiguration` command now takes a `-Password` parameter so that there is not need to prompt for a password (Issue #46).
- `Set-SecretStoreConfiguration` command now takes a `-Password` parameter so that there is no need to prompt for a password (Issue #46).

## 0.9.1 - 2021-3-1

Expand Down
4 changes: 2 additions & 2 deletions Docs/ARCHITECTURE.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ Configuration and data are stored in separate files.
File location depends on the platform OS.

For Windows platforms the location is:
`$env:USERPROFILE\AppData\Local\Microsoft\PowerShell\secretmanagement\localstore\`
`%LOCALAPPDATA%\Microsoft\PowerShell\secretmanagement\localstore\`

For Non-Windows platforms the location is:
`~/.secretmanagement/localstore/`
`$HOME/.secretmanagement/localstore/`

### Scope

Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.PowerShell.SecretStore.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ NestedModules = @('.\Microsoft.PowerShell.SecretStore.Extension')
RequiredModules = @('Microsoft.PowerShell.SecretManagement')

# Version number of this module.
ModuleVersion = '0.9.2'
ModuleVersion = '1.0.0'

# Supported PSEditions
CompatiblePSEditions = @('Core')
Expand Down
6 changes: 3 additions & 3 deletions src/code/Microsoft.PowerShell.SecretStore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
<OutputType>Library</OutputType>
<RootNamespace>Microsoft.PowerShell.SecretStore</RootNamespace>
<AssemblyName>Microsoft.PowerShell.SecretStore</AssemblyName>
<AssemblyVersion>0.9.2.0</AssemblyVersion>
<FileVersion>0.9.2</FileVersion>
<InformationalVersion>0.9.2</InformationalVersion>
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<FileVersion>1.0.0</FileVersion>
<InformationalVersion>1.0.0</InformationalVersion>
<TargetFramework>net461</TargetFramework>
</PropertyGroup>

Expand Down
3 changes: 2 additions & 1 deletion src/code/SecretStore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ protected override void EndProcessing()
var passwordRequired = LocalSecretStore.PasswordRequired;
if (passwordRequired == SecureStoreFile.PasswordConfiguration.Required &&
Authentication == Authenticate.Password &&
SecureStoreFile.StoreFileExists() &&
password != null)
{
ThrowTerminatingError(
Expand Down Expand Up @@ -313,7 +314,7 @@ protected override void BeginProcessing()
this));
}

WriteWarning("!!This operation will completely remove all SecretStore module secrets and reset configuration settings to default values!!");
WriteWarning("!!This operation completely removes all SecretStore module secrets and resets configuration settings to new values!!");
}

protected override void EndProcessing()
Expand Down