Switch to HMAC-BLAKE2s

This commit is contained in:
Tony Garnock-Jones 2023-02-06 17:35:44 +01:00
parent 4684353018
commit 2be479b1e9
3 changed files with 4 additions and 4 deletions

View File

@ -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">'

View File

@ -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')

View File

@ -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