Comments (7)
Looks like rebooting might have resolved this
from secretstore.
I am not clear on the repro steps. Did you install the modules and vaults under two accounts, one admin and one not? I have tested this without any problems. The type initializer exception suggests you have two different versions of SecretStore or SecretManagement. During preview, each version is incompatible with the other. So be sure and uninstall the old versions before you install the new.
from secretstore.
Hey @PaulHigin. Installation of the modules were under a single users account, but from an elevated PS window, then re-run under the normal user context. No previous modules were install, only the last releases of SecretStore or SecretManagement. TBH, I managed to get something similar to happen on two other machines as well.
from secretstore.
@swinster One other thing that may result in type initializer error is if you installed onto a Windows machine without netstandard2.0. PowerShell 7+ will include the needed binaries, but if you are running WindowsPowerShell, the netstandard binaries will not be there by default. Installing PowerShell 7+ will include them or you can get it from netstandard.library package from nuget.org.
from secretstore.
Was using the latest version of PS7....
from secretstore.
I am changing how the module binaries are built, targeting net461 framework rather than netstandard2.0. This should improve compatibility with PS7 and PS5.1. This may solve your issue since the exception above is thrown during store file creation, and may be related to the access control API compatibility issue my change addresses.
from secretstore.
Implemented in preview4 changes.
from secretstore.
Related Issues (20)
- Rfc2898DeriveBytes obsolete constructor
- Utilize the Windows Credential Manager as the secret store HOT 11
- Add better error message for failure when running under Windows built-in accounts HOT 1
- SecretStore requires Full Language mode HOT 5
- need documentation on backup/restore operation of the vaults HOT 2
- Passswordless SecretManagement
- How to use SecretStore for automatic pwd PSSession to linux? HOT 2
- Registering an additional store just creates another reference to the first store HOT 5
- There is no possibility to choose a custom file path HOT 6
- Set-SecretStoreConfiguration -Authentication None often fails HOT 7
- Request - Lock-SecretStore cmdlet HOT 1
- Windows 11 Upgrade: Store File Corruption HOT 2
- Unable to register SecretStore without supplying a password HOT 4
- Set-SecretStoreConfiguration doesn't properly support Confirm:$false HOT 4
- Unlock-SecretStore not working when using Remote-SSH connection in VsCode HOT 4
- Cannot use Set-SecretStorePassword with parameter arguments to set a new password, without an existing password HOT 1
- Updating module in pwsh 7.2
- Reset-SecretStore doesn't respect-Confirm:$false
- Set-SecretStoreConfiguration failed under Linux HOT 1
- Unlock-SecretStore randomly fails after running Reset-SecretStore
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from secretstore.