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
N
nymhelper
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
putro
nymhelper
Commits
cdbe2156
Commit
cdbe2156
authored
Jan 03, 2018
by
putro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated stats source in config and updated README
parent
06a47deb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
26 deletions
+14
-26
README
README
+3
-15
config.ini
config.ini
+3
-1
nymhelper.py
nymhelper.py
+8
-10
No files found.
README
View file @
cdbe2156
...
...
@@ -85,22 +85,10 @@ NOTES:
nyms pointing to newsgroups as final destination will have the subject (defined in config.ini)
encrypted in hsub format,
to recognize them you have to use a software like news2mail (http://www.is-not-my.name/news2mail/)
or aam2mail (http
://www.banana.mixmin.net/aam2mail.tar.gz
)
or aam2mail (http
s://github.com/crooks/aam2mail
)
TODO:
possibility to send a message from a nym encrypting it with the recipient gpg key
(with a check that a key for that address exists)
encrypt key
multiple reply block
create dsa keys
choice between remailer post or explicit mail2news.
pseudorandom subject using a dict
be sure to have the right keys in your keyring
TROUBLESHOOTING:
be sure to have the right keys in your keyring
TO BE VERIFIED: ** position...
contacts: putro at autistici dot org
config.ini
View file @
cdbe2156
...
...
@@ -13,11 +13,13 @@ latency = +1:00r
# set parameters for remailer stats
# see stats.mixmin.net for a list of pingers
stats_url
=
http://
remailer.paranoici.org/stats
/
stats_url
=
http://
brabus.remailer.org.uk/echolot
/
stats_rlist
=
rlist2.txt
stats_mlist
=
mlist2.txt
keys_file
=
pgp-all.asc
remailer_min_uptime
=
90
allow_from
=
from.html
# where to save messages to be sent
message_out
=
/tmp/message-out.txt
...
...
nymhelper.py
View file @
cdbe2156
#!/usr/bin/python
#
# vim: tabstop=4 expandtab shiftwidth=4 autoindent
#
# nymhelper.py -- script to help creating nyms
# version 0.1.2b
#
...
...
@@ -408,11 +406,11 @@ def validateChain(remailerlist, chain, list, random=False):
remailer_chain_email
=
[]
comma
=
re
.
compile
(
','
)
if
len
(
chain
)
>
1
:
if
not
comma
.
search
(
chain
):
print
bcolors
.
RED
+
"ERROR - remailer chain selections have to be separated by commas"
+
bcolors
.
ENDC
pressKey
()
return
#
if len(chain) > 1:
#
if not comma.search(chain):
#
print bcolors.RED + "ERROR - remailer chain selections have to be separated by commas" + bcolors.ENDC
#
pressKey()
#
return
a
=
chain
.
split
(
','
)
for
n
in
a
:
if
not
n
.
isdigit
():
...
...
@@ -849,9 +847,9 @@ def writeMessage():
f
=
open
(
options
[
'message-out'
],
'w'
)
f
.
write
(
emsg
)
f
.
close
()
last_message
=
"OK - you can find the message here:
"
last_message
=
"%s "
%
(
options
[
'message-out'
])
last_message
=
"- send it to send@%s though a remailer chain."
%
(
options
[
'nym-server'
])
last_message
=
"OK - you can find the message here:
%s - send it to
\
send@%s though a remailer chain (you can press '3' for this)."
%
\
(
options
[
'message-out'
],
options
[
'nym-server'
])
def
sendMsg
():
...
...
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