Commit 2f566876 authored by putro's avatar putro

small fixes

parent 6596f403
...@@ -26,7 +26,8 @@ There are different config section: ...@@ -26,7 +26,8 @@ There are different config section:
"1" - first (and required) nym data "1" - first (and required) nym data
"2" - second (optional) nym data "2" - second (optional) nym data
you can add other sections for each nym you have you can add other sections for each nym you have
for every nym follow the same syntax of section "1", pwd can be left empy (unless you keep the config file encrypted you should NEVER write password here, and anyway writing password is always a bad idea). for every nym follow the same syntax of section "1", pwd can be left empy
(unless you keep the config file encrypted you should NEVER write password here, and anyway writing password is always a bad idea).
to start simply type ./nymhelper.py and follow the on screen menu: to start simply type ./nymhelper.py and follow the on screen menu:
...@@ -49,7 +50,8 @@ MENU: ...@@ -49,7 +50,8 @@ MENU:
5 to choose remailer chain, 5 to choose remailer chain,
this is optional, you will prompted for remailer chain if needed this is optional, you will prompted for remailer chain if needed
6 to create or update a nym 6 to create or update a nym
create or update (i.e. with a new reply block) a nym (the nym has to be already defined in config.ini and selected with menu choice "1") create or update (i.e. with a new reply block) a nym
nym has to be already defined in config.ini and selected with menu choice "1")
you will be asked for a remailer chain if not yet choosed, this will be the chain of the reply-block for your nym. you will be asked for a remailer chain if not yet choosed, this will be the chain of the reply-block for your nym.
7 to delete a nym 7 to delete a nym
to be implemented to be implemented
...@@ -62,18 +64,18 @@ MENU: ...@@ -62,18 +64,18 @@ MENU:
q to quit q to quit
it's possible to specify a different config file (default config.ini) you can specify a different config file (default config.ini)
nymhelper.py -C configfile nymhelper.py -C configfile
it's possible to send a message from a certain nym directly via command line with this syntax: you can send a message from a nym directly via command line with this syntax:
nymhelper.py -n 2 -s "subject" -r recipient -t "text of the message" -c "remailer1,remailer2" nymhelper.py -n 2 -s "subject" -r recipient -t "text of the message" -c "remailer1,remailer2"
-n is the nym number in config file -n is the nym number in config file
-s subject -s "subject"
-r recipient -r recipient
-t text of the message -t "text of the message"
-c remailer chain to be used to send the message (through your local mixmaster client) -c remailer chain to be used to send the message (through your local mixmaster client)
for nyms rarely used, you can put this on crontab to keep the nym alive (nyms are disabled if not used), for nyms rarely used, you can put this on crontab to keep the nym alive,
or to quickly check if the nym is working well. or to quickly check if the nym is working well.
for help type: for help type:
......
...@@ -966,7 +966,7 @@ def process_args(): ...@@ -966,7 +966,7 @@ def process_args():
""" Process command line arguments """ """ Process command line arguments """
from optparse import OptionParser from optparse import OptionParser
use = "nymhelper.py [options] \nexcept for -C, all other options are \ use = "nymhelper.py [options] \nexcept for -C, all other options are \
just used to send a message from command line\nfor normal use do not use any options" just used to send a message from command line\nfor normal use do not use any options"
parser = OptionParser(usage=use) parser = OptionParser(usage=use)
parser.add_option("-C", "--config", action="store", dest="config", default="config.ini", parser.add_option("-C", "--config", action="store", dest="config", default="config.ini",
help="config file to use nym to send the message from.") help="config file to use nym to send the message from.")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment