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

Commit

Permalink
example PSK in mysql database
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmens committed Nov 20, 2018
1 parent f7d83fd commit acae8f6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -811,6 +811,12 @@ Received PUBLISH from mosqpub/90759-tiggr.ww. (d0, q0, r0, m0, 'x', ... (2 bytes
Received DISCONNECT from mosqpub/90759-tiggr.ww.
```

In the case of this MySQL example, we added the clear text of the PSK key to the database:

```
mysql> INSERT INTO user (username, pwhash, superuser) VALUES ('mylistener', 'F0BEEF', 0);
```

## Requirements

* [hiredis], the Minimalistic C client for Redis
Expand Down

0 comments on commit acae8f6

Please sign in to comment.