- File wiki/try-it.md — part of check-in [eed1c3e195] at 2019-03-04 22:33:10 on branch trunk — Markdown edits (user: bernd size: 2607)
After you got it, you can try net2o (see below) either by starting net2o with
and enter net2o command mode, or by running each command with
in the second case, you'll be asked again and again for your password when needed.
You can execute the following net2o script commands either by entering
help keygen <nick>
This will ask for your password and generate a key. Write down the base85 code it gives for revoking that key; this revocation key is not stored anywhere else. For some tests, you want to create a second key (e.g. to test chat). Give it a different pass phrase; you can create as many IDs as you like; if they have different passphrases, only one of them opens at a time.
Check what keys you have already importet:
This should be your key and the net2o-dhtroot key. Import my key
At the moment, a 32 bit ID should do it... Your own pubkeys have been
exported with the keygen command into a
Or you can announce your identity to the DHT with
and then import the key into other accounts by doing a
as above (but with the first 5 characters of the pubkey you created).
Try encrypt and decrypt a test file for yourself:
<create a file> enc <file> cat <file>.v2o dec <file>.v2o
You can also create detached signatures (
sign <file> verify <file>
You can try a group chat with several ids, start the group "test" with
If you want to talk to someone else, you need to make sure they accept your connection, so you first need to send an invitation
And after acceptance of that id connect from the other ids with
Or do a 1:1 chat with
You can copy small or large files, when the corresponding id has the named file permission. Set the permission with
perm @<id2> +n
and start the server
to supply things on
get @<id1> data/2011-05-20_17-01-12.jpg
to copy one of the test images.
Run some encryption benchmarks from the shell:
gforth-fast net2o/tests/keccak.fs gforth-fast net2o/tests/threefish.fs gforth-fast net2o/tests/ed25519.fs