Go to file
poka c6055ccc93 Rebase branch in bash way 2020-11-22 03:31:15 +01:00
.env.template Change comment for keyfile in .env 2020-11-17 01:13:48 +01:00
.gitignore Add options meca; fusion message files in one; update natools; add .env 2020-11-04 15:16:03 +01:00
README.md Typo readme 2 2020-11-10 11:42:02 +01:00
deletemsg.sh Rebase branch in bash way 2020-11-22 03:31:15 +01:00
natools.py Eureka ! Read/Send OK ! 2020-11-10 11:08:07 +01:00
readmsg.sh Rebase branch in bash way 2020-11-22 03:31:15 +01:00
sendmsg.sh Rebase branch in bash way 2020-11-22 03:31:15 +01:00
test.txt Add options meca; fusion message files in one; update natools; add .env 2020-11-04 15:16:03 +01:00

README.md

Utilisation de la messagerie Cesium+/Gchange

Réception/Envoi/Suppression de messages

Utilisation

chmod u+x readmsg.sh sendmsg.sh deletemsg.sh

Par défaut utilise l'émetteur, le fichier de trousseau ainsi que le noeud Cesium+ indiqué dans le fichier .env. Si non renseigné ni dans le fichier .env ni en argument de la commande, alors ils seront demandés interactivement.

Lecture des messages

./readmsg.sh

Options:

    -r,--recipient <pubkey>	Uses <pubkey> as recipient of the messages.
    -k,--key <key>		Path <key> to the pubsec keychain file of the issuer.
    -n,--number <number>	Display the <number> lasts messages from Cesium (tail-like format)
    -o,--outbox			Read outbox messages instead of inbox
    -h,--help			Display this help

Envoi de messages

./sendmsg.sh

Options:

    -t				Test mode: Uses the "test.txt" file as well as the same recipient as the sender.
    -f,--file <file>		Read the file <file> with title in first line and content in rest of the file for the message.
    -r,--recipient <pubkey>	Uses <pubkey> as recipient of the message.
    -i,--issuer <pubkey>	Uses <pubkey> as issuer of the message (Could be remove in future version by calculating pubkey from privatekey).
    -k,--key <key>		Path <key> to the pubsec keychain file of the issuer.
    -h,--help			Display this help

Suppression de messages

./deletemsg.sh

Options:

    -id,--id <ID du message>	Delete the message with ID <id>.
    -i,--issuer <pubkey>	Uses <pubkey> as issuer of the message.
    -k,--key <key>		Path <key> to the pubsec keychain file of the issuer.
    -o,--outbox			Delete outbox messages instead of inbox
    -h,--help			Display this help