Truncated password containing commas
Describe the bug The password string is truncated when it contains commas
To Reproduce Steps to reproduce the behavior:
- Change the password to contain a comma on Cyberark
- Use pyaim to retrieve the password
- Check response['Password'], it is truncated up to the comma
Expected behavior I would like to get the password even if it contains commas
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Red Hat 8
- python 3.9.5
- pyaim 1.2.9
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context Add any other context about the problem here.
I believe this is because by default commas are used to separate values returned by Password SDK. I think they need to implement the handling of /d / -d parameter that lets you specify the delimiter for separating the output fields. See Syntax
I have patched the code in my implementation of pyaim to handle this separator specification but apparently we cannot contribute it back according to the README.md:
For the time being, only internal CyberArk contributions are being considered.