Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
autonym
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
putro
autonym
Commits
2ba11575
Commit
2ba11575
authored
Oct 12, 2016
by
putro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added testnym options in config.ini and updated README
parent
b37b1c85
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
3 deletions
+13
-3
README
README
+2
-0
autonym.py
autonym.py
+8
-3
config.ini.sample
config.ini.sample
+3
-0
No files found.
README
View file @
2ba11575
...
@@ -48,6 +48,8 @@ menu option available:
...
@@ -48,6 +48,8 @@ menu option available:
so you don't have to type it every time
so you don't have to type it every time
(obviously this is not a good thing, AT LEAST keep config.ini on an encrypted partition).
(obviously this is not a good thing, AT LEAST keep config.ini on an encrypted partition).
there's also a --test command line argument to send a msg from a nym to a recipient (defined in config.ini)
which could be used in a cron to regularly test if a nym is working.
* remember to keep your stats & keys in your local mixmaster updated
* remember to keep your stats & keys in your local mixmaster updated
...
...
autonym.py
View file @
2ba11575
...
@@ -399,9 +399,14 @@ def main():
...
@@ -399,9 +399,14 @@ def main():
try
:
try
:
if
opts
.
test
:
if
opts
.
test
:
setActiveNym
(
"1234@nymphet.paranoici.org"
)
if
config
[
'options'
][
'testnym'
]
==
""
:
parse_stats
()
print
bcolors
.
RED
+
"
\n
Testnym not configured in config.ini, exiting..."
+
bcolors
.
ENDC
writeMessage
(
subject
=
"prova nymphet"
,
recipient
=
"putro@autistici.org"
,
text
=
"asdadsfj"
,
test
=
1
)
sys
.
exit
()
else
:
setActiveNym
(
config
[
'options'
][
'testnym'
])
parse_stats
()
writeMessage
(
subject
=
"prova nymphet"
,
recipient
=
config
[
'options'
][
'testnym_recipient'
],
text
=
"asdadsfj"
,
test
=
1
)
print
bcolors
.
GREEN
+
"
\n
Test message sent from nym %s to %s"
%
(
config
[
'options'
][
'testnym'
],
config
[
'options'
][
'testnym_recipient'
])
else
:
else
:
parse_stats
()
parse_stats
()
menu
()
menu
()
...
...
config.ini.sample
View file @
2ba11575
...
@@ -6,6 +6,9 @@ nymservers = nymphet.paranoici.org, is-not-my.name, nymserv.breaka.net
...
@@ -6,6 +6,9 @@ nymservers = nymphet.paranoici.org, is-not-my.name, nymserv.breaka.net
subj_types = symmetric, hsub, subject
subj_types = symmetric, hsub, subject
testnym = ""
testnym_recipient = ""
[stats]
[stats]
# set parameters fow remailer stats, change with your favourite pinger
# set parameters fow remailer stats, change with your favourite pinger
stats_url = http://remailer.paranoici.org/stats/
stats_url = http://remailer.paranoici.org/stats/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment