PowerShell / SecretStore

MIT License
155 stars 23 forks source link

Bug fixes for 1.0.4 release #85

Closed PaulHigin closed 2 years ago

PaulHigin commented 2 years ago

This PR contains a bug fix for Issue #62, where previously the system environment variable was used to obtain the current user name. However, on Windows platforms, the user name may be with the incorrect character casing. This fix uses the .NET WindowsIdentity API to get the current user name, which will always have the correct casing.