splunk / splunk/addonfactory-solutions-library-python

TypeError when getting passwords

Open
#311 2 comments 0 reactions 1 assignee View on GitHub

@artemrys is already working on this.

Since Oct 2, 2023.

bug
Dominant language
Python
Stars
18
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Hi,

A VT4Splunk user found an issue when trying to get passwords. The app version is 1.6.1 (1.6.0 is also affected) in Splunk Enterprise 9.0.4. When accessing to Configuration page an ERR0005 is received.

Following the trace error, we noticed the error is in here, where the password.clear_password previously stored is None.

The problem seems to be a known issue but has not been solved yet. Others examples where the issue appears are this one or this one.

Sincerely we could not reproduce the issue but it seems to be easily fixed by adding an if is not None or something similar.

We hope it could be fixed :)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.