Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Queries against example.com fail with multiple possible errors #35

Open
cbruno10 opened this issue Jan 31, 2025 · 0 comments · May be fixed by #36
Open

Queries against example.com fail with multiple possible errors #35

cbruno10 opened this issue Jan 31, 2025 · 0 comments · May be fixed by #36
Assignees
Labels
bug Something isn't working

Comments

@cbruno10
Copy link

Describe the bug

> select dns_names, not_after, not_before  from crtsh_certificate where query = 'google.com' AND not_after > now()

Error: rpc error: code = Internal desc = crtsh: rpc error: code = Internal desc = hydrate function listCertificate failed with panic setting PGSYSCONFDIR not supported (SQLSTATE HV000)
> select
  dns_names,
  not_after,
  not_before
from
 crtsh.crtsh_certificate
where
  query = 'example.com'
  AND not_after > now()

Error: crtsh: failed to populate column 'public_key': rpc error: code = Internal desc = transform publicKeyToPem failed with panic interface conversion: interface {} is nil, not *rsa.PublicKey (SQLSTATE HV000)

+-----------+-----------+------------+
| dns_names | not_after | not_before |
+-----------+-----------+------------+
+-----------+-----------+------------+

Steampipe version (steampipe -v)
v1.0.0

Plugin version (steampipe plugin list)
v1.0.0

To reproduce
See above

Expected behavior
No errors

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants