You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@superset.apache.org by GitBox <gi...@apache.org> on 2018/04/23 05:11:03 UTC

[GitHub] atharh commented on issue #4826: Invalid '*' corrupting connection password

atharh commented on issue #4826: Invalid '*' corrupting connection password
URL: https://github.com/apache/incubator-superset/issues/4826#issuecomment-383455977
 
 
   This was a bug in sqlalchemy-utils: https://github.com/kvesteri/sqlalchemy-utils/issues/212
   
   The database password is encrypted with a broken padding scheme which strips `*` characters. See [here](https://github.com/apache/incubator-superset/blob/370d8a2bbe9c57a869bd4fc9726402fddb3cdb54/superset/models/core.py#L561).
   
   The fix is to upgrade sqlalchemy-utils and [use  PKCS5 padding with `EncryptedType`](http://sqlalchemy-utils.readthedocs.io/en/latest/data_types.html#module-sqlalchemy_utils.types.encrypted.encrypted_type). 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services