win32-certstore 0.6.13 → 0.6.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8cf571ee12470bc199074583c729786b1f2464ccdda3d9ea5e8df55ba6f4c59b
4
- data.tar.gz: 32aab9c95c7dc1f622b5201f25097797a993cf4eb38028425b18205249dc226c
3
+ metadata.gz: db28ffd12affe3acf9263b88c836aeed195465aefca15e1bdaf61d960a776fe5
4
+ data.tar.gz: 28b6bc27ef0e591d1c44664169545a53775c9d3ab6c636792d7989251d7bbef2
5
5
  SHA512:
6
- metadata.gz: 3bfd9466224de7a129b0bb178e1dbf6651f2ca5bd55cc4d1a2fb4523789d6e277443791f79b71428b098ae15adf785b1dcb50fe10bada13614e087801d44b817
7
- data.tar.gz: 41da6d47e21d80fdad28eaa1d5c7cd800a9a2e11d7eb8c92acc9570254ed7d3b0d00c790c13be3b1081aec2d83a26b05b34e8b3ee2c3070424ce287823562c3f
6
+ metadata.gz: 5d6bb300e1450f191b102e7d6add3810d78edb95baf9f02fb371f53958e403f963ac0258371a71b42b8e758307250cebd25aab65611ce26aad84bbe8aa03206d
7
+ data.tar.gz: '093dbcbcbbf617b1e0d8740eb935c37b78dc5694887ef1e2d469b29b40760354dc7d94c0e99a1f69f51d71dc5fbdd2d9b91ed372a154b8ace366a8a473e0b5da'
@@ -24,7 +24,7 @@ module Win32
24
24
  def cert_ps_cmd(thumbprint, store_location: "LocalMachine", store_name: "My")
25
25
  # the PowerShell block below uses a "Here-String" - it is explicitly formatted against the left margin.
26
26
  <<-EOH
27
- $cert = Get-ChildItem Cert:\\#{store_location}\\#{store_name} -Recurse | Where-Object { $_.Thumbprint -eq "#{thumbprint}" }
27
+ $cert = Get-ChildItem Cert:\\#{store_location}\\#{store_name} -Recurse -Force | Where-Object { $_.Thumbprint -eq "#{thumbprint}" }
28
28
 
29
29
  if ([string]::IsNullOrEmpty($cert)){
30
30
  return "Certificate Not Found"
@@ -1,6 +1,6 @@
1
1
  module Win32
2
2
  class Certstore
3
- VERSION = "0.6.13".freeze
3
+ VERSION = "0.6.14".freeze
4
4
  MAJOR, MINOR, TINY = VERSION.split(".")
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: win32-certstore
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.13
4
+ version: 0.6.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chef Software
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-15 00:00:00.000000000 Z
11
+ date: 2022-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler