This repository has been archived by the owner on Nov 30, 2022. It is now read-only.
Configuration does not support Redis Passwords that Contain #
#900
Labels
bug
Something isn't working
Bug Description
When instantiating an instance of Fidesops where your Redis password contains a pound sign,
#
, Fidesops successfully attempts a connection, but then fails out with an error message suggesting that it tried to use everything that preceded the#
as a port, which is could not treat as an integer.For example, if I set the password as
redispass#hello
, the error message statesValueError: Port could not be cast to integer value as 'redispass'
. Interestingly enough, if I give it a password that's different than the one on the Redis instance, it fails out saying that the password is wrong.Steps to Reproduce
redispass#abc
redispass#abc
via the env varFIDESOPS__REDIS__PASSWORD
Expected behavior
The Fidesops instance connects to the database and does not encounter any Redis related errors.
Screenshots
Environment
Additional context
At least for Elasticache (and other engines, I believe), Redis should support any valid password. https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/auth.html#auth-overview
The text was updated successfully, but these errors were encountered: