Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Commit

Permalink
Fixed naming error in the config (the server's certificate and not it…
Browse files Browse the repository at this point in the history
…'s public key is needed)
  • Loading branch information
Geruhn committed Mar 23, 2015
1 parent 5a4b60c commit 5cdcc90
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ pqqt4-dev-tools
python-m2crypto
python-crypto
python-pygame

Init:
run rebuildUI.sh
2 changes: 1 addition & 1 deletion coffeesale.config.sample
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
client:
{
server_url: 'https://127.0.0.1:1443/'
server_pub: 'certificates/server_pub.pem'
server_cert: 'certificates/server_cert.pem'
private_key: 'certificates/private.pem'
hide_cursor: False
use_rfid_dummy: True
Expand Down
2 changes: 1 addition & 1 deletion coffeesale.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def main():
app = QtGui.QApplication(sys.argv)

# Protocol
protocol = ClientProtocol(cfg.client.server_url, cfg.client.server_pub, cfg.client.private_key)
protocol = ClientProtocol(cfg.client.server_url, cfg.client.server_cert, cfg.client.private_key)

# CoffeeClient
client = CoffeeClient()
Expand Down

0 comments on commit 5cdcc90

Please sign in to comment.