Skip to content

Commit

Permalink
Merge pull request #92 from fact-project/default_connect_args_ssl_pre…
Browse files Browse the repository at this point in the history
…ferred

prefer ssl over clear text by default
  • Loading branch information
Dominik Neise authored Jan 24, 2018
2 parents c4febb8 + 0f7af7b commit e4b99de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fact/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.15.0
0.15.1
5 changes: 4 additions & 1 deletion fact/credentials/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,7 @@ def create_factdb_engine(database=None):
if database is not None:
config['database'] = database

return create_engine(spec.format(**config))
return create_engine(
spec.format(**config),
connect_args={'ssl': {'ssl-mode': 'preferred'}},
)

0 comments on commit e4b99de

Please sign in to comment.