Switch to HMAC-BLAKE2s
This commit is contained in:
parent
4684353018
commit
2be479b1e9
|
@ -19,10 +19,10 @@ Start a Syndicate broker (such as
|
|||
|
||||
Find the line of broker output giving the root capability:
|
||||
|
||||
... rootcap=<ref "syndicate" [] #x"a6480df5306611ddd0d3882b546e1977"> ...
|
||||
... rootcap=<ref "syndicate" [] #x"69ca300c1dbfa08fba692102dd82311a"> ...
|
||||
|
||||
Then, run [chat.py](chat.py) several times in several separate windows:
|
||||
|
||||
python chat.py \
|
||||
--address '<tcp "localhost" 8001>' \
|
||||
--cap '<ref "syndicate" [] #x"a6480df5306611ddd0d3882b546e1977">'
|
||||
--cap '<ref "syndicate" [] #x"69ca300c1dbfa08fba692102dd82311a">'
|
||||
|
|
|
@ -14,7 +14,7 @@ parser.add_argument('--address', metavar='\'<tcp "HOST" PORT>\'',
|
|||
default='<ws "ws://localhost:9001/">')
|
||||
parser.add_argument('--cap', metavar='\'<ref ...>\'',
|
||||
help='capability for the dataspace on the server',
|
||||
default='<ref "syndicate" [] #[pkgN9TBmEd3Q04grVG4Zdw==]>')
|
||||
default='<ref "syndicate" [] #[acowDB2/oI+6aSEC3YIxGg==]>')
|
||||
parser.add_argument('--start',
|
||||
help='make this instance kick off the procedure',
|
||||
action='store_true')
|
||||
|
|
2
chat.py
2
chat.py
|
@ -17,7 +17,7 @@ parser.add_argument('--address', metavar='\'<tcp "HOST" PORT>\'',
|
|||
default='<ws "ws://localhost:9001/">')
|
||||
parser.add_argument('--cap', metavar='\'<ref ...>\'',
|
||||
help='capability for the dataspace on the server',
|
||||
default='<ref "syndicate" [] #[pkgN9TBmEd3Q04grVG4Zdw==]>')
|
||||
default='<ref "syndicate" [] #[acowDB2/oI+6aSEC3YIxGg==]>')
|
||||
args = parser.parse_args()
|
||||
|
||||
Present = simpleChatProtocol.Present
|
||||
|
|
Loading…
Reference in New Issue