JustinGrote / JustinGrote/SecretManagement.KeePass

Get-Secret fails to retrieve some secrets listed by Get-SecretInfo

Open
#63 9 comments 0 reactions 1 assignee Claimed by @JustinGrote View on GitHub
bug
Dominant language
PowerShell
Stars
123
Forks
23
PR merge metrics
No merged PRs in 30d

Description

This should speak for itself:

````
PS❯ get-secretinfo | ? { $_.name -eq 'LeCab' } | select name,type

Name Type
---- ----
LeCab PSCredential

PS❯ get-secret -name LeCab
Get-Secret: The secret LeCab was not found.
````

In the affected vault, `Get-SecretInfo` lists 85 secrets, this failure occurs for 8 of them:

````
PS❯ get-secretinfo | ? { $null -eq (get-secret -name $_.Name -ea 0) } | select name, type

Name Type
---- ----
Enquête "Reconnaissance au travail" PSCredential
FileLocator Pro [LITE] PSCredential
International SOS PSCredential
LeCab PSCredential
OgoneVisaNo3DS PSCredential
Pick Go Pay APN key PSCredential
Samsung Galaxy A40 PSCredential
Windows 7 Ultimate PSCredential
````

I'm running PowerShell 7.1.4 on Windows 10.0.19043.1165.amd64fre.vb_release.191206-1406 with Microsoft.PowerShell.SecretManagement version 1.1.0 and SecretManagement.KeePass version 0.9.1.3

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.