Skip to content

Commit

Permalink
Adding encryption
Browse files Browse the repository at this point in the history
  • Loading branch information
aiaragomes committed Sep 1, 2023
1 parent 6080308 commit 302ec63
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
*.sh
*.csv
*.log
*.pem
pages/config.py
__pycache__
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ __pycache__/
record.log
pages/config.py
*.sh
*.pem
test.py
1 change: 1 addition & 0 deletions pages/config_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
server_url = "http://localhost"
server_port = 5000
server_api = "/api"
privkey_path = None

# Credentials
username = "username"
Expand Down
2 changes: 1 addition & 1 deletion pages/similarity.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def send_similarity_analysis_task(n_clicks):
verbose=True
)
client.authenticate(config.username, config.password)
client.setup_encryption(None)
client.setup_encryption(config.privkey_path)

# Vantage6 task that runs TNM patient similarity
input_ = {
Expand Down
2 changes: 1 addition & 1 deletion pages/statistics.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def send_statistics_task(n_clicks):
verbose=True
)
client.authenticate(config.username, config.password)
client.setup_encryption(None)
client.setup_encryption(config.privkey_path)

# Input for task that retrieves the statistics
input_ = {
Expand Down

0 comments on commit 302ec63

Please sign in to comment.