cdhunt / SecretManagement.1Password

This is a SecretManagement extension for 1Password.
MIT License
23 stars 14 forks source link

Fix key case error in Get-SecretInfo #27

Closed theaquamarine closed 2 years ago

theaquamarine commented 2 years ago

Get-SecretInfo can error with Get-SecretInfo: Cannot convert the JSON string because it contains keys with different casing. Please use the -AsHashTable switch instead. The key that was attempted to be added to the existing key 'B5UserUUID' was 'b5UserUUID'.

ConvertFrom-Json -AsHashtable isn't available in 5.1, so fix the case.

theaquamarine commented 2 years ago

combined into https://github.com/cdhunt/SecretManagement.1Password/pull/24